View Single Post
Posts: 49 | Thanked: 11 times | Joined on Mar 2010
#755
Reinstalling didn't fix it. Python-dbus was already installed/latest version.

Tried again in CLI mode with latest version, this time without typing sudo gainroot. Seems to be complaining about a mod_location module.
Any help?

~ $ modrana
== modRana Starting ==
device string (first parameter): n900
size allocate <GdkRectangle at 0x2ca488>
error in screen invalidating function
exception: 'NoneType' object has no attribute 'invalidate_rect'
importing modules:
* icons: Draw icons (240.00 ms)
* info: A modRana information handling module (0.00 ms)
* updateTiles: Update stored map tiles. (0.00 ms)
* example: A sample pyroute module (0.00 ms)
* projection: Projection code (lat/long to screen conversions) (40.00 ms)
* showPOI: Show POI on the map and in the menu. (0.00 ms)
* animatedMapView: A sample pyroute module (10.00 ms)
* showGPX: draws a GPX track on the map (10.00 ms)
* mapView: Controls the view being displayed on the map (0.00 ms)
* search: Search for POI (10.00 ms)
* voice: Handle text to speach. (40.00 ms)
* clickHandler: handle mouse clicks (10.00 ms)
* input: Handle input from keyboard, buttons, etc. (0.00 ms)
* units: A module handling unit conversions and dispplaying correct units acording to current settings. (10.00 ms)
* askMenu: A sample pyroute module (10.00 ms)
* tracklog: Record tracklogs (620.00 ms)
* stats: Handles messages (0.00 ms)
** using tile folder: /home/user/MyDocs/.maps/ **
** using tracklog folder: tracklogs/ **
* config: Handle configuration, options, and setup (30.00 ms)
* route: Routes (20.00 ms)
* options: Handle options (20.00 ms)
* notification: This module provides notification support. (10.00 ms)
* storeTiles: Single-file-fs tile storage (40.00 ms)
* keys: A keyboard input handling module (0.00 ms)
* log: A modRana logging module (0.00 ms)
* menu: Handle menus (30.00 ms)
* showOSD: Draw OSD (On Screen Display). (20.00 ms)
* interfaceFeedback: A sample pyroute module (10.00 ms)
* loadTracklogs: A sample pyroute module (10.00 ms)
* cron: A timing and sheduling module for modRana. (0.00 ms)
* messages: Handles messages (10.00 ms)
* positionMarker: A sample pyroute module (0.00 ms)
* storePOI: Store POI data. (10.00 ms)
* routeProfile: Creates a route profile (an elevation chart) (10.00 ms)
modRana: module: mod_location/location failed to load
Traceback (most recent call last):
File "modrana.py", line 169, in _loadModule
a = __import__(importName)
File "/opt/modrana/modules/mod_location.py", line 22, in <module>
import gps_module as gps
File "/opt/modrana/modules/gps_module/__init__.py", line 9, in <module>
from gps import *
File "/opt/modrana/modules/gps_module/gps.py", line 18, in <module>
from client import *
File "/opt/modrana/modules/gps_module/client.py", line 9, in <module>
import simplejson as json # For Python 2.4 and 2.5
ImportError: No module named simplejson
* tracklogManager: Module for managing tracklogs (10.00 ms)
* turnByTurn: A turn by turn navigation module. (0.00 ms)
* textEntry: A module for hadnling text entry. (10.00 ms)
googlemaps: using integrated non-binary simplejson, instal proper simplejson package for better speed
* onlineServices: Module for communication with various online services. (240.00 ms)
* mapTiles: Display map images (390.00 ms)
* mapData: Handle downloading of map data (50.00 ms)
* sketch: Sketching functionality (0.00 ms)
* display: A platform independent display device control module (20.00 ms)
N900: dbus initialized
True
N900: key centred toggled
N900: key rotateMap toggled
N900: key soundEnabled toggled
N900: application menu added
N900 device specific module initialized
* device: A N900 modRana device-specific module (250.00 ms)
Loaded all modules in 2250.00 ms, initialising
True
icons: switched theme to: default
connection to POI db in /home/user/MyDocs/.maps//modrana_poi.db estabilshed
display: keep display ON -> always
N900 rotation object initialized
N900: rotation object loaded
** making a list of available tracklogs
* using this tracklog folder:
tracklogs/
* does it exist ?
True
* there are 12 tracklogs available
mapView: switching map drag mode to default
mapView: switching centering disable treshold to 2048
Initialization complete in 160.00 ms
** modRana startup timing **
# device: Nokia N900 (n900)
* modRana start (0 ms), 0/6514 ms
* imports done (811 ms), 811/6514 ms
* GUI creation (21 ms), 832/6514 ms
* window created (310 ms), 1142/6514 ms
* map widget created (6 ms), 1148/6514 ms
* window finalized (23 ms), 1171/6514 ms
* all modules loaded (5344 ms), 6514/6514 ms
** whole startup: 6514 ms **
display: redraw ON (window not hidden or minimised)
display: redraw ON (N900 window is active)
size allocate <GdkRectangle at 0x555e68>
display: redraw OFF (N900 window is not active)
display: redraw ON (N900 window is active)
Shutting-down modules
storePOI: disconnecting from db

shutdown imminent, commiting all uncommited tiles
storeTiles: sqlite committ OK

Last edited by MarkyboyUK; 2011-07-04 at 11:57.
 

The Following User Says Thank You to MarkyboyUK For This Useful Post: