Debugging frameworkd and ogpsd

Angus Ainslie angus.ainslie at
Tue Nov 4 19:08:44 CET 2008

On Sat, Nov 1, 2008 at 12:11 PM, Michael 'Mickey' Lauer <mickey at
> 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 ?
> <>

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
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/framework/", line 99,
in registerObjectsFromModule
    for obj in factory( "%s.%s" % ( DBUS_BUS_NAME_PREFIX, ),
self.controller ):
line 35, in factory
    gpsdev = globals()[devname]( controller.bus, channel )
  File "/usr/lib/python2.5/site-packages/framework/subsystems/ogpsd/",
line 36, in __init__
    self.aidingData = persist.get( "ogpsd", "aidingdata" )
  File "/usr/lib/python2.5/site-packages/framework/", line 50, in
    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


Angus Ainslie
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the community mailing list