Author Topic: zRoadmap can\'t find maps  (Read 6733 times)

RichS

  • Full Member
  • ***
  • Posts: 146
    • View Profile
    • http://
zRoadmap can\'t find maps
« Reply #15 on: March 14, 2004, 11:21:34 am »
There\'s an error I can\'t help with...

My first suggestion would be to simplify. Don\'t run the gpsd. Run zroadmap by itself and find a location & map. Then add the gps. Maybe zroadmap by itself will either work or generate an error we\'d understand?
SL-5600 Sharp v.1.32 ROM
CE-AG06 camera
Linksys WCF-12 wireless CF
D-Link DCF-660W wireless CF (dead!)
Sandisk 64meg SD, 256meg CF
Kingston 512meg CF
Viking 128meg SD, 1 gig CF

Ethereal

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
zRoadmap can\'t find maps
« Reply #16 on: March 14, 2004, 02:58:31 pm »
OK, without gpsd running, and after adding a symlink to placate zRoadmap\'s expectation of findng fonts in /usr/local/qt-embedded/lib/fonts (only a problem when launching from the command line...?), all roadmap has to say is:

 == roadmap_gps.c, line 232: cannot access GPS source gpsd://localhost

which is only to be expected, but still no maps, no ability to find any of several street addresses, and no files are listed under \"Map Disk Space\" or \"Delete Maps.\"

Slightly more info:

$ ./roadmap --debug
 -- roadmap_dbread.c, line 380: Opening database file usdir.rdm
 == roadmap_gps.c, line 232: cannot access GPS source gpsd://localhost

So it claims it\'s opening the appropriate top-level database file (with no subsequent error message to suggest that opening failed), but it doesn\'t seem to actually be deriving any information from it.
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

RichS

  • Full Member
  • ***
  • Posts: 146
    • View Profile
    • http://
zRoadmap can\'t find maps
« Reply #17 on: March 14, 2004, 07:28:54 pm »
I don\'t remember any font problem?

When I run roadmap fro the command line I get:

roadmap
== roadmap_gps.c, line 232: cannot access GPS source gpsd://localhost

and it runs, displays a map and generates no other messages.

My roadmap maps & preferences reside in: /mnt/card/QtPalmtop/share/roadmap/

The rest of the files reside in: /home/zaurus/.roadmap/

Take a look at the postmortem file in this directory. It may offer better messages related to your problem. And just for the heck of it, have you tried running it as root?

If postmortem doesn\'t show anything, then I would be pretty much out of ideas beyond the generic of low memory, crad problem, permission problem, etc...
SL-5600 Sharp v.1.32 ROM
CE-AG06 camera
Linksys WCF-12 wireless CF
D-Link DCF-660W wireless CF (dead!)
Sandisk 64meg SD, 256meg CF
Kingston 512meg CF
Viking 128meg SD, 1 gig CF

Ethereal

  • Full Member
  • ***
  • Posts: 236
    • View Profile
    • http://
zRoadmap can\'t find maps
« Reply #18 on: March 14, 2004, 08:36:31 pm »
Actually, I tried running it again with gpsd running and fixed, and in --debug mode, it gave the wierd ASSERT error I mentioned before, but went on to say it was opening usdir.rdm and then two of the numbered maps, which I presume corresponded to the location from gpsd.  Still no display, however.

~/.roadmap/postmortem contains only messages about losing satellite fix.

Just in case: what is a reasonable default zoom level?  20 is the initial value, and I\'ve stayed around there, but I guess that could be a wildly unreasonable number that results in a map too big or small to meaninfully display...
SL-6000L, Sharp ROM 1.12;
Socket Rev 2.5 CF Bluetooth::SE T608;
Sandisk 512MB SD, formatted ext2;
Pocketop IR Keyboard

RichS

  • Full Member
  • ***
  • Posts: 146
    • View Profile
    • http://
zRoadmap can\'t find maps
« Reply #19 on: March 14, 2004, 10:48:14 pm »
do oyu get the roadmap screen & menus?

My default zoom is also 20. Always meant to change that because it\'s not a good number.

I checked my session file. The General Zoom is set to 150, and that has a view of about 1/4 mile or so.

I just entered in a new default zoom of 200 and it was a nice value. About a half mile. I also managed to crash the program by trying the default zoom of 20, zoom in, zoom in, zoom in...lock-up... Nice program but not without bugs ;-)
SL-5600 Sharp v.1.32 ROM
CE-AG06 camera
Linksys WCF-12 wireless CF
D-Link DCF-660W wireless CF (dead!)
Sandisk 64meg SD, 256meg CF
Kingston 512meg CF
Viking 128meg SD, 1 gig CF