The Following 7 Users Say Thank You to MartinK For This Useful Post: | ||
|
2012-01-22
, 23:01
|
Posts: 958 |
Thanked: 483 times |
Joined on May 2010
|
#932
|
The Following 2 Users Say Thank You to droll For This Useful Post: | ||
|
2012-01-23
, 05:29
|
|
Posts: 800 |
Thanked: 957 times |
Joined on Sep 2010
@ India
|
#933
|
The Following User Says Thank You to ejasmudar For This Useful Post: | ||
|
2012-01-30
, 06:55
|
Posts: 451 |
Thanked: 334 times |
Joined on Sep 2009
|
#934
|
The cursor position, and the blue box with directions would disappear for 10-20 seconds at a time, while the underlying map, with the traced route is visible... Anyhow the cursor and blue box would flicker on for a split second, only during this time, if you'd touch the screen, I could access the menu.
Tried to display the tile load times in terminal, that's when I noticed some python cairo errors coming up in the terminal.
I'll capture the full errors in the morning and post.
~ $ modrana Xlib: extension "RANDR" missing on display ":1.0". == modRana Starting == device string (first parameter): android_chroot size allocate gtk.gdk.Rectangle(0, 0, 480, 640) error in screen invalidating function exception: 'NoneType' object has no attribute 'invalidate_rect' importing modules: * messages: Handles messages (10.00 ms) * markers: A module handling markers on the map. (10.00 ms) * icons: Draw icons (0.00 ms) * updateTiles: Update stored map tiles. (0.00 ms) * cron: A timing and sheduling module for modRana. (20.00 ms) * route: Routes (30.00 ms) * mapData: Handle downloading of map data (130.00 ms) * display: A platform independent display device control module (0.00 ms) * positionMarker: A sample pyroute module (0.00 ms) * example: A sample pyroute module (0.00 ms) * showPOI: Show POI on the map and in the menu. (0.00 ms) * notification: This module provides notification support. (0.00 ms) * showGPX: draws a GPX track on the map (10.00 ms) * projection: Projection code (lat/long to screen conversions) (0.00 ms) * tracklogManager: Module for managing tracklogs (0.00 ms) * clickHandler: handle mouse clicks (0.00 ms) * askMenu: A sample pyroute module (0.00 ms) * log: A modRana logging module (0.00 ms) * mapTiles: Display map images (60.00 ms) * sketch: Sketching functionality (0.00 ms) * stats: Handles messages (0.00 ms) * mapView: Controls the view being displayed on the map (0.00 ms) * search: Search for POI (0.00 ms) * showOSD: Draw OSD (On Screen Display). (70.00 ms) * animatedMapView: A sample pyroute module (0.00 ms) * keys: A keyboard input handling module (10.00 ms) * textEntry: A module for hadnling text entry. (0.00 ms) * units: A module handling unit conversions and dispplaying correct units acording to current settings. (0.00 ms) * info: A modRana information handling module (10.00 ms) * voice: Handle text to speach. (0.00 ms) * onlineServices: Module for communication with various online services. (20.00 ms) * tracklog: Record tracklogs (0.00 ms) * menu: Handle menus (10.00 ms) * routeProfile: Creates a route profile (an elevation chart) (0.00 ms) * interfaceFeedback: A sample pyroute module (0.00 ms) * loadTracklogs: A sample pyroute module (0.00 ms) * options: Handle options (0.00 ms) * storePOI: Store POI data. (20.00 ms) * location: Supplies position info from GPSD (0.00 ms) * input: Handle input from keyboard, buttons, etc. (0.00 ms) * config: Handle configuration, options, and setup (0.00 ms) * storeTiles: Single-file-fs tile storage (20.00 ms) * turnByTurn: A turn by turn navigation module. (0.00 ms) * device: A Neo FreeRunner modRana device-specific module (0.00 ms) Loaded all modules in 430.00 ms, initialising icons: switched theme to: default storePOI: connection to POI db in /home/shiroikuma/.modrana/poi/modrana_poi.db estabilshed location: enabling location location: gpsd debugging output turned OFF GPSDConsumer: starting mapTiles: map folder path: /home/shiroikuma/.modrana/maps **log: opening stdout log file **log: redirectiong stdout to log file:\ Traceback (most recent call last): File "modrana.py", line 1015, in do_expose_event return self._expose_cairo(event, cr) File "modrana.py", line 1011, in _expose_cairo self.draw(cr,event) File "modrana.py", line 676, in draw self.currentDrawMethod(cr,event) File "modrana.py", line 754, in fullDrawMethod m.drawScreenOverlay(cr) File "modules/mod_menu.py", line 104, in drawScreenOverlay self.drawText(cr, text, x1, y1, w/3, h, 0) # draw a reminder File "modules/mod_menu.py", line 272, in drawText pg = pangocairo.CairoContext(cr) cairo.Error: invalid matrix (not invertible) Traceback (most recent call last): File "modrana.py", line 1015, in do_expose_event return self._expose_cairo(event, cr) File "modrana.py", line 1011, in _expose_cairo self.draw(cr,event) File "modrana.py", line 676, in draw self.currentDrawMethod(cr,event) File "modrana.py", line 754, in fullDrawMethod m.drawScreenOverlay(cr) File "modules/mod_menu.py", line 104, in drawScreenOverlay self.drawText(cr, text, x1, y1, w/3, h, 0) # draw a reminder File "modules/mod_menu.py", line 272, in drawText pg = pangocairo.CairoContext(cr) cairo.Error: invalid matrix (not invertible) Traceback (most recent call last): File "modrana.py", line 1015, in do_expose_event return self._expose_cairo(event, cr) File "modrana.py", line 1011, in _expose_cairo self.draw(cr,event) File "modrana.py", line 676, in draw self.currentDrawMethod(cr,event) File "modrana.py", line 754, in fullDrawMethod m.drawScreenOverlay(cr) File "modules/mod_menu.py", line 104, in drawScreenOverlay self.drawText(cr, text, x1, y1, w/3, h, 0) # draw a reminder File "modules/mod_menu.py", line 272, in drawText pg = pangocairo.CairoContext(cr) cairo.Error: invalid matrix (not invertible) Traceback (most recent call last): File "modrana.py", line 1015, in do_expose_event return self._expose_cairo(event, cr) File "modrana.py", line 1011, in _expose_cairo self.draw(cr,event) File "modrana.py", line 676, in draw self.currentDrawMethod(cr,event) File "modrana.py", line 754, in fullDrawMethod m.drawScreenOverlay(cr) File "modules/mod_menu.py", line 104, in drawScreenOverlay self.drawText(cr, text, x1, y1, w/3, h, 0) # draw a reminder File "modules/mod_menu.py", line 272, in drawText pg = pangocairo.CairoContext(cr) cairo.Error: invalid matrix (not invertible) Traceback (most recent call last): File "modrana.py", line 1015, in do_expose_event return self._expose_cairo(event, cr) File "modrana.py", line 1011, in _expose_cairo self.draw(cr,event) File "modrana.py", line 676, in draw self.currentDrawMethod(cr,event) File "modrana.py", line 754, in fullDrawMethod m.drawScreenOverlay(cr) File "modules/mod_menu.py", line 104, in drawScreenOverlay self.drawText(cr, text, x1, y1, w/3, h, 0) # draw a reminder File "modules/mod_menu.py", line 272, in drawText pg = pangocairo.CairoContext(cr) cairo.Error: invalid matrix (not invertible) Traceback (most recent call last): File "modrana.py", line 1015, in do_expose_event return self._expose_cairo(event, cr) File "modrana.py", line 1011, in _expose_cairo self.draw(cr,event) File "modrana.py", line 676, in draw self.currentDrawMethod(cr,event) File "modrana.py", line 754, in fullDrawMethod m.drawScreenOverlay(cr) File "modules/mod_menu.py", line 104, in drawScreenOverlay self.drawText(cr, text, x1, y1, w/3, h, 0) # draw a reminder File "modules/mod_menu.py", line 272, in drawText pg = pangocairo.CairoContext(cr) cairo.Error: invalid matrix (not invertible) Traceback (most recent call last): File "modrana.py", line 1015, in do_expose_event return self._expose_cairo(event, cr) File "modrana.py", line 1011, in _expose_cairo self.draw(cr,event) File "modrana.py", line 676, in draw self.currentDrawMethod(cr,event) File "modrana.py", line 754, in fullDrawMethod m.drawScreenOverlay(cr) File "modules/mod_menu.py", line 104, in drawScreenOverlay self.drawText(cr, text, x1, y1, w/3, h, 0) # draw a reminder File "modules/mod_menu.py", line 272, in drawText pg = pangocairo.CairoContext(cr) cairo.Error: invalid matrix (not invertible) Traceback (most recent call last): File "modrana.py", line 1015, in do_expose_event return self._expose_cairo(event, cr) File "modrana.py", line 1011, in _expose_cairo self.draw(cr,event) File "modrana.py", line 676, in draw self.currentDrawMethod(cr,event) File "modrana.py", line 754, in fullDrawMethod m.drawScreenOverlay(cr) File "modules/mod_menu.py", line 104, in drawScreenOverlay self.drawText(cr, text, x1, y1, w/3, h, 0) # draw a reminder File "modules/mod_menu.py", line 272, in drawText pg = pangocairo.CairoContext(cr) cairo.Error: invalid matrix (not invertible) Traceback (most recent call last): File "modrana.py", line 1015, in do_expose_event return self._expose_cairo(event, cr) File "modrana.py", line 1011, in _expose_cairo self.draw(cr,event) File "modrana.py", line 676, in draw self.currentDrawMethod(cr,event) File "modrana.py", line 754, in fullDrawMethod m.drawScreenOverlay(cr) File "modules/mod_menu.py", line 104, in drawScreenOverlay self.drawText(cr, text, x1, y1, w/3, h, 0) # draw a reminder File "modules/mod_menu.py", line 272, in drawText pg = pangocairo.CairoContext(cr) cairo.Error: invalid matrix (not invertible) Traceback (most recent call last): File "modrana.py", line 1015, in do_expose_event return self._expose_cairo(event, cr) File "modrana.py", line 1011, in _expose_cairo self.draw(cr,event) File "modrana.py", line 676, in draw self.currentDrawMethod(cr,event) File "modrana.py", line 754, in fullDrawMethod m.drawScreenOverlay(cr) File "modules/mod_menu.py", line 104, in drawScreenOverlay self.drawText(cr, text, x1, y1, w/3, h, 0) # draw a reminder File "modules/mod_menu.py", line 272, in drawText pg = pangocairo.CairoContext(cr) cairo.Error: invalid matrix (not invertible) Traceback (most recent call last): File "modrana.py", line 1015, in do_expose_event return self._expose_cairo(event, cr) File "modrana.py", line 1011, in _expose_cairo self.draw(cr,event) File "modrana.py", line 676, in draw self.currentDrawMethod(cr,event) File "modrana.py", line 754, in fullDrawMethod m.drawScreenOverlay(cr) File "modules/mod_menu.py", line 104, in drawScreenOverlay self.drawText(cr, text, x1, y1, w/3, h, 0) # draw a reminder File "modules/mod_menu.py", line 272, in drawText pg = pangocairo.CairoContext(cr) cairo.Error: invalid matrix (not invertible) Traceback (most recent call last): File "modrana.py", line 1015, in do_expose_event return self._expose_cairo(event, cr) File "modrana.py", line 1011, in _expose_cairo self.draw(cr,event) File "modrana.py", line 676, in draw self.currentDrawMethod(cr,event) File "modrana.py", line 754, in fullDrawMethod m.drawScreenOverlay(cr) File "modules/mod_menu.py", line 104, in drawScreenOverlay self.drawText(cr, text, x1, y1, w/3, h, 0) # draw a reminder File "modules/mod_menu.py", line 272, in drawText pg = pangocairo.CairoContext(cr) cairo.Error: invalid matrix (not invertible) ... Traceback (most recent call last): File "modrana.py", line 1015, in do_expose_event return self._expose_cairo(event, cr) File "modrana.py", line 1011, in _expose_cairo self.draw(cr,event) File "modrana.py", line 676, in draw self.currentDrawMethod(cr,event) File "modrana.py", line 754, in fullDrawMethod m.drawScreenOverlay(cr) File "modules/mod_menu.py", line 104, in drawScreenOverlay self.drawText(cr, text, x1, y1, w/3, h, 0) # draw a reminder File "modules/mod_menu.py", line 272, in drawText pg = pangocairo.CairoContext(cr) cairo.Error: invalid matrix (not invertible) Traceback (most recent call last): File "modrana.py", line 1015, in do_expose_event return self._expose_cairo(event, cr) File "modrana.py", line 1011, in _expose_cairo self.draw(cr,event) File "modrana.py", line 676, in draw self.currentDrawMethod(cr,event) File "modrana.py", line 754, in fullDrawMethod m.drawScreenOverlay(cr) File "modules/mod_menu.py", line 104, in drawScreenOverlay self.drawText(cr, text, x1, y1, w/3, h, 0) # draw a reminder File "modules/mod_menu.py", line 272, in drawText pg = pangocairo.CairoContext(cr) cairo.Error: invalid matrix (not invertible) Traceback (most recent call last): File "modrana.py", line 1015, in do_expose_event return self._expose_cairo(event, cr) File "modrana.py", line 1011, in _expose_cairo self.draw(cr,event) File "modrana.py", line 676, in draw self.currentDrawMethod(cr,event) File "modrana.py", line 754, in fullDrawMethod m.drawScreenOverlay(cr) File "modules/mod_menu.py", line 104, in drawScreenOverlay self.drawText(cr, text, x1, y1, w/3, h, 0) # draw a reminder File "modules/mod_menu.py", line 272, in drawText pg = pangocairo.CairoContext(cr) cairo.Error: invalid matrix (not invertible) Traceback (most recent call last): File "modrana.py", line 1015, in do_expose_event return self._expose_cairo(event, cr) File "modrana.py", line 1011, in _expose_cairo self.draw(cr,event) File "modrana.py", line 676, in draw self.currentDrawMethod(cr,event) File "modrana.py", line 754, in fullDrawMethod m.drawScreenOverlay(cr) File "modules/mod_menu.py", line 104, in drawScreenOverlay self.drawText(cr, text, x1, y1, w/3, h, 0) # draw a reminder File "modules/mod_menu.py", line 272, in drawText pg = pangocairo.CairoContext(cr) cairo.Error: invalid matrix (not invertible) Traceback (most recent call last): File "modrana.py", line 1015, in do_expose_event return self._expose_cairo(event, cr) File "modrana.py", line 1011, in _expose_cairo self.draw(cr,event) File "modrana.py", line 676, in draw self.currentDrawMethod(cr,event) File "modrana.py", line 754, in fullDrawMethod m.drawScreenOverlay(cr) File "modules/mod_menu.py", line 148, in drawScreenOverlay self.drawButton(cr, x1, y1, dx, dy, '', minusIcon, "mapView:zoomOut") File "modules/mod_menu.py", line 309, in drawButton self.icons.draw(cr,icon,x1,y1,w,h) File "modules/mod_icons.py", line 346, in draw self.drawIcon(cr, self.images[cacheName], x, y, w, h) File "modules/mod_icons.py", line 466, in drawIcon cr.save() cairo.Error: invalid matrix (not invertible) shutdown imminent, commiting all uncommited tiles storeTiles: sqlite committ OK all tiles commited, breaking, goodbye :) mapTiles: automatic tile download management thread shutting down GPSDConsumer: breaking GPSDConsumer: stopped Shuttdown complete ~ $
The Following User Says Thank You to 白い熊 For This Useful Post: | ||
|
2012-01-30
, 08:22
|
Posts: 440 |
Thanked: 160 times |
Joined on Aug 2010
@ Las Vegas, NV
|
#935
|
|
2012-02-05
, 17:09
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#936
|
Code:Traceback (most recent call last): File "modrana.py", line 1015, in do_expose_event return self._expose_cairo(event, cr) File "modrana.py", line 1011, in _expose_cairo self.draw(cr,event) File "modrana.py", line 676, in draw self.currentDrawMethod(cr,event) File "modrana.py", line 754, in fullDrawMethod m.drawScreenOverlay(cr) File "modules/mod_menu.py", line 104, in drawScreenOverlay self.drawText(cr, text, x1, y1, w/3, h, 0) # draw a reminder File "modules/mod_menu.py", line 272, in drawText pg = pangocairo.CairoContext(cr) cairo.Error: invalid matrix (not invertible)
The Following 5 Users Say Thank You to MartinK For This Useful Post: | ||
|
2012-02-06
, 09:18
|
Posts: 451 |
Thanked: 334 times |
Joined on Sep 2009
|
#937
|
How does this look like on the screen (IMHO at leas some text and graphics should be missing)?
Does this happen with or without map rotation ?
Do you use map layer overlay ?
Also an unrelated question - can you check what Qt version is available in your Chroot and if QML and PySyide/PyQt are available ?
BTW, thanks to THP, there is now both PySide and Qt available for Android so modRana with the new Qt GUI should be also able to run natively on Android in the near future.
The Following User Says Thank You to 白い熊 For This Useful Post: | ||
|
2012-02-23
, 06:23
|
Posts: 35 |
Thanked: 9 times |
Joined on Feb 2010
@ Perth, WA, Australia
|
#938
|
The Following User Says Thank You to Thalass For This Useful Post: | ||
|
2012-03-08
, 06:57
|
Posts: 440 |
Thanked: 160 times |
Joined on Aug 2010
@ Las Vegas, NV
|
#939
|
The Following User Says Thank You to Joseph9560 For This Useful Post: | ||
|
2012-03-11
, 19:19
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#940
|
The Following 10 Users Say Thank You to MartinK For This Useful Post: | ||
Tags |
bada rox, martin_rocks, modrana, navigation, openstreetmap, the best, wehasgps |
|
I'm finished with adding modular GUI support and the current GTK interface now runs from its own GUI module. I have also transplanted a Qt GUI module from Mieru but it still needs some work to actually do anything. I added support for proper CLI arguments handling - currently only for specifying the which GUI and device modules to load.
Theroadmap has been updated to show what items are done.
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)