Active Topics

 



Notices


Reply
Thread Tools
Posts: 13 | Thanked: 26 times | Joined on Sep 2012
#1131
I was getting with 0.35.7:
Sending message: route:clearRoute|md:route:route:type=ll2ll;fromLat =49.900000;fromLon=15.500000;toLat=50.476912;toLon =15.646266;
Routing 49.900000,15.500000 to 50.476912,15.646266
routing: using Monav as routing provider
Monav data folder:
/home/user/MyDocs/.maps/monav_data/Czech_Republic/routing_car
True
route: Monav route lookup failed
No module named google.protobuf
Traceback (most recent call last):
File "/opt/modrana/modules/mod_route/mod_route.py", line 381, in getMonavRoute
import monav_support
File "/opt/modrana/modules/mod_route/monav_support.py", line 29, in <module>
import monav
File "/opt/modrana/modules/mod_route/monav.py", line 27, in <module>
from signals_pb2 import CommandType, VersionCommand, VersionResult, RoutingCommand, RoutingResult
File "/opt/modrana/modules/mod_route/signals_pb2.py", line 3, in <module>
from google.protobuf import descriptor
ImportError: No module named google.protobuf
notification: message: offline routing failed, timeout: 5.0
This got fixed by:
apt-get install python-protobuf
But now it is still not much better:
Sending message: route:clearRoute|md:route:route:type=ll2ll;fromLat =50.763274;fromLon=15.269291;toLat=50.476912;toLon =15.646266;
Routing 50.763274,15.269291 to 50.476912,15.646266
routing: using Monav as routing provider
Monav data folder:
/home/user/MyDocs/.maps/monav_data/Czech_Republic/routing_car
True
monav_support: starting Monav server
monav_support: starting monav server in:
modules/mod_route/monav_armv7/monav-server
Starting MoNav TcpServer on port 8040
monav_support: Monav server started
monav: starting route search
Reading message of size: 2
Reading message of size: 114
found plugin: "Contraction Hierarchies"
found plugin: "GPS Grid"
loaded: "Car" ""
GPS Lookup: 12 ms
GPS Lookup: 12 ms
Routing: 44 ms
Posting message of size: 20680
monav_support: routing failed
Not all bytes of message received.
Traceback (most recent call last):
File "/opt/modrana/modules/mod_route/monav_support.py", line 121, in monavDirections
connection = connection)
File "/opt/modrana/modules/mod_route/monav.py", line 146, in get_route
connection.read(result)
File "/opt/modrana/modules/mod_route/monav.py", line 76, in read
raise Exception('Not all bytes of message received.')
Exception: Not all bytes of message received.
notification: message: offline routing failed, timeout: 5.0
notification@dmod: message: offline routing failed, timeout: 5.0
Sending message: mapView:recentreToPos
Marble is routing here fine via MoNav.
Is it due to the incompatibility with MonAv from Extras-devel?
 

The Following 2 Users Say Thank You to jankratochvil For This Useful Post:
macey's Avatar
Posts: 283 | Thanked: 276 times | Joined on Aug 2011 @ uk or @Pai,Mae Hong Son, Thailand
#1132
Noob question:-
Which Monav do I have to install to get the offline routing working? I have tried monav-routing-daemon. modRana just waits for the Internet connection.
I have loaded the map data:
Code:
MoNav.ini                        routing_car
address_unicode_tournament_trie  routing_pedestrian
routing_bike
user@N900-2:~/MyDocs/.maps/monav_data/British_Isles$
And done the configuration. Cant get offline routing working.
Help much appreciated.
 

The Following 2 Users Say Thank You to macey For This Useful Post:
macey's Avatar
Posts: 283 | Thanked: 276 times | Joined on Aug 2011 @ uk or @Pai,Mae Hong Son, Thailand
#1133
Unashamed self-bump.
 
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1134
Originally Posted by melisa queen View Post
@Martink
Thank you, I updated to the latest version, now the modrana is working
But modrana-qml is not in a good condition! I opened it, then it was closed very fast!
the same thing also happens on my device and I'm working on a fix.

Originally Posted by melisa queen View Post
When do you have a plan to add Farsi support for modrana Martik?!
Most probably right after the coding competition feature freeze - its not yet working correctly on the Espeak side anyway and I'll have to contact the Maemo Espeak package maintainer.

I have also filled in "add Farsi support" ticket on the modRana project issue tracker. If you post a comment on it, I think you should get a notifications email about any changes (eq. when its implemented or more information becomes available).

Originally Posted by melisa queen View Post
I also couldn't find Iran map for routing in the link that you mentioned above! Just Asia.zip and it is about 3.6 GB
Is there any link that I can download only Iran map for offline routing?!
I think that if you delete the rendering_ subfolders after unpacking it, it should take up much less space. But I'll also try to check if there are some other repositories with compatible Monav routing data that have it.

Originally Posted by jankratochvil View Post
I was getting with 0.35.7:

This got fixed by:

But now it is still not much better:

Marble is routing here fine via MoNav.
Missing python-protobuf dependency & routing failing on the first route should both be fixed in V0.35.9.
The second one was probably caused by a race condition during the monav-server startup (the server is started once modRana gets a first offline-routing request and is stopped on modRana shutdown). I've set the communication socket to be blocking and it doesn't happen anymore.

It is also not dependent in any way on the Monav package used by Marble - its ARM compiled binary lives in /opt/modrana/modules/mod_route/monav_armv7/. There is also a amd64 compiled binary in monav_amd64 for desktop testing, that will be removed from the N900 package in the near future to save space (about 300 kB).

Originally Posted by macey View Post
And done the configuration. Cant get offline routing working.
Help much appreciated.
Try to update to V0.35.9 and see if it now works.
Also make sure that you have Monav selected in menu->options->Navigation->Routing as the routing provider. Also, offline routing currently doesn't support address 2 address routing - it will fall-back to online routing in this case.

BTW, I've "wikified" the ModRana offline routing guide.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)

Last edited by MartinK; 2012-09-11 at 12:59.
 

The Following 4 Users Say Thank You to MartinK For This Useful Post:
Posts: 250 | Thanked: 126 times | Joined on Dec 2010
#1135
Installed last version of modrana and I have done wat you say for offline route but I cant see any map. It keeps loading the map bu nothing shows?should I install monav from repos?
 

The Following User Says Thank You to guilledoc For This Useful Post:
Posts: 43 | Thanked: 50 times | Joined on Apr 2011 @ Ipoh, Malaysia
#1136
The Monav data page for Marble has a lot of Motorway/Pedestrian maps. Some may be slightly outdated. They can be found here http://files.kde.org/marble/monav/2012-w29/

These do not follow the folder structure as that of Monav/Modrana, so you might have to create the folder structure and copy the Contraction hierarchies and GPSgrid files to the relevant routing folders.
 

The Following 3 Users Say Thank You to MetalGearSolid For This Useful Post:
Posts: 49 | Thanked: 11 times | Joined on Mar 2010
#1137
Modrana QML is no longer working for me since installing the latest version. Any ideas?

Thanks

$ modrana-qml
== modRana Starting ==
V0.35.9 git:853a8fc

modRana: loading options
N900: DBUS initialized
N900 Qt screen saver controller created
N900 device specific module initialized
* device: A N900 modRana device-specific module (950.00 ms)
modules/gui_modules/gui_qml/gui_qml.py:93: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
self.app = QApplication(sys.argv)
* gui: A Qt + QML GUI module (2610.00 ms)
importing modules:
* icons: Draw icons (10.00 ms)
* info: A modRana information handling module (0.00 ms)
* updateTiles: Update stored map tiles. (10.00 ms)
* example: A sample pyroute module (0.00 ms)
* projection: Projection code (lat/long to screen conversions) (0.00 ms)
* showPOI: Show POI on the map and in the menu. (10.00 ms)
* animatedMapView: A sample pyroute module (20.00 ms)
* onlineServices: A module for talking to various online services (90.00 ms)
* showGPX: draws a GPX track on the map (0.00 ms)
* mapView: Controls the view being displayed on the map (0.00 ms)
* search: Search for POI (20.00 ms)
* voice: Handle text to speech. (10.00 ms)
* clickHandler: handle mouse clicks (30.00 ms)
* input: Handle input from keyboard, buttons, etc. (0.00 ms)
* units: a unit handling module (10.00 ms)
* askMenu: A sample pyroute module (0.00 ms)
@ location: using Qt Mobility
importing Qt Mobility
Qt Mobility imported
location Qt Mobility: position source created
* location: Supplies position info from a position source (180.00 ms)
* route: Routes (780.00 ms)
* tracklog: Record tracklogs (0.00 ms)
* stats: Handles messages (10.00 ms)
* config: Handle configuration, options, and setup (0.00 ms)
* options: Handle options (20.00 ms)
* notification: This module provides notification support. (10.00 ms)
* storeTiles: Single-file-fs tile storage (50.00 ms)
* keys: A keyboard input handling module (0.00 ms)
* log: A modRana logging module (0.00 ms)
* menu: Handle menus (40.00 ms)
* showOSD: Draw OSD (On Screen Display). (30.00 ms)
* interfaceFeedback: A sample pyroute module (10.00 ms)
* loadTracklogs: A sample pyroute module (30.00 ms)
* cron: A Qt timing and scheduling module for modRana (10.00 ms)
* messages: Handles messages (20.00 ms)
* positionMarker: A sample pyroute module (10.00 ms)
@ storePOI: POI database path:
@ /home/user/MyDocs/.maps/modrana_poi.db
@ storePOI: connection to POI db established
* storePOI: Store POI data. (50.00 ms)
* routeProfile: Creates a route profile (an elevation chart) (10.00 ms)
* tracklogManager: Module for managing tracklogs (10.00 ms)
* turnByTurn: A turn by turn navigation module. (0.00 ms)
* tileserver: A modRana built-in tileserver (0.00 ms)
* textEntry: A module for handling text entry. (0.00 ms)
* markers: A module handling markers on the map. (20.00 ms)
@ mapTiles: map folder path: /home/user/MyDocs/.maps/
* mapTiles: Display map images (70.00 ms)
* mapData: Handle downloading of map data (40.00 ms)
* sketch: Sketching functionality (10.00 ms)
* display: A platform independent display device control module (20.00 ms)
Loaded all modules in 1640.00 ms, initialising
showPOI: 9 visible POI restored
options: reloading Monav data pack list
location: enabling location
location qt mobility: started
"" ""
"" ""
display: keep display ON -> always
** making a list of available tracklogs
* using this tracklog folder:
* /home/user/MyDocs/tracklogs
* there are 1 tracklogs available
**
mapView: switching map drag mode to default
mapView: switching centering disable threshold to 2048
Initialization complete in 330.00 ms
** modRana startup timing **
# device: Nokia N900 (n900)
* modRana start (0 ms), 0/13886 ms
* imports done (425 ms), 425/13886 ms
* GUI creation (0 ms), 426/13886 ms
* all modules loaded (11918 ms), 12344/13886 ms
* all modules initialized (1542 ms), 13886/13886 ms
** whole startup: 13886 ms **
Preloading theme "base" from cache
GET
(u'currentTheme', u'default', 'default')
sqlite tiles: initializing db for layer: OpenStreetMap I
file:///opt/modrana/modules/gui_modules/gui_qml/qml/PinchMap.qml:47: Unable to assign [undefined] to int status
Segmentation fault
~ $
 

The Following 4 Users Say Thank You to MarkyboyUK For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1138
Originally Posted by MarkyboyUK View Post
Modrana QML is no longer working for me since installing the latest version. Any ideas?
$
Should be fixed in V0.35.10.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
 

The Following 3 Users Say Thank You to MartinK For This Useful Post:
Posts: 250 | Thanked: 126 times | Joined on Dec 2010
#1139
I'm still not abble to see any maps ofline
Sorry to spam ...
 

The Following User Says Thank You to guilledoc For This Useful Post:
Posts: 13 | Thanked: 26 times | Joined on Sep 2012
#1140
Originally Posted by guilledoc View Post
I'm still not abble to see any maps ofline
Sorry to spam ...
For _seeing_ maps there is menu->download. The discussion here about Monav has been now about creating new routes offline.
 

The Following User Says Thank You to jankratochvil For This Useful Post:
Reply

Tags
bada rox, martin_rocks, modrana, navigation, openstreetmap, the best, wehasgps


 
Forum Jump


All times are GMT. The time now is 06:44.