View Single 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: