maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Maemo Mapper: Generic Error (https://talk.maemo.org/showthread.php?t=25544)

hordeman 2008-12-12 06:38

Maemo Mapper: Generic Error
 
Recently, I have not been able to download routes from Maemo Mapper. I simply get a "generic error" response. I've tried uninstalling MM, deleting the ./Maps/ directory and content, and reinstalling.

Does anyone have any ideas? This has been going on for over a week now. :confused::confused::confused:

lardman 2008-12-12 09:19

Re: Maemo Mapper: Generic Error
 
Add a bug to the Maemo-mapper bug tracker, or grab the source and debug the error.

hordeman 2008-12-12 17:37

Re: Maemo Mapper: Generic Error
 
I don't know how to debug the error from source, but I have a feeling it is something else. This version of Maemo Mapper was working, and now it's not... just puzzles me that after a clean reinstall, it didn't work again. Looks like other peeps had the issue in the past with no luck resolving it.

deeteroderdas 2008-12-12 17:41

Re: Maemo Mapper: Generic Error
 
Quote:

Originally Posted by hordeman (Post 249052)
I don't know how to debug the error from source, but I have a feeling it is something else. This version of Maemo Mapper was working, and now it's not... just puzzles me that after a clean reinstall, it didn't work again. Looks like other peeps had the issue in the past with no luck resolving it.

Are you saving to an MMC card? Could the card be corrupt (and therefore readonly)?

That's all I could think of, and that's happened to me, before.

lardman 2008-12-12 18:13

Re: Maemo Mapper: Generic Error
 
Check whether the card is readonly by issuing the "mount" command in the terminal, the card (/media/mmc1/ should show rw as its mount option, rather than ro).

It may also be something to do with the server which provides the routing data.

Again, best to add a bug on the Garage project bug tracker.

MrCarney 2008-12-13 05:12

Re: Maemo Mapper: Generic Error
 
I, too, am seeing the "Generic Error" when attempting to download a route. However, it only happens for me when I am connected to the internet through my cell phone. If I am on my WLAN connection, downloading routes works just fine.

According to the "Help" menu I am using version 2.5.1, but according to the Application manager I am using version 2.5.2-os2008.

I have checked the results of the mount command and the mmc cards are mounted and in 'rw' mode. I also do not suspect memory corruption because I have other data which I can access with no problems, some of which is the maps that I can view with maemo-mapper.

hordeman 2008-12-15 22:48

Re: Maemo Mapper: Generic Error
 
Ah, good catch MrCarney. Will have to try this outside while connected to my WLAN. Though, not sure why it worked via cell before and not now. I suppose I can try changing the directory in case it is a corrupt card, but somehow, I don't think that's the issue. (The card it's writing to is my 8gb partitioned card so I can boot off of it.)

MrCarney 2008-12-19 14:32

Re: Maemo Mapper: Generic Error
 
hordeman,
Sorry it took so long to get back to you. There were a couple of things that hit me last night at 12:30:
1. Yank the mem card and give it a go. The mem card only holds maps for me, and you don't need maps to download a route. -- I still got the error.
2. Then I re-read your post about how nothing changed, you just started getting the error. That sounded like memory corruption to me, but if you changed nothing else, then it must be maemo-mapper corrupting itself. This lead me to the following:
cd /home/user/.maemo-mapper/
mv paths.db paths.db.bak

And everything worked!
Give that a go, let me know what behavior you see.

dantonic 2008-12-21 21:49

Re: Maemo Mapper: Generic Error
 
McCarney I ran those lines in the terminal and it fixed this problem.

I was experiencing the same thing.

I know 0 unix, could you explain what mv paths.db paths.db.bak did exactly? and therefore, what was the cause of that issue?

And Thank you very much!

MrCarney 2008-12-26 05:05

Re: Maemo Mapper: Generic Error
 
dantonic,

The 'mv' command just moves/renames the file. This gave maemo-mapper a "fresh start" with it's persistent storage. In other words, I think that the "paths.db" file was corrupted in some way, and this command just force maemo-mapper to recreate it. I am not aware of all of the side effects that this command will have on maemo-mapper, but it doesn't seem to be too harmful. After looking at the "paths.db" file, it appears to be an SQL database file that holds the track and route waypoints and paths.


I noticed that the problem has returned for me. I'm not quite sure why.

I did just fix this issue (shame on me for not noticing it earlier)!


After fixing that, it appears to be working again.

It seems bizarre to me: everything works when I'm connected to my cell phone inside my house. But when I'm on the road, I get the generic error. I'll have to do some more traveling to see if the problem persists when I'm away from home.

hordeman 2008-12-26 16:54

Re: Maemo Mapper: Generic Error
 
Hey MrCarney,

Thanks for the help! Well, at this point, I finally gave up on Maemo Mapper and just bought a dedicated GPS unit. Cool app when it works, but just had enough for now. Here's to its continual evolution; I plan to revisit some time down the line.

Happy Post-X-Mas!

dantonic 2009-05-07 18:14

Re: Maemo Mapper: Generic Error
 
Well, this problem has re-appeared for me.
Deleting rhe paths.db file used to fix it, but now it just keeps happening.

Just like before, downloading routes while connected through the cell phone gives the generic error, but downloading over wifi does not.

What is causing this? It's gotta be mapper doing aomething weird.

MrCarney 2009-05-08 14:37

Re: Maemo Mapper: Generic Error
 
dantonic,

Sorry for not replying to this thread sooner. I, too, have seen the problem rise back up.

It is very frustrating, and I really appreciate the Maemo Mapper application. It makes the n810 much more useful to me.

I wish there was a way for me to debug it, but I can't seem to figure it out.

I'll let you know if I make any progress.

dantonic 2009-05-08 19:16

Re: Maemo Mapper: Generic Error
 
Well,

I didn an
apt-get remove --purge maemo-mapper

and the reinstalled it, and now it seems to work. Somehow however I think it will happen again.
I wish we could figure out what the cause is, and maybe the developer could fix it permanently :)

dantonic 2009-05-08 20:21

Re: Maemo Mapper: Generic Error
 
Well, there it is again. re-install won't fix it now. why does this happen?? :(

MrCarney 2009-05-09 14:31

Re: Maemo Mapper: Generic Error
 
I have also tried reinstalling it, and it worked once, but it no longer works.
I think either the uninstaller is not cleaning everything properly, or perhaps something changed with an update to Maemo that the Mapper program does not like.

dantonic 2009-05-11 01:33

Re: Maemo Mapper: Generic Error
 
Well now it works all of a sudden. I did nothing to fix it. Not sure what causes this error. :(

GeraldKo 2009-05-11 01:38

Re: Maemo Mapper: Generic Error
 
I don't know that error, and I only use wifi. But I encountered some other errors (I don't recall what) in 2.6.2, so I reverted to 2.5.3, and everything has been fine. (And I don't care about APRS, was happy without sqlite, etc., so I see no loss in stopping where I was ahead.)

dantonic 2009-05-11 02:10

Re: Maemo Mapper: Generic Error
 
well if I'm limited to wifi then maemo-mapper becomes very inferior to a regular gps unit. It's crucial for me to be able to download routes on the go while in the car, and be able to use the "auto update" feature which automatically recalculates and re-downloads the route if you take a wrong turn.

I hope this gets fixed eventually. I put a request in the tracker over a month ago, but doesn't look like anyone has looked into it yet.

Are there any other gps applications out there that anyone has tried with success?

GeraldKo 2009-05-11 02:46

Re: Maemo Mapper: Generic Error
 
Quote:

Originally Posted by dantonic (Post 286327)
well if I'm limited to wifi then maemo-mapper becomes very inferior to a regular gps unit. It's crucial for me to be able to download routes on the go while in the car, and be able to use the "auto update" feature which automatically recalculates and re-downloads the route if you take a wrong turn.

I hope this gets fixed eventually. I put a request in the tracker over a month ago, but doesn't look like anyone has looked into it yet.

Are there any other gps applications out there that anyone has tried with success?

Is auto-update a 2.6 innovation?

dantonic 2009-05-11 05:09

Re: Maemo Mapper: Generic Error
 
if you don't have it in 2.5, then it must be. Quite handy when it works!


All times are GMT. The time now is 23:09.

vBulletin® Version 3.8.8