Active Topics

 



Notices


Reply
Thread Tools
Whispering Weasel's Avatar
Posts: 54 | Thanked: 89 times | Joined on May 2011 @ Vlaardingen, Netherlands
#1571
New version with online search working again :-)

Just a remark, when searching online for poi it now seems limited to 50km? (maybe add option for listing all poi's).
And maybe a bug: Once a POI is found I can display it on the map etc. but when in the POI list (search results), then clicking the POI and then on Tools - add to POI; nothing happens (when it should ask in which category to save?).
__________________
Weaseling out of things is important to learn ! It's what separates us from the animals,
... except the weasel. (Homer Simpson)
 

The Following 5 Users Say Thank You to Whispering Weasel For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1572
Originally Posted by Kossuth View Post
It seems that I cant download basic Google maps anymore (normal way, not batch download). Other Google maps and for example OSM works, but not basic Google maps. Already downloaded tiles show normally. Terminal give following errors

Code:
mapTiles: tile data returned by remote tileserver was not an image
layer:gmap z:12 x:2370 y:1121
tile url: http://mt1.google.com/vt/&x=12&y=2370&z=1121
NOTE: this probably means that the tileserver returned anerror page in place of the tile, because it doesn't like you
mapTiles: tile data returned by remote tileserver was not an image
layer:gmap z:12 x:2370 y:1120
tile url: http://mt1.google.com/vt/&x=12&y=2370&z=1120
NOTE: this probably means that the tileserver returned anerror page in place of the tile, because it doesn't like you
The urls return google errorpage about malformed request.

Edit: It may be that Modrana is requesting the tile in wrong order (X,Y,Z) and it should be (Z,X,Y). At least when I change the order in url, I get a map tile with my browser.
Thanks! Fixed in 0.46.2, which should be hitting autobuilder any moment now.

Originally Posted by Whispering Weasel View Post
New version with online search working again :-)

Just a remark, when searching online for poi it now seems limited to 50km? (maybe add option for listing all poi's).
AFAIK it seems to be the limit of the Google Places API.
BTW, the range seems to a rather soft limit/hint - you might often get results that are outside of the current range if nothing is found inside the range.
Not sure if this happens for results outside the 50 km range though.

Originally Posted by Whispering Weasel View Post
And maybe a bug: Once a POI is found I can display it on the map etc. but when in the POI list (search results), then clicking the POI and then on Tools - add to POI; nothing happens (when it should ask in which category to save?).
I'll check it out - could be that the format of the POI object changed due to the new API which in turn could have broken the code that saves the point to the POI database.
__________________
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 8 Users Say Thank You to MartinK For This Useful Post:
Posts: 159 | Thanked: 217 times | Joined on Oct 2011
#1573
Using 0.46.2 normal download for Googlemaps works now. Thanks. An error caught my eye during install. Dont know if it is of any imoportance.

Code:
Compiling /opt/modrana/modules/mod_location/gps_module/__init__.py ...
  File "/opt/modrana/modules/mod_location/gps_module/__init__.py", line 9
    from .gps import *
SyntaxError: 'import *' not allowed with 'from .'

Compiling /opt/modrana/modules/mod_location/gps_module/client.py ...
Compiling /opt/modrana/modules/mod_location/gps_module/gps.py ...
  File "/opt/modrana/modules/mod_location/gps_module/gps.py", line 17
    from .client import *
SyntaxError: 'import *' not allowed with 'from .'
Also noticed that batch download for Google or OSM Mapnik does not download anything or give any errors. I just tells that all tiles were found locally, and I'm pretty sure that they are not on my system, because I tested this on several different new places. I know the google did not work previously with batch download, but at least it gave error. I found the following on terminal

Code:
tileExists2() got multiple values for keyword argument 'fromThread'
exception in batch download thread:
tileExists2() got multiple values for keyword argument 'fromThread'
exception in batch download thread:
tileExists2() got multiple values for keyword argument 'fromThread'
exception in batch download thread:
tileExists2() got multiple values for keyword argument 'fromThread'
INFO:Thread Done: batchTileDownloadWorker3 (1073862784)
exception in batch download thread:
tileExists2() got multiple values for keyword argument 'fromThread'
INFO:Thread Done: batchTileDownloadWorker1 (1073862784)
exception in batch download thread:
tileExists2() got multiple values for keyword argument 'fromThread'
exception in batch download thread:
tileExists2() got multiple values for keyword argument 'fromThread'
 

The Following 4 Users Say Thank You to Kossuth For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1574
Originally Posted by Kossuth View Post
Using 0.46.2 normal download for Googlemaps works now. Thanks. An error caught my eye during install. Dont know if it is of any imoportance.

Code:
Compiling /opt/modrana/modules/mod_location/gps_module/__init__.py ...
  File "/opt/modrana/modules/mod_location/gps_module/__init__.py", line 9
    from .gps import *
SyntaxError: 'import *' not allowed with 'from .'

Compiling /opt/modrana/modules/mod_location/gps_module/client.py ...
Compiling /opt/modrana/modules/mod_location/gps_module/gps.py ...
  File "/opt/modrana/modules/mod_location/gps_module/gps.py", line 17
    from .client import *
SyntaxError: 'import *' not allowed with 'from .'
This is fortunately harmless - the Fremantle package is built from the full modRana source tarball, which contains some code that is not used on Fremantle and might not be fully Python 2.5 compatible.
For example, there are two versions of Urllib 3 - one Python 2.5 compatible, other for Python 2.6+ & Python 3+.

The incompatible code then shows up as error when the modRana package generates bytecode in it's postinst script.

Still, I'll try to exclude such sourcecode from the package in the future, which should get rid of those error and bring the size of the package down a bit too.


Originally Posted by Kossuth View Post
Also noticed that batch download for Google or OSM Mapnik does not download anything or give any errors. I just tells that all tiles were found locally, and I'm pretty sure that they are not on my system, because I tested this on several different new places. I know the google did not work previously with batch download, but at least it gave error. I found the following on terminal

Code:
tileExists2() got multiple values for keyword argument 'fromThread'
exception in batch download thread:
tileExists2() got multiple values for keyword argument 'fromThread'
exception in batch download thread:
tileExists2() got multiple values for keyword argument 'fromThread'
exception in batch download thread:
tileExists2() got multiple values for keyword argument 'fromThread'
INFO:Thread Done: batchTileDownloadWorker3 (1073862784)
exception in batch download thread:
tileExists2() got multiple values for keyword argument 'fromThread'
INFO:Thread Done: batchTileDownloadWorker1 (1073862784)
exception in batch download thread:
tileExists2() got multiple values for keyword argument 'fromThread'
exception in batch download thread:
tileExists2() got multiple values for keyword argument 'fromThread'
Looks like a function was called incorrectly in some circumstances, should be now fixed.
__________________
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 4 Users Say Thank You to MartinK For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1575
in other news, modRana 0.46.5 is out!

This is basically a bugfix release:
  • local search results can be again saved to the POI database
  • the above mentioned batch download error should be also fixed

Enjoy!
__________________
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 10 Users Say Thank You to MartinK For This Useful Post:
Posts: 1,417 | Thanked: 2,619 times | Joined on Jan 2011 @ Touring
#1576
As always modrana is super!
I have asked about the location sharing in the past as we had in tangoGPS on the old Openmoko.
Today I thought about a way to do that without needing a centralized server.
Can a feature be added to format the GPS coordinates into a SMS or read a SMS with coordinates in it?
I just recently had to find some lost visitors and again wished I had a way to easily have them send me their location or give them a bulletproof way to receive and use in a map app a meet-up location.
The idea being that even a dunce can just import or export to/from a SMS if the app can read it without cut/paste.
 

The Following 4 Users Say Thank You to biketool For This Useful Post:
Posts: 650 | Thanked: 497 times | Joined on Oct 2008 @ Ghent, Belgium
#1577
With this and previous release I sometimes have tiles that stay in 'waiting for download slot'

I can drag around and see other tiles getting downloaded, I can even change zoomlevel and see good downloads, but when I return to the problem tiles they are still waiting for download slot.

Must start from commandline to see if any erors are reported.
__________________
Affordable mobile internet in Belgium: Try Mobile Vikings
2 GB, 1000 SMS and 15 euro of talk time for.... 15 euro
 

The Following User Says Thank You to petur For This Useful Post:
Posts: 252 | Thanked: 221 times | Joined on Jul 2010
#1578
Tile download was apparently fixed for me with 0.46.2 but with 0.46.5 I am again seeing tile sever download errors with google maps.
__________________
21.2011.38-1Smaemo7 (CSSU Stable)
2.6.28.10power53 (not overclocked)
Yes, I search before posting.
 

The Following 5 Users Say Thank You to chill For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#1579
I wonder if anyone get the following weirdo:

Since one of latest updatest, I get very irritating "yellow boxes" that took place of usual "loading" or "downloading" tile-messages. What is strange, though, is that those yellow things keep re-appearing even after corresponding tiles were already loaded - for example, if I load tiles on zoom 16, change to zoom 15 and go back, I see those yellow tiles, to be replaced with normal tiles after a few seconds, AGAIN.

What is worse, some of those ywllow tiles get stuck, too. Overall, suddenly it become very hard to use ModRana for navigating (and even normal map browsing), due to this.

/Estel

// Edit
Example of what I'm talking about:
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!

Last edited by Estel; 2014-05-16 at 11:41.
 

The Following 2 Users Say Thank You to Estel For This Useful Post:
Posts: 650 | Thanked: 497 times | Joined on Oct 2008 @ Ghent, Belgium
#1580
Yes, except mine are blue (waiting for download slot)

Martin, have you managed to reproduce this? This is a very annoying bug :/

Edit: forgot to mention that there are no real errors logged, even when 90% of the screen remains unloaded. Just one error at startup:

Code:
TypeError: update() takes exactly 1 argument (2 given) ('GTK GUI: size allocation', <GdkRectangle at 0x60ca18>)
but that seems to be before the sqlite tiles init.
__________________
Affordable mobile internet in Belgium: Try Mobile Vikings
2 GB, 1000 SMS and 15 euro of talk time for.... 15 euro

Last edited by petur; 2014-05-26 at 07:45.
 

The Following 2 Users Say Thank You to petur 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 04:44.