|
2011-07-02
, 04:35
|
Posts: 67 |
Thanked: 36 times |
Joined on May 2010
@ Claremont (LA), California
|
#752
|
|
2011-07-02
, 22:55
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#753
|
when I try to use the batch download. im getting alot of failed download.
heres the log:
Batch tile dl working... (threads: 29) pending: 8495, done: 51
exception in get tiles thread:
the downloaded tile is not an image as per its magic number (it is probably an error response webpage returned by the server)
Batch size working... (threads: 29), pending: 8245, done: 286
Batch tile dl working... (threads: 29) pending: 8494, done: 52
exception in get tiles thread:
btw, im using google map and storage as sqlite. Thanks!
Im not sure how you run it from CLI but if you mean run terminal sudo gainroot and then type modrana then here is the output.
home/user # modrana
== modRana Starting ==
device string (first parameter): n900
process 2669: arguments to dbus_connection_get_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5757.
This is normally a bug in some application using the D-Bus library.
process 2669: arguments to dbus_connection_set_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5721.
This is normally a bug in some application using the D-Bus library.
Aborted
Turning the GPS option off and on again in Modrana did not resolve it nor did renaming the options.bin file
sudo gainroot apt-get update apt-get remove modrana apt-get install modrana
sudo gainroot apt-get update apt-get install python-dbus
I already had 0.26-2 when I wrote that, it says unknown version.
There is no version.txt in /opt/modrana/
the update process hangs saying that libmagic1 is missing...
i just trie to install last version with command line
and apt-get fails too :
"modrana depends : libmagic1 but it is not installable" ....
can somebody help me ?
sudo gainroot apt-get update apt-get install libmagic1 apt-get install modrana
Just a heads-up to people: since I made my turn-announcement changes, I've noticed that I don't get proper (for some definition of "proper" :-D) announcements when turns come in quick succession. (It happens that the last three turns to my house are under 100m apart, so I get a lot of chances to test it.)
I'll look at the code when I get a chance and see if I figure out why I broke it or how to improve it.
The Following User Says Thank You to MartinK For This Useful Post: | ||
|
2011-07-02
, 23:15
|
Posts: 67 |
Thanked: 36 times |
Joined on May 2010
@ Claremont (LA), California
|
#754
|
Note that when modRana gets a new voice message while there is already one playing, the new one is skipped.
IMHO your patch only increases the distance - so maybe it just increases the distance for short segments to be larger than their length, so that their announcement is triggered at once when switching to the segment and then being skipped because the last announcement is still playing ?
- some long on-highway segments have announcements too far ahead
This is caused by Google setting the default turn distance too high (I have seen 2,5+ km, which is IMO too much even on a highway).
In extreme cases the announcement might be even skipped due to overlapping with the last one.- generally when on highway (long segments + high speed), more announcements at a varied distance would definitely be handy
- I have hacked in some rounding to the voice output (325 meters -> 320 meters) which made it definitely quicker to "get to the point"
Some more advanced rounding might make it even quicker (300..330 = 300, 333..367 = 350, 351..400 = 400, etc.).
|
2011-07-04
, 11:50
|
Posts: 49 |
Thanked: 11 times |
Joined on Mar 2010
|
#755
|
The Following User Says Thank You to MarkyboyUK For This Useful Post: | ||
|
2011-07-04
, 13:06
|
Posts: 67 |
Thanked: 36 times |
Joined on May 2010
@ Claremont (LA), California
|
#756
|
Reinstalling didn't fix it. Python-dbus was already installed/latest version.
...
modRana: module: mod_location/location failed to load
Traceback (most recent call last):
File "modrana.py", line 169, in _loadModule
a = __import__(importName)
File "/opt/modrana/modules/mod_location.py", line 22, in <module>
import gps_module as gps
File "/opt/modrana/modules/gps_module/__init__.py", line 9, in <module>
from gps import *
File "/opt/modrana/modules/gps_module/gps.py", line 18, in <module>
from client import *
File "/opt/modrana/modules/gps_module/client.py", line 9, in <module>
import simplejson as json # For Python 2.4 and 2.5
ImportError: No module named simplejson
The Following 2 Users Say Thank You to gkuenning For This Useful Post: | ||
|
2011-07-04
, 13:48
|
Posts: 73 |
Thanked: 8 times |
Joined on Sep 2010
@ Izmir - TURKEY
|
#757
|
|
2011-07-04
, 15:50
|
Posts: 49 |
Thanked: 11 times |
Joined on Mar 2010
|
#758
|
The problem is that the "simplejson" package is missing. On my N900 it lives in /usr/lib/python2.5/site-packages/simplejson. Fine, I think, so he just needs to install it. But here's what I get when I try to figure out the package name:
scroll:~# apt-get install simplejson
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package simplejson is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package simplejson has no installation candidate
A bit of Googling reveals that it's actually named python-simplejson. I suspect the problem might be a wrong dependency in Modrana? Anyway, you should be able to solve it by doing (as root):
apt-get install python-simplejson
Good luck!
|
2011-07-05
, 00:12
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#759
|
Reinstalling didn't fix it. Python-dbus was already installed/latest version.
Tried again in CLI mode with latest version, this time without typing sudo gainroot. Seems to be complaining about a mod_location module.
Any help?
~ $ modrana
== modRana Starting ==
...
modRana: module: mod_location/location failed to load
Traceback (most recent call last):
File "modrana.py", line 169, in _loadModule
a = __import__(importName)
File "/opt/modrana/modules/mod_location.py", line 22, in <module>
import gps_module as gps
File "/opt/modrana/modules/gps_module/__init__.py", line 9, in <module>
from gps import *
File "/opt/modrana/modules/gps_module/gps.py", line 18, in <module>
from client import *
File "/opt/modrana/modules/gps_module/client.py", line 9, in <module>
import simplejson as json # For Python 2.4 and 2.5
ImportError: No module named simplejson
The problem is that the "simplejson" package is missing. On my N900 it lives in /usr/lib/python2.5/site-packages/simplejson. Fine, I think, so he just needs to install it. But here's what I get when I try to figure out the package name:
scroll:~# apt-get install simplejson
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package simplejson is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package simplejson has no installation candidate
A bit of Googling reveals that it's actually named python-simplejson. I suspect the problem might be a wrong dependency in Modrana? Anyway, you should be able to solve it by doing (as root):
apt-get install python-simplejson
Good luck!
|
2011-07-05
, 02:12
|
Posts: 23 |
Thanked: 11 times |
Joined on Jun 2010
|
#760
|
hello, I didn't read whole 740 post so, sorry if it is being asked twice,
How can I download tiles to my pc? I should find a way to do that because I chose around here, 80 km, +8 down, +5 up (or sth like that), modrana says ~355000 tiles to be downloaded. I left my N900 to download them last night, at the morning I saw it downloaded 30k of them, AND was downloading too slow if I compare to beginning. So, I need to download them to my pc then should move them to n900. Tiles are in /home/user/MyDocs/.maps/OpenStreetMap I , I guess ?
Tags |
bada rox, martin_rocks, modrana, navigation, openstreetmap, the best, wehasgps |
|
There is no version.txt in /opt/modrana/
Affordable mobile internet in Belgium: Try Mobile Vikings
2 GB, 1000 SMS and 15 euro of talk time for.... 15 euro