View Single Post
Posts: 958 | Thanked: 483 times | Joined on May 2010
#1026
reinstalling modrana didn't help
i wiped out the config folder and re-ran modrana. no help.

i then launched modrana from command line
Code:
== modRana Starting ==
modRana: loading options
modRana: exception while loading saved options:
[Errno 2] No such file or directory: '/home/user/.modrana/options.bin'
importing modules:
N900: dbus initialized
N900 device specific module initialized
* device: A N900 modRana device-specific module (420.00 ms)
modRana: module: gui_gtk/gui failed to load
Traceback (most recent call last):
File "modrana.py", line 254, in _loadModule
module = a.getModule(self.m, self.d, initInfo)
File "/opt/modrana/modules/gui_modules/gui_gtk.py", line 46, in getModule
return(GTKGUI(m,d,i))
File "/opt/modrana/modules/gui_modules/gui_gtk.py", line 87, in __init__
self._registerCenteringShiftCallbacks()
File "/opt/modrana/modules/gui_modules/gui_gtk.py", line 261, in _registerCenteringShiftCallbacks
self._updateCenteringShiftCB()
File "/opt/modrana/modules/gui_modules/gui_gtk.py", line 278, in _updateCenteringShiftCB
(sx,sy,sw,sh) = self.get('viewport')
TypeError: 'NoneType' object is not iterable
* mapData: Handle downloading of map data (100.00 ms)
* config: Handle configuration, options, and setup (0.00 ms)
* example: A sample pyroute module (0.00 ms)
* cron: A GTK timing and scheduling module for modRana (0.00 ms)
* sketch: Sketching functionality (0.00 ms)
* units: a unit handling module (30.00 ms)
* tracklogManager: Module for managing tracklogs (0.00 ms)
* updateTiles: Update stored map tiles. (0.00 ms)
* positionMarker: A sample pyroute module (10.00 ms)
storePOI: POI database path:
/home/user/MyDocs/.maps/modrana_poi.db
storePOI: connection to POI db established
* storePOI: Store POI data. (20.00 ms)
* display: A platform independent display device control module (140.00 ms)
* input: Handle input from keyboard, buttons, etc. (0.00 ms)
* search: Search for POI (10.00 ms)
* showPOI: Show POI on the map and in the menu. (0.00 ms)
* loadTracklogs: A sample pyroute module (10.00 ms)
* markers: A module handling markers on the map. (0.00 ms)
* projection: Projection code (lat/long to screen conversions) (0.00 ms)
* voice: Handle text to speach. (0.00 ms)
* keys: A keyboard input handling module (0.00 ms)
* animatedMapView: A sample pyroute module (10.00 ms)
* log: A modRana logging module (0.00 ms)
* showOSD: Draw OSD (On Screen Display). (0.00 ms)
* showGPX: draws a GPX track on the map (10.00 ms)
* storeTiles: Single-file-fs tile storage (0.00 ms)
* info: A modRana information handling module (10.00 ms)
* clickHandler: handle mouse clicks (0.00 ms)
* stats: Handles messages (0.00 ms)
* notification: This module provides notification support. (0.00 ms)
* options: Handle options (10.00 ms)
* route: Routes (50.00 ms)
* icons: Draw icons (120.00 ms)
* textEntry: A module for handling text entry. (0.00 ms)
* interfaceFeedback: A sample pyroute module (0.00 ms)
* menu: Handle menus (10.00 ms)
* askMenu: A sample pyroute module (0.00 ms)
* messages: Handles messages (0.00 ms)
* tracklog: Record tracklogs (10.00 ms)
* turnByTurn: A turn by turn navigation module. (0.00 ms)
* onlineServices: A module for talking to various online services (70.00 ms)
* routeProfile: Creates a route profile (an elevation chart) (0.00 ms)
* location: Supplies position info from a position source (0.00 ms)
modRana: module: mod_mapTiles/mapTiles failed to load
Traceback (most recent call last):
File "modrana.py", line 254, in _loadModule
module = a.getModule(self.m, self.d, initInfo)
File "/opt/modrana/modules/mod_mapTiles.py", line 48, in getModule
return(MapTiles(m,d,i))
File "/opt/modrana/modules/mod_mapTiles.py", line 87, in __init__
if gui.getIDString() == "GTK":
AttributeError: 'NoneType' object has no attribute 'getIDString'
* mapView: Controls the view being displayed on the map (10.00 ms)
Loaded all modules in 1180.00 ms, initialising
icons: switched theme to: default
Traceback (most recent call last):
File "modrana.py", line 718, in <module>
program = ModRana()
File "modrana.py", line 138, in __init__
self.loadModules()
File "modrana.py", line 232, in loadModules
m.firstTime()
File "/opt/modrana/modules/mod_options.py", line 291, in firstTime
addItems("Main map", "layer", layerNameKey, group, "mapnik")
File "/opt/modrana/modules/mod_options.py", line 145, in addItemsOption
menu = self.menuModule.getClearedMenu(backAction)
File "/opt/modrana/modules/mod_menu.py", line 579, in getClearedMenu
timedAction=(self.modrana.gui.msLongPress,"set:menu:None")
AttributeError: 'NoneType' object has no attribute 'msLongPress'
still doesn't work...
 

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