Sometimes, AGTL works well for a long time. But sometimes it hangs every few seconds for no visible reason.
Looking at the terminal log, it doesn’t show any error.
If I then try to terminate it with CTRL-C, I get this output (trace):
21026 DEBUG qmlgui Received good fix // qmlgui.py:645
21028 DEBUG qmlgui Fix updated with data from <gpsreader.Fix instance at 0x1826800> // qmlgui.py:578
21037 DEBUG qmlgui Fix updated with data from <gpsreader.Fix instance at 0x1826800> // qmlgui.py:578
21053 DEBUG qmlgui Target distance is 302707.00825970725 // qmlgui.py:693
21057 DEBUG qmlgui Target distance is 302707.00825970725 // qmlgui.py:693
22246 DEBUG qmlgui TS is None // qmlgui.py:169
22249 DEBUG qmlgui Position changed, new fix is <gpsreader.Fix instance at 0x1826a58> // qmlgui.py:181
22260 DEBUG core Sending good fix for fix <gpsreader.Fix instance at 0x1826a58> // core.py:511
^CTraceback (most recent call last):
File "/opt/agtl-meego/qmlgui.py", line 182, in positionChanged
self.callback_gps(a)
File "./core.py", line 511, in __read_gps
logger.debug("Sending good fix for fix %r" % fix)
File "/usr/lib/python2.6/logging/__init__.py", line 1044, in debug
self._log(DEBUG, msg, args, **kwargs)
File "/usr/lib/python2.6/logging/__init__.py", line 1173, in _log
self.handle(record)
File "/usr/lib/python2.6/logging/__init__.py", line 1183, in handle
self.callHandlers(record)
File "/usr/lib/python2.6/logging/__init__.py", line 1220, in callHandlers
hdlr.handle(record)
File "/usr/lib/python2.6/logging/__init__.py", line 679, in handle
self.emit(record)
File "/usr/lib/python2.6/logging/handlers.py", line 1087, in emit
self.flush()
File "/usr/lib/python2.6/logging/handlers.py", line 1145, in flush
self.target.handle(record)
File "/usr/lib/python2.6/logging/__init__.py", line 679, in handle
self.emit(record)
File "/usr/lib/python2.6/logging/handlers.py", line 1046, in emit
h.endheaders()
File "/usr/lib/python2.6/httplib.py", line 908, in endheaders
self._send_output()
File "/usr/lib/python2.6/httplib.py", line 780, in _send_output
self.send(msg)
File "/usr/lib/python2.6/httplib.py", line 739, in send
self.connect()
File "/usr/lib/python2.6/httplib.py", line 720, in connect
self.timeout)
File "/usr/lib/python2.6/socket.py", line 554, in create_connection
sock.connect(sa)
File "<string>", line 1, in connect
KeyboardInterrupt
^Cfile:///usr/lib/qt4/imports/com/nokia/meego/AbstractMenu.qml:262:29: QML QDeclarativeItem_QML_44: Possible anchor loop detected on fill.
Traceback (most recent call last):
File "/opt/agtl-meego/qmlgui.py", line 160, in positionChanged
@QtCore.Slot(bool, float, float, bool, float, bool, float, float, QtCore.QObject)
KeyboardInterrupt
Sometimes, AGTL works well for a long time. But sometimes it hangs every few seconds for no visible reason. Looking at the terminal log, it doesn’t show any error.
If I then try to terminate it with CTRL-C, I get this output (trace):