navit-gps / navit

The open source (GPL v2) turn-by-turn navigation software for many OS
http://www.navit-project.org
Other
551 stars 174 forks source link

Maps larger than 2GB are not supported by this binary?? #1212

Open wuniversales opened 1 year ago

wuniversales commented 1 year ago

Hello, I'm trying to install Navit in the car, but it doesn't load the map, instead a yellow background appears. Checking the logs I have this.

Navit log started
Navit log started
error:navit:file_init:Maps larger than 2GB are not supported by this binary, sizeof(off_t)=zu

error:support_libc:_stat:no file

error:support_libc:_stat:no file

error:support_libc:_stat:no file

error:support_libc:_stat:no file

error:map_textfile:map_rect_new_textfile:error opening textfile \Storage Card\Navit\data/bookmark.txt: unknown

error:navit:command_register_callbacks:could not resolve object in cs=02784B80:

error:navit:command_register_callbacks: navigation.nav_status>=3

error:navit:command_register_callbacks:            ^

error:navit:command_register_callbacks:could not resolve object in cs=027851C0:

error:navit:command_register_callbacks: vehicle.position_valid

error:navit:command_register_callbacks: ^

error:navit:command_register_callbacks:could not resolve object in cs=027858A0:

error:navit:command_register_callbacks: navigation.nav_status>=3

error:navit:command_register_callbacks:            ^

error:navit:command_register_callbacks:could not resolve object in cs=02787BA0:

error:navit:command_register_callbacks: navigation.nav_status==-1 || navigation.nav_status==1 || navigation.nav_status==2

error:navit:command_register_callbacks:            ^

error:navit:command_register_callbacks:could not resolve object in cs=027880C0:

error:navit:command_register_callbacks: navigation.nav_status>=3

error:navit:command_register_callbacks:            ^

error:navit:command_register_callbacks:could not resolve object in cs=02788820:

error:navit:command_register_callbacks: navigation.nav_status>=3

error:navit:command_register_callbacks:            ^

error:navit:command_register_callbacks:could not resolve object in cs=02788F00:

error:navit:command_register_callbacks: navigation.nav_status>=3

error:navit:command_register_callbacks:            ^

error:navit:command_register_callbacks:could not resolve object in cs=02789700:

error:navit:command_register_callbacks: vehicle.position_valid

error:navit:command_register_callbacks: ^

error:navit:command_register_callbacks:could not resolve object in cs=0278B8E0:

error:navit:command_register_callbacks: follow>1

error:navit:command_register_callbacks: ^

error:support_libc:_stat:no file

error:navit:xinclude:Unable to include '\Storage Card\Navit\$NAVIT_USER_DATADIR/navit_layout_*.xml'

error:navit:xml_parse_file:could not open XML file

error:navit:traffic_get_messages_from_xml_file:could not retrieve stored traffic messages

error:navit:osd_std_config:Error in saved command: not_ready, item=0278B820.

error:navit:osd_std_config:Error in saved command: not_ready, item=02789640.

error:navit:osd_std_config:Error in saved command: not_ready, item=02788760.

error:navit:osd_std_config:Error in saved command: not_ready, item=02788000.

error:navit:osd_std_config:Error in saved command: not_ready, item=02787AE0.

error:navit:osd_std_config:Error in saved command: not_ready, item=027857E0.

error:navit:osd_std_config:Error in saved command: not_ready, item=02785100.

error:navit:osd_std_config:Error in saved command: not_ready, item=02784AC0.

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:navit:command_call_function:invalid command ignored: "network_info"; see http://wiki.navit-project.org/index.php/OSD#Navit_commands for valid commands.

error:navit:command_call_function:invalid command ignored: "network_info"; see http://wiki.navit-project.org/index.php/OSD#Navit_commands for valid commands.

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

Can someone give me a hand to solve this?

I am using the map of spain + portugal, but it does not load.

I'm also trying to put the program in Spanish, as it appears in English, so far I have not succeeded.

I just have to add the line to the navit.xml ?

<config xmlns:xi="http://www.w3.org/2001/XInclude" language="es_ES">

Thank you

jkoan commented 1 year ago

The most important line for your yellow screen issue is this error : Card\Navit\$NAVIT_USER_DATADIR/navitlayout*.xml This means that the layout could not be loaded. Please download one or more of those files from the repo and put them next to your navit.xml and restart the app after that

wuniversales commented 1 year ago

I have exactly put these files in the folder. https://github.com/navit-gps/navit/releases/download/v0.5.6/navit-wince-0.5.6.zip I see this includes the "navit_layout" files...

This is the map I put in the folder "maps" (spain + portugal). http://maps9.navit-project.org/

any way to fix this?

jkoan commented 1 year ago

Please try to copy paste the layouts from there invidual files into the navit.xml where the xi:include for the layout files is located. This is only a work around and we will try to figure out why this happens in the first place

mik13ST commented 9 months ago

I think I have the same problem. The top of my log is the same. My device is WinCE 6.0 Core Version, CPU is Atlas V, 500 MHz, 128MB of RAM, 4GB of FLASH. My navit version is 0.5.6.

I included the layout file directly into navit.xml (had to omit the "Found items") like this:

navit.xml ```xml Main menu Actions Show Map Settings Tools Route About Quit Actions Bookmarks Former Destinations Town Coordinates Stop Navigation Settings Display Maps Vehicle Rules Display Layout Fullscreen Window Mode 3D 2D Auto zoom Manual zoom Layers Tools Show Locale Network info Route Zoom to route Description Height Profile Waypoints Drop last Waypoint Drop next Waypoint Map Point Layout Maps Layers Vehicle Satellite Status NMEA Data ]]> ```

Specifically, these are the lines I changed from the default navit.xml:

defined custom map instead of the default one ```xml ```
config included manually ```xml ```

This removed the error:navit:xinclude:Unable to include message, but error:navit:xml_parse_file:could not open XML file is still there.

My log:

Navit log started
error:navit:file_init:Maps larger than 2GB are not supported by this binary, sizeof(off_t)=zu

error:support_libc:_stat:no file

error:support_libc:_stat:no file

error:support_libc:_stat:no file

error:support_libc:_stat:no file

error:map_textfile:get_line:Unable to get line (unknown)

error:map_textfile:get_line:Unable to get line (unknown)

error:navit:command_register_callbacks:could not resolve object in cs=026D88C0:

error:navit:command_register_callbacks: navigation.nav_status>=3

error:navit:command_register_callbacks:            ^

error:navit:command_register_callbacks:could not resolve object in cs=026D8F00:

error:navit:command_register_callbacks: vehicle.position_valid

error:navit:command_register_callbacks: ^

error:navit:command_register_callbacks:could not resolve object in cs=026D95E0:

error:navit:command_register_callbacks: navigation.nav_status>=3

error:navit:command_register_callbacks:            ^

error:navit:command_register_callbacks:could not resolve object in cs=026DB8E0:

error:navit:command_register_callbacks: navigation.nav_status==-1 || navigation.nav_status==1 || navigation.nav_status==2

error:navit:command_register_callbacks:            ^

error:navit:command_register_callbacks:could not resolve object in cs=026DBF60:

error:navit:command_register_callbacks: navigation.nav_status>=3

error:navit:command_register_callbacks:            ^

error:navit:command_register_callbacks:could not resolve object in cs=026DC5A0:

error:navit:command_register_callbacks: navigation.nav_status>=3

error:navit:command_register_callbacks:            ^

error:navit:command_register_callbacks:could not resolve object in cs=026DCC80:

error:navit:command_register_callbacks: navigation.nav_status>=3

error:navit:command_register_callbacks:            ^

error:navit:command_register_callbacks:could not resolve object in cs=026DD280:

error:navit:command_register_callbacks: vehicle.position_valid

error:navit:command_register_callbacks: ^

error:navit:command_register_callbacks:could not resolve object in cs=026E0540:

error:navit:command_register_callbacks: follow>1

error:navit:command_register_callbacks: ^

error:navit:xml_parse_file:could not open XML file

error:navit:traffic_get_messages_from_xml_file:could not retrieve stored traffic messages

error:navit:osd_std_config:Error in saved command: not_ready, item=026E0480.

error:navit:osd_std_config:Error in saved command: not_ready, item=026DD1C0.

error:navit:osd_std_config:Error in saved command: not_ready, item=026DC4E0.

error:navit:osd_std_config:Error in saved command: not_ready, item=026DBEA0.

error:navit:osd_std_config:Error in saved command: not_ready, item=026DB820.

error:navit:osd_std_config:Error in saved command: not_ready, item=026D9520.

error:navit:osd_std_config:Error in saved command: not_ready, item=026D8E40.

error:navit:osd_std_config:Error in saved command: not_ready, item=026D8800.

I think I need more detailed debug level.

mik13ST commented 9 months ago

Here is the debug log. Now I think the XML parse problem is related to the traffic_get_messages_from_xml_file error right after it. The config seems to load fine, it seems.

navit.log (835kB)

mik13ST commented 9 months ago

I came here because I didn't see anything but a blank screen with + and - buttons. I looked at the log and came here thinking that is my problem. Turns out I also had to change my layout from "car simple" to e.g. "android" even though my device has a crappy screen so no point in anything else but the basics. Now I see the map, so I no longer have an issue. Sorry for mixing my issue into this one.