Active Topics

 



Notices


Reply
Thread Tools
Flandry's Avatar
Posts: 1,559 | Thanked: 1,786 times | Joined on Oct 2009 @ Boston
#431
Originally Posted by 白い熊 View Post
Have you tried the binary that you built since? I can't get the ones I compile to display anything...

I've compiled QT 4.7 for Maemo for the Nokia N900 and then the latest navit Subversion checkout.

I compiled it with:
Code:
./configure --enable-static --disable-binding-python --disable-gui-sdl --enable-avoid-float --enable-avoid-unaligned --enable-svg2png-scaling="32,48,64" --enable-svg2png-scaling-flag="32,48,64" --enable-svg2png-scaling-nav="8,16,32,48,64" --disable-samplemap --disable-graphics-sdl --enable-vehicle-maemo --enable-gui-qml --enable-plugin-pedestrian --disable-graphics-null
Now when I run navit, it runs with the following feedback on the console:

Code:
$ navit
graphics_qt_qpainter:graphics_priv* graphics_qt_qpainter_new(navit*, graphics_methods*, attr**, callback_list*):enter
graphics_qt_qpainter:graphics_priv* graphics_qt_qpainter_new(navit*, graphics_methods*, attr**, callback_list*):return
navit:plugin_load:can't load '/usr/lib/navit/osd/libosd_core.so', already loaded
and that's it, no graphical output, nothing. Originally thought the graphics null display was active, that's why I explicitly disabled it.

Doesn't crash or segfault, stays put there running, but no graphical output...

What could be wrong? Any ideas?
I don't remember anymore if the binary i compiled worked. I think it didn't produce any display and i assumed it was a configuration problem and then got busy with other things. If the navit.xml and files included by it aren't to its liking, then that's often the result.

Originally Posted by adhiemsumitro View Post
any news about osd files for better view ? i tried using osd files from somewhere in this thread (which is compatible with magellan's version) but failed when being used on flandry's version
In the build that my script installs, the different aspects of configuration have been broken out into separate files for ease of modifying specific aspects. The OSD description is in OSD.xml.

I have tried modifying the layout but the default is actually pretty good given the landscape orientation and also the GUI is limited. Basically i'm waiting for a working version of the QML GUI to see how that improves things.

Originally Posted by lasman View Post
Hello Flandry,

I wonder if you would consider revising your uninstall script as it does not remove all that the install script instals. There are still deb files left in /home/user. Also espeak was left on the system after uninstall via script. This is just what I have noticed. Thanks.
Right, it only uninstalls the packages and doesn't delete them. You can delete them using
Code:
rm navit*.deb
It also doesn't remove anything that might have been installed by another application, like espeak.

Code:
sudo gainroot
apt-get remove espeak
Should accomplish that.

Originally Posted by athee View Post
Hi Flandry,

I couldn't run using your script. It seems I'm the only one who is having this problem.. Per your script,

mv MyDocs/navit-install.txt .
sudo gainroot
chmod a+x navit-install.txt
./navit-install.txt
exit

I downloaded navi-install using n900 and tried saving to either Nokia N900, or Documents or MyDocs, then I run from X Terminal either:

mv /navit-install.txt . OR
mv documents/navit-install.txt . OR
mv MyDocs/navit-install.txt .

Then I would get this error:
mv: cannot rename '/navit-install.txt': No such File or Directory OR
mv: cannot rename 'documents/navit-install.txt': No such File or Directory OR
mv: cannot rename 'MyDocs/navit-install.txt': No such File or Directory

Could you tell me what I did wrong?

Thanks,
The first two don't exist. The first one looks for a file in the root of the filesystem called navit-install.txt. The second looks for the file in a non-existent directory called documents (the Documents folder is at MyDocs/.documents (note the period in the name). The last should have worked if you were in the user home directory (the default when you first open an xterm) and saved the script in Nokia N900 (which is the directory called /home/user/MyDocs).

Perhaps you used a hyphen instead of an underscore, or vice versa?
__________________

Unofficial PR1.3/Meego 1.1 FAQ

***
Classic example of arbitrary Nokia decision making. Couldn't just fallback to the no brainer of tagging with lat/lon if network isn't accessible, could you Nokia?
MAME: an arcade in your pocket
Accelemymote: make your accelerometer more joy-ful
 
Posts: 1 | Thanked: 5 times | Joined on Sep 2010
#432
Hi there.

I set up navit successfully and tested it a while.

As I need spoken directions, I fiddled around with eSpeak and it turned out that the directions weren't spoken when the mediaplayer was playing. This was caused by the /etc/pulse/xpolicy.conf file, to which I added the following stanza:
Code:
[stream]
property = application.name@equals:"eSpeak"
group = alwayson
That makes the eSpeak-voice hearable even when receiving phone calls. Alternatively, you could use "group = media" to be on the same priority as the media player (i.e. be muted when in calls)
This bugreport helped me greatly.

Also, I'm using the Mbrola voice mb-de5. The ARM-binary from http://tcts.fpms.ac.be/synthesis/ works flawlessly, and the needed files for eSpeak are already shipped. I just downloaded the voice file from the aforementioned website and voila - nice voice talking to me.

Hope that anybody finds these information useful.

Apart from that, the navigation is quite good, considering it's all free. The spoken directions are a bit more complicated to understand than those of "real" navigation systems, but I suppose they use pre-recorded real voices, which gives them some advantage. (of course, this could be done with navit as well. Who's recording? ) The missing compass in the N900 makes it difficult for navit to know which direction I'm looking, so it gets a bit confused when standing still (e.g. at traffic lights), but the screen usually correctly shows what to do.

Tomorrow, I'll be using it for real navigation, hope it works out well.
 

The Following 5 Users Say Thank You to dead_orc For This Useful Post:
Posts: 1 | Thanked: 0 times | Joined on Sep 2010
#433
HELP: I'm trying to install navit (SVN 3582)but my N900 tells me an application package libgpsbt is missing. Can somebody tell me where and how to get it?

I have tried <apt-get install libgpsbt > in X terminal but my N900 tells me "E: could not open lock file /var/lib/dpkg/lock - open (13 permission denied)" and "E: Unable to loch the administration directory (/var/lib/dpk/), are you root?"

Please tell me what to do now...
 
Posts: 198 | Thanked: 76 times | Joined on Mar 2010
#434
Originally Posted by onrust View Post
"... are you root?"
well, _are_ you?
 
Posts: 198 | Thanked: 76 times | Joined on Mar 2010
#435
Originally Posted by dead_orc View Post
/etc/pulse/xpolicy.conf ...
Code:
[stream]
property = application.name@equals:"eSpeak"
group = alwayson
very interesting. i never use the speech feature of navit (disabling in navit conf is usually the first thing), but who knows when that pulse configuration bit will come in handy?
 
Posts: 1 | Thanked: 0 times | Joined on Oct 2010
#436
i just changed the script for the last chollya 3541 and works fine
working with garmin maps and openstreet
 
Posts: 1,994 | Thanked: 3,342 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#437
I would like to have vector maps... It makes routing so much easier... And it allows you to zoom in without distorting the picture... In an ideal world, maps would be presented as vector data, and only satellite images would be in png format...
But, I don't need garmin maps, I don't like too many dependencies, and I would prefer to have the smallest number of layers of software between the user and the hardware. The dependencies are a nightmare for me...
An example:
program->python-cairo->libcairo2->libfreetype6->zlib1g->libc6
program->python2.5->python2.5-minimal->pymaemo-optify->upstart
The programs used by people are just a tip of the iceberg: the number of the system packages installed automatically is much larger than the number of programs he uses...

It is certainly off-topic. But the point is: I cannot install navit because of its numerous dependencies (why do you need wget, for instance? if it is used only during installation, then find another, normal method of installation), and it seems that navit is the vector map program which makes the best progress and is the most flexible (I like XML).

But, why do all the vector map programs convert XML to something else like .bin or .pak? Cannot Geography Markup Language be viewed directly in some kind of rendering engine, similarly to HTML and SVG, instead of being converted to some special format?

Last edited by Wikiwide; 2010-10-04 at 21:49. Reason: misprint
 
Posts: 9 | Thanked: 1 time | Joined on Aug 2010
#438
Need help getting the maps to work! I have installed Navit via the application manager on the phone. I have downloaded the map (.bin file) and renamed it. However, I don't know where to put it. I can't find the navit_maps folder. Where is it?
 
Posts: 1,994 | Thanked: 3,342 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#439
Quick reply of a human who hasn't got to install navit:
Most likely, you need to save this bin file as:
/home/user/MyDocs/navit_maps/mymap.bin
When in Mass Storage Mode, the way is:
I:/navit_maps/mymap.bin
or
E:/navit_maps/mymap.bin
or
Q:/navit_maps/mymap.bin
or whatever letter was given to the device.
 
Posts: 3 | Thanked: 0 times | Joined on Oct 2010 @ Egypt
#440
Gday everyone,
This is my first post here and I want to say thanks to everyone of you for tying to help others with your efforts and times, keep up good work

I installed navit from repo using app manager, then I copied xml files to .navit directory and got my custom map from open street map [.bin file] and I saved it under a directory that I refer to in my maps.xml file.

I launch navit from command line and I get this error
************************************************** *********************************

unable to open textfile /home/user/.navit/bookmark.txt
plugin_osso : osso_navit:error initiating osso context
navit : plugin_load:can't load '/opt/navit/lib/navit/osd/libosd_core.so', already loaded
navit:xinclude:Unable to include /opt/navit/share/navit/maps/*.xml
navit:file_data_read_compressed:uncompress failed
*** glibc detected *** navit: free(): invalid pointer: 0x00078140 ***
======= Backtrace: =========
/lib/libc.so.6[0x4109023c]
/lib/libc.so.6[0x41091558]
/lib/libc.so.6(cfree+0xb8)[0x410917e8]
/usr/lib/libglib-2.0.so.0(g_free+0x44)[0x411e7afc]
navit(file_data_read_compressed+0x15c)[0x1e898]
/opt/navit/lib/navit/map/libmap_binfile.so[0x4041def4]
/opt/navit/lib/navit/map/libmap_binfile.so[0x4041e380]
/opt/navit/lib/navit/map/libmap_binfile.so[0x40421270]
/opt/navit/lib/navit/map/libmap_binfile.so[0x40420700]
/opt/navit/lib/navit/map/libmap_binfile.so[0x404217d8]
navit(map_new+0x64)[0x26cd4]
navit(tan+0x60c8)[0x18760]
/usr/lib/libglib-2.0.so.0(g_markup_parse_context_parse+0x1390)[0x411e6f94]
navit(tan+0x4bd8)[0x17270]
navit(tan+0x5a94)[0x1812c]
/usr/lib/libglib-2.0.so.0(g_markup_parse_context_parse+0x1390)[0x411e6f94]
navit(tan+0x4bd8)[0x17270]
navit(config_load+0xa4)[0x17404]
navit(main_real+0x23c)[0x12ad8]
navit(main+0xc)[0x12864]
/lib/libc.so.6(__libc_start_main+0x108)[0x4103c974]
navit(g_ascii_strcasecmp+0x44)[0x127d8]
======= Memory map: ========
00008000-00052000 r-xp 00000000 b3:02 34830 /opt/navit/bin/navit
00059000-0005e000 rw-p 00049000 b3:02 34830 /opt/navit/bin/navit
0005e000-000bd000 rw-p 0005e000 00:00 0 [heap]
40000000-40001000 rw-p 40000000 00:00 0
40001000-40002000 r--p 01451000 fe:01 6194 /usr/lib/locale/locale-archive
40002000-40005000 r--s 00000000 fe:01 7487 /usr/lib/gconv/gconv-modules.cache
40005000-40006000 rw-p 40005000 00:00 0
40006000-4000b000 r--p 00000000 b3:02 34810 /opt/navit/share/locale/en_GB/LC_MESSAGES/navit.mo
4000b000-4000c000 r--s 00000000 b3:02 115443 /home/user/.fontconfig/65615e97947156be5d60d3d2459d17f8-mipsel.cache-2
4000c000-4000f000 rw-p 4000c000 00:00 0
4000f000-4020f000 r--p 00000000 fe:01 6194 /usr/lib/locale/locale-archive
4020f000-4023f000 rw-p 4020f000 00:00 0
4023f000-40240000 r-xp 00000000 b3:02 34844 /opt/navit/lib/navit/autoload/libplugin_osso.so
40240000-40247000 ---p 00001000 b3:02 34844 /opt/navit/lib/navit/autoload/libplugin_osso.so
40247000-40248000 rw-p 00000000 b3:02 34844 /opt/navit/lib/navit/autoload/libplugin_osso.so
40248000-4024a000 r-xp 00000000 b3:02 34836 /opt/navit/lib/navit/map/libmap_textfile.so
4024a000-40252000 ---p 00002000 b3:02 34836 /opt/navit/lib/navit/map/libmap_textfile.so
40252000-40253000 rw-p 00002000 b3:02 34836 /opt/navit/lib/navit/map/libmap_textfile.so
40253000-402bc000 r-xp 00000000 b3:02 34826 /opt/navit/lib/navit/graphics/libgraphics_gtk_drawing_area.so
402bc000-402c3000 ---p 00069000 b3:02 34826 /opt/navit/lib/navit/graphics/libgraphics_gtk_drawing_area.so
402c3000-402c4000 rw-p 00068000 b3:02 34826 /opt/navit/lib/navit/graphics/libgraphics_gtk_drawing_area.so
402c4000-402c9000 r--s 00000000 fe:01 21725 /usr/var/cache/fontconfig/3830d5c3ddfd5cd38a049b759396e72e-mipsel.cache-2
402c9000-402ca000 r--s 00000000 fe:01 21727 /usr/var/cache/fontconfig/b64a443fb29fd68918eee3276c922bf0-mipsel.cache-2
402ca000-402cb000 r--s 00000000 fe:01 21729 /usr/var/cache/fontconfig/e166eff51bb88345c461ae8d1ca7510a-mipsel.cache-2
402cb000-402cd000 r--s 00000000 fe:01 21731 /usr/var/cache/fontconfig/33a4131ab2947bcca2a0105cf2372d2e-mipsel.cache-2
402cd000-402ce000 r--s 00000000 fe:01 21735 /usr/var/cache/fontconfig/24cfa87181cfa5a1c0a5ecfd4c14c4b3-mipsel.cache-2
402ce000-402cf000 r--s 00000000 fe:01 21737 /usr/var/cache/fontconfig/5aa0758679636099ac12dc31b5ab2fe8-mipsel.cache-2
402cf000-40319000 r-xp 00000000 b3:02 76052 /opt/maemo/usr/lib/libImlib2.so.1.4.0
40319000-40320000 ---p 0004a000 b3:02 76052 /opt/maemo/usr/lib/libImlib2.so.1.4.0
40320000-40321000 rw-p 00049000 b3:02 76052 /opt/maemo/usr/lib/libImlib2.so.1.4.0
40321000-40335000 rw-p 40321000 00:00 0
40335000-40344000 r--p 00000000 fe:01 9289 /usr/share/locale/en_GB/LC_MESSAGES/gtk20.mo
40344000-4034d000 r-xp 00000000 fe:01 5241 /lib/libnss_files-2.5.so
4034d000-40354000 ---p 00009000 fe:01 5241 /lib/libnss_files-2.5.so
40354000-40355000 r--p 00008000 fe:01 5241 /lib/libnss_files-2.5.so
40355000-40356000 rw-p 00009000 fe:01 5241 /lib/libnss_files-2.5.so
40356000-403c0000 r-xp 00000000 b3:02 34841 /opt/navit/lib/navit/font/libfont_freetype.so
403c0000-403c8000 ---p 0006a000 b3:02 34841 /opt/navit/lib/navit/font/libfont_freetype.so
403c8000-403c9000 rw-p 0006a000 b3:02 34841 /opt/navit/lib/navit/font/libfont_freetype.so
403c9000-403d5000 r-xp 00000000 fe:01 82978 /usr/lib/libfribidi.so.0.0.0
403d5000-403dd000 ---p 0000c000 fe:01 82978 /usr/lib/libfribidi.so.0.0.0
403dd000-403de000 rw-p 0000c000 fe:01 82978 /usr/lib/libfribidi.so.0.0.0
403de000-Aborted
/home/user/.navit #


************************************************** *********************************

Could you please help me figure out what went wrong? I'm sorry if this error was solved before and if so give me a link to the solution.

Thanks a lot,
Ahmed
 
Reply

Tags
navigation, navit, nokia n900, openstreetmap


 
Forum Jump


All times are GMT. The time now is 02:33.