View Single Post
Posts: 98 | Thanked: 44 times | Joined on Mar 2010 @ Netherlands
#1072
Originally Posted by MartinK View Post
What does CSSU1T mean ? Is that CSSU Testing or Thumb ? For the record, I'm running on CSSU stable with Extras-Devel enabled...
CSSU 21.2011.38-1Tmaemo4 and CSSU 21.2011.38-1Tmaemo2.1
@MartinK - I've got extrasdevel enabled too, no other problems except for a missing "reject" button of the calling app (what I think isn't of influence). If you'd like me to flash and make an exclusive install of any of the cssu testing versions or any other reproduction pls let me know, it may take a while but I'd do my best. Issue: minimal number of trackpoints while tracklogging (2, 3 or 4 points).

@all - Could ya folks post experiences of tracklogging if in CSSU Testing setup?

Originally Posted by MartinK View Post
(...) There should be some errors in standard output....
I' m unaware where so I post a full run&exit while in between reproducing this issue: 2 Mins of tracklogging (3 points created).

Code:
~ $ 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
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...
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
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?

Last edited by 7thd; 2012-07-08 at 23:38.
 

The Following 2 Users Say Thank You to 7thd For This Useful Post: