View Single Post
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: