View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1733
Originally Posted by nokiabot View Post
What about renaming modrana stable to LTS ;
What's modRana stable ? Do you mean the older modRana version that is in Extras ?

Originally Posted by ggabriel View Post
Admittedly, I haven't been able to make modrana download tiles in Sailfish for a few versions now. Finally, I got to see the logs Here they are:
Code:
2015-01-03 12:26:01,386 ERROR mod.mapTiles: exception in tile download manager thread
Traceback (most recent call last):
  File "modules/mod_mapTiles/mod_mapTiles.py", line 349, in _tileLoadingManager
    tileData = self._storeTiles.getTileData(lzxy)
  File "modules/mod_storeTiles.py", line 344, in getTileData
    result = self.getTileFromDb(lookupConn, dbFolderPath, lzxy)
  File "modules/mod_storeTiles.py", line 391, in getTileFromDb
    lookupCursor = lookupConn.cursor()
sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread.The object was created in thread id 1366291440 and this is thread id 1359639536
Of course this could be fixed by switching sqlite off, but really don't want to do that...
Thanks, I'll take a look! Hopefully it is just some minor locking/threading related mess triggered by the way how Sailfish OS fetches tiles.

BTW, sqlite should not be that needed on Sailfish OS as btrfs even with all its issues and general lack of stability is a modern filesystem and unlike FAT32 should generally handle many small files in an efficient manner.

On the other hand sqlite tile storage is indeed much nicer for estimating storage space consumed by tiles (no need to go over thousands of file to check it) and avoids stuff like tiles possibly ending in the gallery (thankfully tracker seems to avoid hidden/starting with "." folders - so just don't move your tiles into a folder without "." in the path ).
__________________
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 6 Users Say Thank You to MartinK For This Useful Post: