Notices


Reply
Thread Tools
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#1731
Originally Posted by nokiabot View Post
What about renaming modrana stable to LTS ;
That's of course up to Martin to decide but as I would see it,
  1. What would be the point?
  2. We already have extras (stable) and CSSU-Stable, so people are used to it.
  3. LTS means Long Term Support, implying some sort of contract. Stable implies done, with no or minimal changes.
  4. LTS implies branching for maintaing it separately from the main development. I would not expect Martin having that much manpower.
__________________
Русский военный корабль, иди нахуй!
 

The Following 7 Users Say Thank You to pichlo For This Useful Post:
Posts: 728 | Thanked: 1,217 times | Joined on Oct 2011
#1732
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...
 

The Following 4 Users Say Thank You to ggabriel For This Useful 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:
Posts: 728 | Thanked: 1,217 times | Joined on Oct 2011
#1734
Originally Posted by MartinK View Post
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 ).
Yeah, but isn't btrfs still inode based, hence each file will use an inode? Also, it's much easier to copy across the sqlite db(s) between laptop and phone than running an rsync of multiple files.
I'll wait for you to have a look, it isn't like I'm in a hurry or anything :-)
 

The Following 2 Users Say Thank You to ggabriel For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1735
Originally Posted by ggabriel View Post
Yeah, but isn't btrfs still inode based, hence each file will use an inode?
They note "Space-efficient packing of small files" as one of their main current features, so hopefully not.

Originally Posted by ggabriel View Post
Also, it's much easier to copy across the sqlite db(s) between laptop and phone than running an rsync of multiple files.
Yep, that's for sure!

Originally Posted by ggabriel View Post
I'll wait for you to have a look, it isn't like I'm in a hurry or anything :-)
__________________
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 5 Users Say Thank You to MartinK For This Useful Post:
Posts: 728 | Thanked: 1,217 times | Joined on Oct 2011
#1736
Originally Posted by MartinK View Post
They note "Space-efficient packing of small files" as one of their main current features, so hopefully not.
I suspected you'd respond as much, but there are a few bugs with the fs in general, plus the fact that btrfs's implementation in Sailfish is quite old, so I'll play it safe for now.
 

The Following 2 Users Say Thank You to ggabriel For This Useful Post:
nokiabot's Avatar
Posts: 1,974 | Thanked: 1,834 times | Joined on Mar 2013 @ india
#1737
@martink pichlo pretty much nailed it theres no point renaming i called lts as its really long term support ;
Btw any progress on qt5 and 3d on n900 )
 

The Following 2 Users Say Thank You to nokiabot For This Useful Post:
Posts: 188 | Thanked: 308 times | Joined on Jan 2013 @ UK
#1738
Finally got a Jolla and am moving to that. I've installed modrana on it and am having the sqlite tile issues as mentioned above. I'm also having an issue downloading the OS tiles from VE. A quick look around and I see that (a) not all the features are implemented in Jolla? and (b) I should be able to get a log of the download failure. I'll get that sorted, but thought I'd quickly check whether it's expected to fail on Jolla at the moment?

Thank you again for this great app, and for porting it to the Jolla. It's much appreciated.
 

The Following 2 Users Say Thank You to skanky For This Useful Post:
Posts: 188 | Thanked: 308 times | Joined on Jan 2013 @ UK
#1739
Okay, re the VE OS request, looking at the log there's a lot of entries like this:

Code:
2015-01-05 13:37:22,174 WARNING mod.mapTiles: tile data returned by remote tileserver was not an ima
ge
layer:vaer_ukos z:11 x:1016 y:662
tile url: http://tiles.virtualearth.net/tiles/r00000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002
222223011?g=41&productSet=mmOS
NOTE: this probably means that the tileserver returned an
error page in place of the tile, because it doesn't like you
The number of zeroes looks like it varies a little, but it's generally of that order for each request.

Does this help?
 

The Following 3 Users Say Thank You to skanky For This Useful Post:
Posts: 752 | Thanked: 2,808 times | Joined on Jan 2011 @ Czech Republic
#1740
Having picked the top SailfishOS apps, I tried to think why the most useful app on my N900 is launched only once a while after an update on my Jolla.

It's not just the lack of routing (even though that's major). I think the reasons are:
  • unreliability - on the N900, it was very reliable. I even used it as an online map source during my travels through the US as it hardly ever (yes, sometimes, but not very often) missed a download. Now I launched Modrana on Jolla, showed a POI on the map and 15 minutes later, the whole map is still covered with grey tiles with "mapnik: downloading" and "gtraffic_overlay: downloading". Sure, there might be problem in one layer, but both?
  • The most used feature other than routing was searching for POIs (mostly businesses). Is the provider on SailfishOS the same as in the Fremantle version? Because in 90% of cases, I chose an item from the menu [Food/Groceries] or so. Is it possible to add these categories on Sailfish as well? Keyword search isn't that useful to me.
  • The UI - when I'm driving, I prefer not to see any state change animations. Even though I have animations on SailfishOS disabled, the standard system animations (page changes) still occur - could this be overriden?
    And second, the back button - while driving, I don't want to swipe and the dot in the top left corner is too tiny to press without looking. Could you add the 'Back' menu option as in the Fremantle version?

Still, thanks for working on my favorite app from Fremantle!

 

The Following 3 Users Say Thank You to nodevel For This Useful Post:
Reply

Tags
bada rox, martin_rocks, modrana, navigation, openstreetmap, the best, wehasgps


 
Forum Jump


All times are GMT. The time now is 13:34.