Debugging frameworkd and ogpsd
Angus Ainslie
angus.ainslie at gmail.com
Tue Nov 4 19:08:44 CET 2008
On Sat, Nov 1, 2008 at 12:11 PM, Michael 'Mickey' Lauer <mickey at openmoko.org
> wrote:
> frameworkd --help will tell you
>
This will allow me to just start ogpsd from within frameworkd. This doesn't
help as the message still gets truncated.
> > or can
> > the traceback be dumped to a file ?
> <http://lists.openmoko.org/mailman/listinfo/community>
This worked, here's the error:
2008.11.04 10:58:41 frameworkd.subsystem ERROR factory method not
successfully completed for module <module 'frame
work.subsystems.ogpsd.factory' from
'/usr/lib/python2.5/site-packages/framework/subsystems/ogpsd/factory.pyo'>
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/framework/subsystem.py", line 99,
in registerObjectsFromModule
for obj in factory( "%s.%s" % ( DBUS_BUS_NAME_PREFIX, self.name ),
self.controller ):
File
"/usr/lib/python2.5/site-packages/framework/subsystems/ogpsd/factory.py",
line 35, in factory
gpsdev = globals()[devname]( controller.bus, channel )
File "/usr/lib/python2.5/site-packages/framework/subsystems/ogpsd/om.py",
line 36, in __init__
self.aidingData = persist.get( "ogpsd", "aidingdata" )
File "/usr/lib/python2.5/site-packages/framework/persist.py", line 50, in
get
return self.cache[subsystem].get( key, None )
AttributeError: 'NoneType' object has no attribute 'get'
2008.11.04 10:58:41 frameworkd.subsystem DEBUG service ogpsd now owning
busnames [<dbus.service.BusName org.freesm
artphone.ogpsd on <dbus._dbus.SystemBus (system) at 0x12c7b0> at 0x1da950>,
<dbus.service.BusName org.freedesktop.Gyp
sy on <dbus._dbus.SystemBus (system) at 0x12c7b0> at 0x3500b0>]
2008.11.04 10:58:41 frameworkd.controller INFO launching subsystem ogsmd
I'm running this on Om2008.9 so it not really a bug. It seems the ogpsd is
failing trying to read empty aiddata. Is there a way to initalize this so it
doesn't fail ? I would have assumed if the aid data was empty it would warn
and then genrate the data file when it had acquired the info from the
satelites
Cheers
Angus
--
Angus Ainslie
http://www.handheldshell.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20081104/725a321b/attachment.htm
More information about the community
mailing list