-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
navit 0.5.6 no maps #1220
Comments
From where did you install the package? |
I installed from ubuntu repository but i do not see navit_layout |
i can't find navit/share/navit |
The problem is that debian, ubuntu and raspberryPiOS missed to include the layout files. You can fix this for yourself by downloading those files and putting them where they belong (in the same dir as the navit.xml) |
which files? |
The files starting with navit_layout from https://github.com/navit-gps/navit/tree/trunk/navit |
I think that the maintainer of navit package on ubuntu has never tried the program! |
That my be true, but also because ubuntu and RaspberryPiOS just copy from the debian sources. So the main culprit is debian. But yes, the debian maintainer for navit is lacking beind a bit. But this dosn't tel me if you got it working now. Can we close this issue now? |
No, it is not working |
Please tell us which steps you have done. Have you downloaded the files and put them into the directory? |
I downloaded the files: |
Please provide the log output of the navit run |
The source builds for debian and ubuntu have issues with inkscape currently. There are no icons created. I think the binary packages face he same issue. From Discord jkoan: run Navit./navit/navit |
where can I find log output of the navit run? |
In the console. You can get more output using -d1 or -d2 or -d3 parameter. |
I just saw
The navit user data directory on Linux is .navit not navit: |
yes |
Mind the dot .navit is a hidden directory. Have you done the build from source? The ubuntu package misses the icon files. I tried that yesterday and there were no files under /usr/share/navit/icons . |
You can download a working package for 64-bit Ubuntu OS here: https://www.eisenzelt.de/ez/wordpress/wp-content/uploads/2023/01/navit_0.5.6dfsg.1-1_amd64.deb |
Use |
You can download a working package for 64-bit Ubuntu OS here: https://www.eisenzelt.de/ez/wordpress/wp-content/uploads/2023/01/navit_0.5.6dfsg.1-1_amd64.deb Error |
What kind of error? |
I just tested on a fresh ubuntu install (22.04) `
` `
|
I have done it but it does not display maps |
Is gpsd working? If not, navit will try to show a place in Munich, Germany at first startup if no GPS data is available. Is your map including Munich? You could try to zoom out by mouse wheel. Usually you will see your map then. I had been in contact with the debian package owner yesterday and he provided a fixed version as unstable release already: https://packages.debian.org/sid/amd64/navit/download This fixes the missing icon files and layout files issue with an official package. |
I Use sudo dpkg -i --force-confmiss navit_0.5.6+dfsg.1-2_amd64.deb |
gilles filippini is the maintainer, i think he has never tried navit in his life |
It is not that easy to install a package from unstable branch, exactly because of the dependencies. Use this at your own risk: As root edit
As root create a file
Update repos: Uninstall navit using List all installable versions:
Install navit using Now the dependencies should be installed as well and will result in:
|
I installed Navit on my Raspberry Pi 4. I downloaded the predefined benelux-map from http://maps9.navit-project.org/ and pointed to it in the config file (~/.navit/navit.xml). In the settings of Navit, the map is shown under "maps". (I could only use the GUI of Navit, because I downloaded the icons from https://ozzmaker.com/navigating-navit-raspberry-pi/. Before that, I only had a yellow screen.) So gps is working and map is detected, but not shown. Putting the lay-out files in etc/navit dit nothing, putting them in usr/share/navit made it impossible to start Navit. Putting them in usr/share/navit/maps (because in usr/share/navit/icons is where the icons are), was better because Navit opens, but doesn't show a map, still. I never build from source. Would that help with this problem? And do I have to delete everything that's installed now? |
Have you tried what I wrote in my last answer? Building from source would definitely help. |
I did install Inkscape and started all over, but still the same error:
First time I tried to open navit, I had forgotten the "make". So I did "make" and things where processed. But after making, I got exactly the same error messages. Could it be I have to start all over, because I first opened navit to soon (before the "make")?? There is a solution apparently, but that site is down: https://forum.navit-project.org/viewtopic.php?f=11&t=545
|
Please uninstall inkscape. It is not working properly for the conversion of svgs during navit build on debian. Install the dependencies: If you install the dependencies as described, you'll have rsvg-convert available, but if inkscape is installed as well, navit will use inkscape to convert but this produces nothing and doesn't return an error during the build so the build will not stop. What is your output of Go into navit-builddir and delete everything: run
|
Those dependencies where already installed. I thought rsvg-convert wasn't there, because when I did
The output:
(The "*" seems not to work with Raspberry Pi, I deleted the folder with
|
I did see it generate png and svg files, but I get the same error message. I did try to open Navit before running "make install", so maybe I messed up by doing that? But since I already had those dependencies, and did the make-thing, I don't expect a different result. |
After
|
I repeated with sudo make install and that worked. Navit now opens again (although with the yellow "map" and no icons.
|
Open test.txt and search for "xml". There should be a line like Check inside this config file the mapset configuration. If it looks like:
Change it to:
|
I'll try it later today, my SD-card was a small one (16GB) and got full, so my raspberry pi hung. I'll have to install Raspberry OS again. |
the problem in only deb package because tha maintainer never tried navit in his life |
Did you uninstall inkscape? |
Yes, Inkscape was uninstalled. I'm now configuring the new Raspberry OS installation. Without Inkscape :-). |
OK, it worked. I didn't follow your last suggestions to the letter, OLFDB, I wanted to test with a real map immediately. So, I downloaded the dependencies, followed the steps above (with make and sudo make install). It worked, it was indeed zoomed out a lot at first and it takes a while to load (because it's a big file I guess). This is the output from the terminal:
I have other work to do, so I leave it at that for the moment. |
Seems you are affected by #1218 Download these files and replace the files in your source directory. They are located at
run
again from your build directory (navit-code/navit-builddir) |
I'm sorry, that didn't help. I was thinking, since it works well on Manjaro, I can make a travel-SD-card with Manjaro and Navit. Problem solved :-) If it helps you, I will try more solutions, just tell me which output you need to know where the problem is... |
What is the output in the console when navit crashed? |
The terminal:
|
Delete the bookmarks.txt file in .navit directory (where you placed your navit.xml) and try again. |
Again, no luck. I tried a different address each time, to be sure it wasn't using previous data. The xml file:
|
The navit.xml is fine. Try to delete all .txt files in /home/pi/.navit/ directory. |
That worked! EDIT: the route is on the map, by means of arrows on the streets. |
Yes, I have those settings. Navit gives a route, I can see it on the map and find the steps in the configuration. It doesn't show on-screen navigation. This way it's unusable as navigation-app. I prefer online directions, but I'll try with the speach-option (https://ozzmaker.com/navigating-navit-raspberry-pi/) I downloaded espeak and changed the config file: |
do You know if navit Ubuntu package now works or the maintainer is still drunk? |
It still does not work. See my final post, made on 230503, that shows step-by-step what I did to get it working on Ubuntu 22.04: |
now, is navit package for ubuntu working or not? |
Robzane I feel your pain....after wasting hours of my precious time trying to make this program work on my debain laptop, I found it easier to delete the program and use paper maps and a magnetic compass. What a joke..... |
Still files missing. I just tested on a fresh install Ubuntu 22.04.2. Create directory ".navit" in your user folder. Extract attached Archiv.zip and copy the files inside .navit folder. Download a mapset matching your location from https://github.com/navit-gps/gh-actions-mapserver/releases/latest and put it inside .navit folder. Open the file navit.xml from .navit folder and search for:
replace europe-germany-brandenburg-2023-12-25.bin with the name of the mapset file you loaded. Make sure GPSD is working. For speech to wotk install espeak-ng. Search for
and replace sudo apt-get install espeak-ng You can select and install your mbrola voice only, if needed. Select the voice inside speech.sh. |
Thank You Navit is a beautiful program, it is a pity that there isn't a working package for Ubuntu, I wrote to the maintainer but he does not reply |
I use navit 0.5.6 on ubuntu 22
gps works perfectly
navit shows orange background and no maps
I downloaded maps from planet extractor
The text was updated successfully, but these errors were encountered: