![]() |
2012-07-06
, 23:59
|
Posts: 98 |
Thanked: 44 times |
Joined on Mar 2010
@ Netherlands
|
#1072
|
What does CSSU1T mean ? Is that CSSU Testing or Thumb ? For the record, I'm running on CSSU stable with Extras-Devel enabled...
~ $ modrana == modRana Starting == modRana: loading options N900: dbus initialized N900 device specific module initialized * device: A N900 modRana device-specific module (910.00 ms) GTK GUI: size allocation <GdkRectangle at 0x333378> error in screen invalidating functionexception: 'NoneType' object has no attribute 'invalidate_rect' * gui: A GTK GUI module (210.00 ms) importing modules: * stats: Handles messages (10.00 ms) * units: a unit handling module (0.00 ms) * tracklogManager: Module for managing tracklogs (20.00 ms) * notification: This module provides notification support. (10.00 ms) * showGPX: draws a GPX track on the map (10.00 ms) * config: Handle configuration, options, and setup (10.00 ms) @ mapTiles: map folder path: /home/user/MyDocs/.maps/ * mapTiles: Display map images (410.00 ms) * icons: Draw icons (50.00 ms) * keys: A keyboard input handling module (0.00 ms) * menu: Handle menus (30.00 ms) * clickHandler: handle mouse clicks (0.00 ms) * mapData: Handle downloading of map data (50.00 ms) * example: A sample pyroute module (10.00 ms) * routeProfile: Creates a route profile (an elevation chart) (260.00 ms) * storeTiles: Single-file-fs tile storage (30.00 ms) * messages: Handles messages (0.00 ms) * loadTracklogs: A sample pyroute module (20.00 ms) * onlineServices: A module for talking to various online services (70.00 ms) * info: A modRana information handling module (0.00 ms) * showOSD: Draw OSD (On Screen Display). (10.00 ms) * textEntry: A module for handling text entry. (0.00 ms) * log: A modRana logging module (10.00 ms) * askMenu: A sample pyroute module (0.00 ms) * tracklog: Record tracklogs (20.00 ms) * search: Search for POI (10.00 ms) * animatedMapView: A sample pyroute module (10.00 ms) * markers: A module handling markers on the map. (10.00 ms) * updateTiles: Update stored map tiles. (0.00 ms) @ storePOI: POI database path: @ /home/user/MyDocs/.maps/modrana_poi.db @ storePOI: connection to POI db established * storePOI: Store POI data. (10.00 ms) * showPOI: Show POI on the map and in the menu. (0.00 ms) * display: A platform independent display device control module (0.00 ms) * sketch: Sketching functionality (10.00 ms) * options: Handle options (10.00 ms) * route: Routes (110.00 ms) * location: Supplies position info from a position source (10.00 ms) * positionMarker: A sample pyroute module (10.00 ms) * mapView: Controls the view being displayed on the map (10.00 ms) * input: Handle input from keyboard, buttons, etc. (10.00 ms) * voice: Handle text to speach. (30.00 ms) * turnByTurn: A turn by turn navigation module. (20.00 ms) * tileserver: A modRana built-in tileserver (30.00 ms) * projection: Projection code (lat/long to screen conversions) (10.00 ms) * interfaceFeedback: A sample pyroute module (10.00 ms) * cron: A GTK timing and scheduling module for modRana (0.00 ms) Loaded all modules in 1380.00 ms, initialising icons: switched theme to: ios location: starting GPSD 1 second timer location: enabling location ** n900 - location: - GPS successfully activated ** n900 - location: activated display: keep display ON -> always N900 rotation object initialized N900: rotation object loaded True N900: key centred toggled N900: key soundEnabled toggled N900: application menu added ** making a list of available tracklogs * using this tracklog folder: * /home/user/MyDocs/tracklogs * there are 100 tracklogs available ** True mapView: switching map drag mode to default mapView: switching centering disable threshold to 2048 Initialization complete in 330.00 ms ** modRana startup timing ** # device: Nokia N900 (n900) * modRana start (0 ms), 0/7466 ms * imports done (667 ms), 667/7466 ms * GUI creation (0 ms), 668/7466 ms * window created (1576 ms), 2244/7466 ms * map widget created (1 ms), 2245/7466 ms * window finalized (87 ms), 2331/7466 ms * all modules loaded (3478 ms), 5809/7466 ms * all modules initialized (1656 ms), 7466/7466 ms ** whole startup: 7466 ms ** display: redraw ON (window not hidden or minimised) TypeError: update() takes exactly 1 argument (2 given) display: redraw ON (N900 window is active) GTK GUI: size allocation <GdkRectangle at 0x47bf20> icons: not found Clicked, sending menu:screenClicked Clicked, sending set:menu:main Clicked, sending set:menu:tracklog#tracklog setting up tracklogTools menu Clicked, sending tracklog:incrementStartIndex|tracklog:startLogging|set:needRedraw:True starting to log initializing the log file tracklog: log_20120705#13-12-41.gpx tracklog saved successfully log file initialized Clicked, sending tracklog:reset|set:menu:main updating the log saving log increment tracklog: log_20120705#13-12-41.gpx tracklog saved successfully Clicked, sending set:menu:None Clicked, sending menu:screenClicked Clicked, sending set:menu:main updating the log saving log increment tracklog: log_20120705#13-12-41.gpx tracklog saved successfully Clicked, sending set:menu:tracklog#tracklog updating the log Clicked, sending tracklog:stopLogging stopping the logging tracklog: log_20120705#13-12-41.gpx tracklog saved successfully ** making a list of available tracklogs * using this tracklog folder: * /home/user/MyDocs/tracklogs * there are 101 tracklogs available ** Shutting-down modules shutdown imminent, committing all uncommitted tiles storeTiles: sqlite commit OK all tiles committed, breaking, goodbye :) mapTiles: automatic tile download management thread shutting down storePOI: disconnecting from db location: disabling location n900 - location: stopping modRana: saving options modRana: options successfully saved Shutdown complete
~ $ modrana == modRana Starting == modRana: loading options modRana: module: device_n900/device failed to load Traceback (most recent call last): File "modrana.py", line 293, in _loadModule a = __import__(importName) File "/opt/modrana/modules/device_modules/device_n900.py", line 31, in <module> import hildon ImportError: No module named hildon modRana: no device module name providedloading the Neo device module as fail-safe * device: A Neo FreeRunner modRana device-specific module (0.00 ms) GTK GUI: size allocation <GdkRectangle at 0x2ef738> error in screen invalidating functionexception: 'NoneType' object has no attribute 'invalidate_rect' * gui: A GTK GUI module (600.00 ms) importing modules: * menu: Handle menus (30.00 ms) * tracklogManager: Module for managing tracklogs (0.00 ms) * stats: Handles messages (10.00 ms) * keys: A keyboard input handling module (0.00 ms) * sketch: Sketching functionality (0.00 ms) * askMenu: A sample pyroute module (0.00 ms) onlineServices: using integrated non-binary simplejson, install proper simplejson package for better speed * onlineServices: A module for talking to various online services (290.00 ms) * tracklog: Record tracklogs (10.00 ms) * markers: A module handling markers on the map. (0.00 ms) * updateTiles: Update stored map tiles. (0.00 ms) * search: Search for POI (10.00 ms) * route: Routes (130.00 ms) * showPOI: Show POI on the map and in the menu. (0.00 ms) @ location: using GPSD modules/mod_location/gps_daemon.py:171: Warning: 'with' will become a reserved keyword in Python 2.6 modRana: module: mod_location/location failed to load Traceback (most recent call last): File "modrana.py", line 297, in _loadModule module = a.getModule(self.m, self.d, initInfo) File "/opt/modrana/modules/mod_location/mod_location.py", line 25, in getModule return(Location(m,d,i)) File "/opt/modrana/modules/mod_location/mod_location.py", line 50, in __init__ import gps_daemon File "modules/mod_location/gps_daemon.py", line 171 with self.lock: ^ SyntaxError: invalid syntax * loadTracklogs: A sample pyroute module (10.00 ms) * voice: Handle text to speach. (0.00 ms) * showOSD: Draw OSD (On Screen Display). (260.00 ms) * notification: This module provides notification support. (10.00 ms) * interfaceFeedback: A sample pyroute module (0.00 ms) * routeProfile: Creates a route profile (an elevation chart) (0.00 ms) * log: A modRana logging module (0.00 ms) * storeTiles: Single-file-fs tile storage (20.00 ms) * mapData: Handle downloading of map data (60.00 ms) * animatedMapView: A sample pyroute module (10.00 ms) * input: Handle input from keyboard, buttons, etc. (0.00 ms) * info: A modRana information handling module (10.00 ms) * turnByTurn: A turn by turn navigation module. (0.00 ms) * positionMarker: A sample pyroute module (10.00 ms) * tileserver: A modRana built-in tileserver (20.00 ms) * clickHandler: handle mouse clicks (0.00 ms) @ storePOI: POI database path: @ /home/user/.modrana/poi/modrana_poi.db @ storePOI: connection to POI db established * storePOI: Store POI data. (0.00 ms) * projection: Projection code (lat/long to screen conversions) (10.00 ms) * display: A platform independent display device control module (0.00 ms) * icons: Draw icons (220.00 ms) * cron: A GTK timing and scheduling module for modRana (10.00 ms) * showGPX: draws a GPX track on the map (0.00 ms) * config: Handle configuration, options, and setup (10.00 ms) * mapView: Controls the view being displayed on the map (10.00 ms) @ mapTiles: map folder path: /home/user/.modrana/maps * mapTiles: Display map images (160.00 ms) * units: a unit handling module (10.00 ms) * textEntry: A module for handling text entry. (0.00 ms) * messages: Handles messages (0.00 ms) * options: Handle options (10.00 ms) * example: A sample pyroute module (10.00 ms) Loaded all modules in 1400.00 ms, initialising icons: switched theme to: default ** making a list of available tracklogs * using this tracklog folder: * /home/user/.modrana/tracklogs * there are 3 tracklogs available ** mapView: switching map drag mode to staticMapDrag mapView: switching centering disable threshold to 2048 Initialization complete in 60.00 ms ** modRana startup timing ** # device: OpenMoko Neo FreeRunner (neo) * modRana start (0 ms), 0/4170 ms * imports done (322 ms), 322/4170 ms * GUI creation (0 ms), 322/4170 ms * window created (1093 ms), 1415/4170 ms * map widget created (1 ms), 1416/4170 ms * window finalized (12 ms), 1428/4170 ms * all modules loaded (2519 ms), 3947/4170 ms * all modules initialized (223 ms), 4170/4170 ms ** whole startup: 4170 ms ** display: redraw ON (window not hidden or minimised) TypeError: update() takes exactly 1 argument (2 given) icons: not found GTK GUI: size allocation <GdkRectangle at 0x44fe48> icons: not found Shutting-down modules storePOI: disconnecting from db shutdown imminent, committing all uncommitted tiles storeTiles: sqlite commit OK all tiles committed, breaking, goodbye :) modRana: saving options modRana: options successfully saved mapTiles: automatic tile download management thread shutting down Shutdown complete
![]() |
2012-07-07
, 08:09
|
Posts: 12 |
Thanked: 8 times |
Joined on Nov 2010
@ South Africa
|
#1073
|
modrana-qml
![]() |
2012-07-07
, 08:27
|
Posts: 432 |
Thanked: 917 times |
Joined on Jun 2011
|
#1074
|
![]() |
2012-07-08
, 07:37
|
Posts: 12 |
Thanked: 8 times |
Joined on Nov 2010
@ South Africa
|
#1075
|
Reply to Martin RE:
ModRana QML is the new alternative GUI for modRana, based on Qt & QML. It is quite basic at the moment, but not really that basic (it does show a lot more than just a white screen).
Do you have CSSU installed ? The QML GUI basically requires it to work correctly, as the Qt & PySide versions on stock PR 1.3 Fremantle are too old & buggy for it to work correctly.
Also, please try to start modRana QML from the terminal:
And post the output. Thanks !Code:modrana-qml
Hi Martin, I did try to run from the terminal but still the completely white blank screen.(I was going to post the output from X-terminal but don't know how to save it as I only have FreOffice & it would not save the file? Which APP could I use to save the output?)
I then installed 'CSSU Features' but when started it shows "The Community SSU is not installed. Some features might not work correctly." Then a message "ERROR: Reading the configurations settings gave a FATAL ERROR while reading the gconf values. Not all settings are available. Exiting....."
Starting modRana QML still gives the completely white blank screen.
At one point the phone completely froze so I am a little concerned. Perhaps I should just live without QML and just continue to use modRana which works A-OK
Many thanks for your input
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash) Enter 'help' for a list of built-in commands. ~ $ modrana-qml > log_modrana.txt Preloading theme "base" from cache file:///opt/modrana/modules/gui_modules/gui_qml/qml/main.qml:13:19: Type MapPage unavailable initialPage : MapPage { ^ file:///opt/modrana/modules/gui_modules/gui_qml/qml/MapPage.qml:20:5: Type PinchMap unavailable PinchMap { ^ file:///opt/modrana/modules/gui_modules/gui_qml/qml/PinchMap.qml:422:5: PinchArea is not a type PinchArea { ^ Killed ~ $
The Following User Says Thank You to Evok For This Useful Post: | ||
![]() |
2012-07-09
, 21:50
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#1076
|
I' m unaware where so I post a full run&exit while in between reproducing this issue: 2 Mins of tracklogging (3 points created).
* logging trace is not shown on map until a color is selected * if a tracklog detail has been visited, the logging menu "tools" goes to tracklog detail "tools" * logging intervals seem to be ignored * tracklogs that are created seem to be corrupted or in wrong format
edit: I flashed my second n900 device to EMMC_By.MiDO.FaYad.8.giga.bin, + Vanilla PR1.3 kernel. Installed CSSU 21.2011.38-1Smaemo3 (as latest stable vers.).
Now modRana won't launch GPS (modR QML does OK )). I don't understand, that N900 is quite empty now...
What can be so wrong/ different (f.i. from standard configuration of N900) ? Any do's & don'ts in these basics I'm completely ignoring?Code:~ $ modrana == modRana Starting == modRana: loading options modRana: module: device_n900/device failed to load Traceback (most recent call last): File "modrana.py", line 293, in _loadModule a = __import__(importName) File "/opt/modrana/modules/device_modules/device_n900.py", line 31, in <module> import hildon ImportError: No module named hildon modRana: no device module name providedloading the Neo device module as fail-safe * device: A Neo FreeRunner modRana device-specific module (0.00 ms) GTK GUI: size allocation <GdkRectangle at 0x2ef738> error in screen invalidating functionexception: 'NoneType' object has no attribute 'invalidate_rect' * gui: A GTK GUI module (600.00 ms) importing modules: * menu: Handle menus (30.00 ms) * tracklogManager: Module for managing tracklogs (0.00 ms) * stats: Handles messages (10.00 ms) * keys: A keyboard input handling module (0.00 ms) * sketch: Sketching functionality (0.00 ms) * askMenu: A sample pyroute module (0.00 ms) onlineServices: using integrated non-binary simplejson, install proper simplejson package for better speed * onlineServices: A module for talking to various online services (290.00 ms) * tracklog: Record tracklogs (10.00 ms) * markers: A module handling markers on the map. (0.00 ms) * updateTiles: Update stored map tiles. (0.00 ms) * search: Search for POI (10.00 ms) * route: Routes (130.00 ms) * showPOI: Show POI on the map and in the menu. (0.00 ms) @ location: using GPSD modules/mod_location/gps_daemon.py:171: Warning: 'with' will become a reserved keyword in Python 2.6 modRana: module: mod_location/location failed to load Traceback (most recent call last): File "modrana.py", line 297, in _loadModule module = a.getModule(self.m, self.d, initInfo) File "/opt/modrana/modules/mod_location/mod_location.py", line 25, in getModule return(Location(m,d,i)) File "/opt/modrana/modules/mod_location/mod_location.py", line 50, in __init__ import gps_daemon File "modules/mod_location/gps_daemon.py", line 171 with self.lock: ^ SyntaxError: invalid syntax * loadTracklogs: A sample pyroute module (10.00 ms) * voice: Handle text to speach. (0.00 ms) * showOSD: Draw OSD (On Screen Display). (260.00 ms) * notification: This module provides notification support. (10.00 ms) * interfaceFeedback: A sample pyroute module (0.00 ms) * routeProfile: Creates a route profile (an elevation chart) (0.00 ms) * log: A modRana logging module (0.00 ms) * storeTiles: Single-file-fs tile storage (20.00 ms) * mapData: Handle downloading of map data (60.00 ms) * animatedMapView: A sample pyroute module (10.00 ms) * input: Handle input from keyboard, buttons, etc. (0.00 ms) * info: A modRana information handling module (10.00 ms) * turnByTurn: A turn by turn navigation module. (0.00 ms) * positionMarker: A sample pyroute module (10.00 ms) * tileserver: A modRana built-in tileserver (20.00 ms) * clickHandler: handle mouse clicks (0.00 ms) @ storePOI: POI database path: @ /home/user/.modrana/poi/modrana_poi.db @ storePOI: connection to POI db established * storePOI: Store POI data. (0.00 ms) * projection: Projection code (lat/long to screen conversions) (10.00 ms) * display: A platform independent display device control module (0.00 ms) * icons: Draw icons (220.00 ms) * cron: A GTK timing and scheduling module for modRana (10.00 ms) * showGPX: draws a GPX track on the map (0.00 ms) * config: Handle configuration, options, and setup (10.00 ms) * mapView: Controls the view being displayed on the map (10.00 ms) @ mapTiles: map folder path: /home/user/.modrana/maps * mapTiles: Display map images (160.00 ms) * units: a unit handling module (10.00 ms) * textEntry: A module for handling text entry. (0.00 ms) * messages: Handles messages (0.00 ms) * options: Handle options (10.00 ms) * example: A sample pyroute module (10.00 ms) Loaded all modules in 1400.00 ms, initialising icons: switched theme to: default ** making a list of available tracklogs * using this tracklog folder: * /home/user/.modrana/tracklogs * there are 3 tracklogs available ** mapView: switching map drag mode to staticMapDrag mapView: switching centering disable threshold to 2048 Initialization complete in 60.00 ms ** modRana startup timing ** # device: OpenMoko Neo FreeRunner (neo) * modRana start (0 ms), 0/4170 ms * imports done (322 ms), 322/4170 ms * GUI creation (0 ms), 322/4170 ms * window created (1093 ms), 1415/4170 ms * map widget created (1 ms), 1416/4170 ms * window finalized (12 ms), 1428/4170 ms * all modules loaded (2519 ms), 3947/4170 ms * all modules initialized (223 ms), 4170/4170 ms ** whole startup: 4170 ms ** display: redraw ON (window not hidden or minimised) TypeError: update() takes exactly 1 argument (2 given) icons: not found GTK GUI: size allocation <GdkRectangle at 0x44fe48> icons: not found Shutting-down modules storePOI: disconnecting from db shutdown imminent, committing all uncommitted tiles storeTiles: sqlite commit OK all tiles committed, breaking, goodbye :) modRana: saving options modRana: options successfully saved mapTiles: automatic tile download management thread shutting down Shutdown complete
from __future__ import with_statement # for python 2.5
Here is (finally) the output..
Perhaps this will help....Code:BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash) Enter 'help' for a list of built-in commands. ~ $ modrana-qml > log_modrana.txt Preloading theme "base" from cache file:///opt/modrana/modules/gui_modules/gui_qml/qml/main.qml:13:19: Type MapPage unavailable initialPage : MapPage { ^ file:///opt/modrana/modules/gui_modules/gui_qml/qml/MapPage.qml:20:5: Type PinchMap unavailable PinchMap { ^ file:///opt/modrana/modules/gui_modules/gui_qml/qml/PinchMap.qml:422:5: PinchArea is not a type PinchArea { ^ Killed ~ $
The Following 5 Users Say Thank You to MartinK For This Useful Post: | ||
![]() |
2012-07-11
, 05:13
|
Posts: 98 |
Thanked: 44 times |
Joined on Mar 2010
@ Netherlands
|
#1077
|
Thats weird - this:
should be on the first line in /opt/modrana/modules/mod_location/gps_daemon.py.Code:from __future__ import with_statement # for python 2.5
Hotfix submitted, no need to manually edit anything, just update to V0.35.5 and try if GPS works.
$ modrana == modRana Starting == modRana: loading options modRana: module: device_n900/device failed to load Traceback (most recent call last): File "modrana.py", line 293, in _loadModule a = __import__(importName) File "/opt/modrana/modules/device_modules/device_n900.py", line 31, in <module> import hildon ImportError: No module named hildon modRana: no device module name providedloading the Neo device module as fail-safe * device: A Neo FreeRunner modRana device-specific module (0.00 ms) GTK GUI: size allocation <GdkRectangle at 0x2ef738> error in screen invalidating functionexception: 'NoneType' object has no attribute 'invalidate_rect' * gui: A GTK GUI module (600.00 ms) importing modules: * menu: Handle menus (30.00 ms) * tracklogManager: Module for managing tracklogs (0.00 ms) * stats: Handles messages (10.00 ms) * keys: A keyboard input handling module (10.00 ms) * sketch: Sketching functionality (10.00 ms) * askMenu: A sample pyroute module (0.00 ms) onlineServices: using integrated non-binary simplejson, install proper simplejson package for better speed * onlineServices: A module for talking to various online services (310.00 ms) * tracklog: Record tracklogs (0.00 ms) * markers: A module handling markers on the map. (20.00 ms) * updateTiles: Update stored map tiles. (0.00 ms) * search: Search for POI (0.00 ms) * route: Routes (100.00 ms) * showPOI: Show POI on the map and in the menu. (10.00 ms) @ location: using GPSD * location: Supplies position info from a position source (0.00 ms) * loadTracklogs: A sample pyroute module (10.00 ms) * voice: Handle text to speach. (0.00 ms) * showOSD: Draw OSD (On Screen Display). (260.00 ms) * notification: This module provides notification support. (0.00 ms) * interfaceFeedback: A sample pyroute module (0.00 ms) * routeProfile: Creates a route profile (an elevation chart) (0.00 ms) * log: A modRana logging module (0.00 ms) * storeTiles: Single-file-fs tile storage (30.00 ms) * mapData: Handle downloading of map data (50.00 ms) * animatedMapView: A sample pyroute module (0.00 ms) * input: Handle input from keyboard, buttons, etc. (0.00 ms) * info: A modRana information handling module (0.00 ms) * turnByTurn: A turn by turn navigation module. (10.00 ms) * positionMarker: A sample pyroute module (0.00 ms) * tileserver: A modRana built-in tileserver (50.00 ms) * clickHandler: handle mouse clicks (10.00 ms) @ storePOI: POI database path: @ /home/user/.modrana/poi/modrana_poi.db @ storePOI: connection to POI db established * storePOI: Store POI data. (10.00 ms) * projection: Projection code (lat/long to screen conversions) (0.00 ms) * display: A platform independent display device control module (10.00 ms) * icons: Draw icons (210.00 ms) * cron: A GTK timing and scheduling module for modRana (0.00 ms) * showGPX: draws a GPX track on the map (10.00 ms) * config: Handle configuration, options, and setup (10.00 ms) * mapView: Controls the view being displayed on the map (0.00 ms) @ mapTiles: map folder path: /home/user/.modrana/maps * mapTiles: Display map images (150.00 ms) * units: a unit handling module (0.00 ms) * textEntry: A module for handling text entry. (10.00 ms) * messages: Handles messages (0.00 ms) * options: Handle options (10.00 ms) * example: A sample pyroute module (10.00 ms) Loaded all modules in 1370.00 ms, initialising icons: switched theme to: default location: starting GPSD 1 second timer location: enabling location ('location GPSD: connecting to GPSD failed', error(111, 'Connection refused')) ** making a list of available tracklogs * using this tracklog folder: * /home/user/.modrana/tracklogs * there are 2 tracklogs available ** mapView: switching map drag mode to staticMapDrag mapView: switching centering disable threshold to 2048 Initialization complete in 90.00 ms ** modRana startup timing ** # device: OpenMoko Neo FreeRunner (neo) * modRana start (0 ms), 0/4361 ms * imports done (333 ms), 333/4361 ms * GUI creation (0 ms), 333/4361 ms * window created (1080 ms), 1413/4361 ms * map widget created (1 ms), 1414/4361 ms * window finalized (11 ms), 1425/4361 ms * all modules loaded (2590 ms), 4016/4361 ms * all modules initialized (345 ms), 4361/4361 ms ** whole startup: 4361 ms ** display: redraw ON (window not hidden or minimised) TypeError: update() takes exactly 1 argument (2 given) icons: not found GTK GUI: size allocation <GdkRectangle at 0x457398> icons: not found Shutting-down modules storePOI: disconnecting from db location: disabling location location: stopping location failed GPSD instance has no attribute 'GPSDConsumer' shutdown imminent, committing all uncommitted tiles storeTiles: sqlite commit OK all tiles committed, breaking, goodbye :) modRana: saving options mapTiles: automatic tile download management thread shutting down modRana: options successfully saved Shutdown complete error in screen invalidating functionexception: 'NoneType' object has no attribute 'invalidate_rect' ~ $
![]() |
2012-07-11
, 11:05
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#1078
|
modRana: module: device_n900/device failed to load Traceback (most recent call last): File "modrana.py", line 293, in _loadModule a = __import__(importName) File "/opt/modrana/modules/device_modules/device_n900.py", line 31, in <module> import hildon ImportError: No module named hildon modRana: no device module name providedloading the Neo device module as fail-safe
Cool, I'll be happy to wait for this fix. Tracklogging in my eyes is a top row feature of modRana
The Following 3 Users Say Thank You to MartinK For This Useful Post: | ||
![]() |
2012-07-11
, 17:14
|
Posts: 43 |
Thanked: 50 times |
Joined on Apr 2011
@ Ipoh, Malaysia
|
#1079
|
OK, I've got a working Perl script to import map tiles into the database.
At the moment, it won't run on the N900 itself, as I'm having a few problems getting the SQLite module to build on my scratchbox installation; I'll work on that over the next few days when I have spare time and see if I can get that working.
Dependencies: You'll need to install the Perl DBI and DBD-SQLite modules. These should be available from your disto's repositories (otherwise, get them from CPAN).
It took about 75 minutes to import my 200 000 tiles into the database on my dual-core Athlon machine; obviously this will vary depending on the speed of the machine it's done on. The script is interruptible - just hit Control-C and it'll shut down cleanly. Then restart at your leisure.
Getting it to work on an OS other than Linux is left as an exercise for the reader, as I'm happily Microsoft-free.
It demonstrates well the oft-mentioned clustering problem with FAT partitions; my tile files allocated 12.5G of space, whereas the store file is only 543M.
Instructions:
Download the script from http://www.beermad.org.uk/mapconvert
Either copy your ~/MyDocs/.maps directory to your Linux box or mount your MyDocs partition on it. Try to preserve the timestamps if copying (as they're recorded in the database, I assume they're used to work out if a new copy of any tile is needed if they've changed on the tile server) - for example, if using scp:
The script only works on tiles in the current working directory, so for each map-type, cd into the relevant directory:Code:scp -pr ~/MyDocs/.maps mycomputer:/tmp
Then run the script (no parameters needed).Code:cd /path/to/tile_directory
If necessary, copy the lookup.sqlite and store.sqlite.* files back to your N900.
If there are any tiles already in the database, it leaves them there and it doesn't try to over-write any if one it finds already exists (at some time I should change this so it does over-write if the tile file is newer).
If you already have tiles in a database, I recommend making a copy first, just in case anything goes wrong. I've tested the script a fair bit, but can't guarantee something won't screw up.
The Following User Says Thank You to MetalGearSolid For This Useful Post: | ||
![]() |
2012-07-11
, 22:44
|
Posts: 98 |
Thanked: 44 times |
Joined on Mar 2010
@ Netherlands
|
#1080
|
(...) users have probably already installed something, that has python-hildon as a dependency, so it works for them.
I've added the missing dependency in V0.31.6 - so please test.(...)
all proper simplejson package for better speed * onlineServices: A module for talking to various online services (310.00 ms) * tracklog: Record tracklogs (10.00 ms) * markers: A module handling markers on the map. (0.00 ms) * updateTiles: Update stored map tiles. (0.00 ms) * search: Search for POI (10.00 ms) * route: Routes (100.00 ms) * showPOI: Show POI on the map and in the menu. (10.00 ms) * location: Supplies position info from a position source (10.00 ms) * loadTracklogs: A sample pyroute module (10.00 ms) * voice: Handle text to speach. (0.00 ms) * showOSD: Draw OSD (On Screen Display). (280.00 ms) * notification: This module provides notification support. (0.00 ms) * interfaceFeedback: A sample pyroute module (20.00 ms) * routeProfile: Creates a route profile (an elevation chart) (10.00 ms) * log: A modRana logging module (0.00 ms) * storeTiles: Single-file-fs tile storage (20.00 ms) * mapData: Handle downloading of map data (70.00 ms) * animatedMapView: A sample pyroute module (0.00 ms) * input: Handle input from keyboard, buttons, etc. (10.00 ms) * info: A modRana information handling module (10.00 ms) * turnByTurn: A turn by turn navigation module. (0.00 ms) * positionMarker: A sample pyroute module (10.00 ms) * tileserver: A modRana built-in tileserver (40.00 ms) * clickHandler: handle mouse clicks (0.00 ms) @ storePOI: POI database path: @ /home/user/MyDocs/.maps/modrana_poi.db @ storePOI: connection to POI db established * storePOI: Store POI data. (0.00 ms) * projection: Projection code (lat/long to screen conversions) (0.00 ms) * display: A platform independent display device control module (0.00 ms) * icons: Draw icons (250.00 ms) * cron: A GTK timing and scheduling module for modRana (10.00 ms) * showGPX: draws a GPX track on the map (0.00 ms) * config: Handle configuration, options, and setup (0.00 ms) * mapView: Controls the view being displayed on the map (0.00 ms) @ mapTiles: map folder path: /home/user/MyDocs/.maps/ * mapTiles: Display map images (120.00 ms) * units: a unit handling module (10.00 ms) * textEntry: A module for handling text entry. (10.00 ms) * messages: Handles messages (10.00 ms) * options: Handle options (10.00 ms) * example: A sample pyroute module (0.00 ms) Loaded all modules in 1430.00 ms, initialising icons: switched theme to: default location: starting GPSD 1 second timer location: enabling location ** n900 - location: - GPS successfully activated ** n900 - location: activated N900 rotation object initialized N900: rotation object loaded True N900: key centred toggled N900: key soundEnabled toggled N900: application menu added ** making a list of available tracklogs * using this tracklog folder: * /home/user/MyDocs/tracklogs * there are 2 tracklogs available ** display: keep display ON -> always mapView: switching map drag mode to staticMapDrag mapView: switching centering disable threshold to 2048 Initialization complete in 220.00 ms ** modRana startup timing ** # device: Nokia N900 (n900) * modRana start (0 ms), 0/5263 ms * imports done (333 ms), 333/5263 ms * GUI creation (0 ms), 333/5263 ms * window created (1030 ms), 1364/5263 ms * map widget created (1 ms), 1365/5263 ms * window finalized (49 ms), 1414/5263 ms * all modules loaded (2803 ms), 4217/5263 ms * all modules initialized (1046 ms), 5263/5263 ms ** whole startup: 5263 ms ** display: redraw ON (window not hidden or minimised) TypeError: update() takes exactly 1 argument (2 given) display: redraw ON (N900 window is active) GTK GUI: size allocation <GdkRectangle at 0x4756a8> icons: not found Clicked, sending menu:screenClicked Clicked, sending menu:screenClicked Clicked, sending menu:screenClicked GTK GUI: size allocation <GdkRectangle at 0x5d4ba0> icons: not found display: redraw OFF (N900 window is not active) GTK GUI: size allocation <GdkRectangle at 0x5cff90> display: redraw ON (N900 window is active) display: redraw OFF (N900 window is not active) display: redraw ON (N900 window is active) Sending message: mapView:zoomOut notification: message: zooming <b>out</b> to zl 9, timeout: 0.0 notification@dmod: message: zooming <b>out</b> to zl 9, timeout: 0.0 unassigned key pressed: F8 mapTiles: can't create folder /home/user/MyDocs/.maps/Virtual Earth Hybrid/9/261 for /home/user/MyDocs/.maps/Virtual Earth Hybrid/9/261/169.jpg Shutting-down modules storePOI: disconnecting from db location: disabling location n900 - location: stopping shutdown imminent, committing all uncommitted tiles storeTiles: sqlite commit OK all tiles committed, breaking, goodbye :) modRana: saving options mapTiles: automatic tile download management thread shutting down modRana: options successfully saved Shutdown complete
The Following User Says Thank You to 7thd For This Useful Post: | ||
![]() |
Tags |
bada rox, martin_rocks, modrana, navigation, openstreetmap, the best, wehasgps |
|
#191
#192
I also finally got to integrating your improvements, they will be part of the next release.
Do you have CSSU installed ? The QML GUI basically requires it to work correctly, as the Qt & PySide versions on stock PR 1.3 Fremantle are too old & buggy for it to work correctly.
Also, please try to start modRana QML from the terminal:
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)
Last edited by MartinK; 2012-07-04 at 10:02.