Locus Map - forum

Support => Troubles & Questions => Topic started by: tannenzäpfle on August 11, 2021, 14:15:59

Title: cannot delete track
Post by: tannenzäpfle on August 11, 2021, 14:15:59
I cannot delete tracks, not one by one, not the whole track-directory.
This happens on several devices with LM4, one with Locus date file in internal memory, other date file on external memory.
In both cases, the Locus directory has as per Total Commander "RWX" rights.

I tried to make a backup and restore, delete temporary data.
any Idea
Thank you
Hartmut
Title: Re: cannot delete track
Post by: Menion on August 11, 2021, 22:54:22
Hello Hartmut,
what exactly mean "cannot delete"? Do you see any error messages, app crashes? More info needed...
Title: Re: cannot delete track
Post by: tannenzäpfle on August 12, 2021, 07:33:11
Hello Menion,
1) When I delete the directory I receive the message "deleting" and this stands there for some hours and disappears, but the directory is still there
2) I marked all tracks and the button to delete, after a long time only some tracks were deleted i.e. Number of tracks in the directory is reduced from 145 to 140.

Maybe that there is a problem with the database.
I have now succeeded with the following work around after backup
1) Exporting each directory in one file
2) deleting the tracks databases in explorer
3) Restarting Locus and importing the exported gpx except those which should be deleted.
Hartmut

Title: Re: cannot delete track
Post by: Menion on August 13, 2021, 08:42:10
Hello,
this is really weird. Usually, when there is a problem with the database, it does not work at all. But in your case, it looks like it is partially working. Anyway, the best should be to use SQLite tools and try to fix the database itself. You may try it by your self or if you don't mind, just share your database with me and I'll check it.

If you already completed re-import, then there is probably nothing to do.
Title: Re: cannot delete track
Post by: tannenzäpfle on August 13, 2021, 20:03:24
Thank you for your offer,
I tried several times some things with sqlite tools without success.
It's ridicules because I started in the early 80s with dbase.
Now  it is fixed by reimporting.
Hartmut