View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#629
First, release announcement:
modRana V0.25-1 is out !
Whats new ?
  • map rotation and overlay should both be much faster & more efficient
  • turn-by-turn messages now use big font & line wrapping
    • when a part of the message is cut off for space reasons, a small scissors icon shows ap - clicking it displays the full message in a notification
    • the previous/next/hide buttons should now be better visible
  • the voice CLI string can be now edited, directly from the GUI see below for a howto
  • there is now a POI search preset for EV Charging stations (in the Travel category)
  • some icon updates
  • some bugged notifications now properly show up (POI adding, batch download complete, etc.)
  • various other bugfixes & "backend" improvements

Yeah and sorry for such a long release delay

Originally Posted by woody14619 View Post
Ok... Two problems.

One: In mod_voice.py, you call out the voice to use, so even if you override the voice, it defaults back to the language locally set...
It is now (V0.25) possible to directly edit the CLI string from the GUI - just go to Options->Sound->Voice and set "Voice parameters" to "manual" The string can be directly edited in an entry dialog & there is a button for reseting the string to default value

The string can contain various keywords:
%language% - this will be replaced by current language code
%message% - replaced by message without quotes
%qmessage% - replaced by current message without quotes

So basically, if your espeak uses the mbrola voices by default, you can now just remove -v and the %language% keyword from the string.

Also, using the %message% variable, prefixes and suffixes can be easily added:
"espeak -v %language% -s 120 -m 'Simon says: %message%'"

And because modRana just executes the resulting string in terminal, the possibilities are basically endless (calling custom scripts, other CLI speech engines, etc.).

Originally Posted by woody14619 View Post
Two: There's a problem with tile caching in sqlite. After about 3000 tiles get loaded, when it tries to load from the sqlite database, it fails and re-downloads. The log keeps saying:

Code:
loading the image buffer from sqlite to pixbuf failed:Unrecognized image file format
And after, it looks like it re-opens the database, then say is sql commit went OK, but if I close and re-load, it fails the same way. Interestingly, when I first start up, since I'm in the same area as the initial tile download (the first tiles the db has), it works fine. Only once I go to the area past the first thousand tiles or so do I get this error.

Attached is the run log. If you'd like a copy of the zipped sqlite database set, let me know. It's just under 1M.
Yep, the "broken" database should definitely help me debug this It might help if you also include your current settings file (/opt/modrana/data/options.bin) - eq. I can test in the same environment, settings-wise.

Technically, the database is designed to hold millions upon millions of tiles (it is split to a indexing and storage databases, new storage db is added once the last one reaches about 3.7 GB, thus avoiding the FAT32 file size limit and the separate indexing database provides fast lookup). Of course, the tile storage code is quite complex and the sqlite version shipped with Python 2.5 is quite temperamental, so there is quite likely a bug somewhere.
__________________
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 9 Users Say Thank You to MartinK For This Useful Post: