Author Topic: cannot delete track  (Read 313 times)

Offline tannenzäpfle

  • More than Newbie
  • *
  • Posts: 42
    • View Profile
  • Device: Moto g8
cannot delete track
« 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
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12510
  • Thanked: 788 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 5, A12
Re: cannot delete track
« Reply #1 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...
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline tannenzäpfle

  • More than Newbie
  • *
  • Posts: 42
    • View Profile
  • Device: Moto g8
Re: cannot delete track
« Reply #2 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

 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12510
  • Thanked: 788 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 5, A12
Re: cannot delete track
« Reply #3 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.
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline tannenzäpfle

  • More than Newbie
  • *
  • Posts: 42
    • View Profile
  • Device: Moto g8
Re: cannot delete track
« Reply #4 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