View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#753
Originally Posted by superpj101 View Post
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!
Some tile providers don't like batch downloading and return an error pages in place of a tile - which results in this kind of errors you are getting.

Originally Posted by MarkyboyUK View Post
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
I think I remember somebody reporting some other DBUS related errors though I don't remember how or if it was solved in the end...

Some more things to try:
  • just running modrana without the sudo gainroot and posting the result (but it works in my case even as root)
  • reinstalling
    Code:
    sudo gainroot
    apt-get update
    apt-get remove modrana
    apt-get install modrana
  • checking if python-dbus is installed (it is listed as a dependency so it should be...)
    Code:
    sudo gainroot
    apt-get update
    apt-get install python-dbus
  • rebooting and then running modRana (I have seen some mentions of DBUS related out of memory errors like this one in Google search results...)
  • upgrading to 0.26-3 - no idea how it might fix your issue, but why not

Originally Posted by petur View Post
I already had 0.26-2 when I wrote that, it says unknown version.

There is no version.txt in /opt/modrana/
I have released V0.26-3 that has the version file and is also build in a more "standard" way.

Originally Posted by jose6a View Post
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 ?
Well, thats weird - i have checked the repost and libmagic1 is normally available from repos and on device installable.
You can try to run this in the terminal to manually update your repository listing, install libmagic and then modrana:
Code:
sudo gainroot
apt-get update
apt-get install libmagic1
apt-get install modrana
Originally Posted by gkuenning View Post
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.)
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 ?

Originally Posted by gkuenning View Post
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.
Thanks a lot in advance !

I have done some road testing the new code:
  • the new code works good (aside from the above mentioned short segment issue)
  • 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.).
__________________
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; 2011-07-02 at 23:01.
 

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