[pkg-fso-maint] .xsession-errors - N/A unknown value for power status

Michele Renda michele.renda at gmail.com
Wed Mar 18 18:24:04 UTC 2009


Hello Steffen
I try to answer to the question:

The problem is not only of oop, but it take also Sephora. The problem is 
that FSO Framework changed some details (I can ensure it is not only 
this, there are some methods too that disappeared) that break all the 
programs that use fso-frameworkd.

I don't want to say that people of fso framework must not to change the 
interface. It is very young, and if they want to get a clean and 
coherent interface, they have to break the compatibility with the past. 
But I think that every time they release a new version that break the 
previous version interface (method name change - signature change), they 
have to send an email with a little summary telling us what changed.

In this way we can check our programs, and we can fix the problem.

And another thing we (developer) have to do, is to be a bit less lazy (I 
am the first of the list of lazy person) and to release the updates more 
fast!

I hope I helped you

Regards
Michele Renda


On 18/03/2009 17:58, Steffen Moeller wrote:
> Hello,
>
> running top, I find the openmoko panel to be either non-appearing or right at the top. The
> overall responsiveness also varies - of the panel and other clickable items on the screen.
>
>   1671 root      20   0 36188  24m 8992 S 40.6 20.3   0:35.89 openmoko-panel-
>
> I first found messages along the following in .xsession-errors on the 28th of February. I
> have now reinstalled the whole thing (the installer works) and the problem still occurs.
> Any idea anybody?
>
> Many thanks
>
> Steffen
>
> Xsession: X session started for root at Wed Mar 18 16:47:37 UTC 2009
> GUI init
> libnotify-Message: GetServerInformation call failed: The name
> org.freedesktop.Notifications was not provided by any .service fil
> es
> x11-16 is not supported, fallback to x11
> INFO:root:entering dbusReInit of buttons
> INFO:root:entering dbusReInit of usb
> INFO:root:entering dbusReInit of gsm
> INFO:root:entering dbusReInit of wifi
> INFO:root:entering dbusReInit of gps
> INFO:root:entering dbusReInit of keyboard
> INFO:root:entering dbusReInit of brightness
> INFO:root:entering dbusReInit of battery
> INFO:root:entering dbusReInit of bluetooth
> GUI init done
> entering mainloop
> dbus_objectInit...
> usage ok:<Interface<ProxyObject wrapping<dbus._dbus.SystemBus (system) at 0x4034adb0>
> :1.7 /org/freesmartphone/Usage at 0x403
> 4b2d0>  implementing 'org.freesmartphone.Usage' at 0x4034b390>
> could not create proxy for org.freesmartphone.ogpsd:/org/freedesktop/Gypsy
> gsm ok:<Interface<ProxyObject wrapping<dbus._dbus.SystemBus (system) at 0x4034adb0>
> :1.4 /org/freesmartphone/GSM/Device at 0x
> 4034b5d0>  implementing 'org.freesmartphone.GSM.Network' at 0x4034b750>
> device ok:<Interface<ProxyObject wrapping<dbus._dbus.SystemBus (system) at 0x4034adb0>
> :1.10 /org/freesmartphone/Device at 0x
> 4034bcf0>  implementing 'org.freesmartphone.Device' at 0x4034bdb0>
> preferences ok:<Interface<ProxyObject wrapping<dbus._dbus.SystemBus (system) at
> 0x4034adb0>  :1.8 /org/freesmartphone/Preferen
> ces at 0x4035a1f0>  implementing 'org.freesmartphone.Preferences' at 0x4035a2b0>
> failcount = 1
> INFO:root:entering init for buttons
> INFO:root:entering init for usb
> IDLE STATE = idle
> ERROR:root:error while calling DeviceIface.GetPower() - assuming 0
>          (org.freedesktop.DBus.Python.ValueError: Traceback (most recent call last):
>    File "/var/lib/python-support/python2.5/dbus/service.py", line 702, in _message_cb
>      retval = candidate_method(self, *args, **keywords)
>    File "/var/lib/python-support/python2.5/framework/subsystems/odeviced/powercontrol.py",
> line 74, in GetPower
>      return self.getPower()
>    File "/var/lib/python-support/python2.5/framework/subsystems/odeviced/powercontrol.py",
> line 49, in getPower
>      return int( readFromFile( self.powernode ) )
> ValueError: invalid literal for int() with base 10: 'N/A'
> )
> INFO:root:entering dbusReInit of usb
> INFO:root:entering spreadDBusFailure
> INFO:root:entering init for UsageInterface for gsm
> dbus_objectInit...
> usage ok:<Interface<ProxyObject wrapping<dbus._dbus.SystemBus (system) at 0x4034adb0>
> :1.7 /org/freesmartphone/Usage at 0x403
> 4b2d0>  implementing 'org.freesmartphone.Usage' at 0x4034b390>
> INFO:root:entering init for gsm
> gps ok:<Interface<ProxyObject wrapping<dbus._dbus.SystemBus (system) at 0x4034adb0>
> :1.13 /org/freedesktop/Gypsy at 0x4034b2b
> 0>  implementing 'org.freedesktop.Gypsy.Accuracy' at 0x4034bb70>,<Interface<ProxyObject
> wrapping<dbus._dbus.SystemBus (system)
>   at 0x4034adb0>  :1.13 /org/freedesktop/Gypsy at 0x4034b2b0>  implementing
> 'org.freedesktop.Gypsy.Position' at 0x4034b450>,<Inter
> face<ProxyObject wrapping<dbus._dbus.SystemBus (system) at 0x4034adb0>  :1.13
> /org/freedesktop/Gypsy at 0x4034b2b0>  implementin
> g 'org.freedesktop.Gypsy.Satellite' at 0x4035a190>
> gsm ok:<Interface<ProxyObject wrapping<dbus._dbus.SystemBus (system) at 0x4034adb0>
> :1.4 /org/freesmartphone/GSM/Device at 0x
> 4034b5d0>  implementing 'org.freesmartphone.GSM.Network' at 0x4034b750>
> device ok:<Interface<ProxyObject wrapping<dbus._dbus.SystemBus (system) at 0x4034adb0>
> :1.10 /org/freesmartphone/Device at 0x
> 4034bcf0>  implementing 'org.freesmartphone.Device' at 0x4034bdb0>
> preferences ok:<Interface<ProxyObject wrapping<dbus._dbus.SystemBus (system) at
> 0x4034adb0>  :1.8 /org/freesmartphone/Preferen
> ces at 0x4035a1f0>  implementing 'org.freesmartphone.Preferences' at 0x4035a690>
> INFO:root:entering init for wifi
> failcount = 0
> dbus_objectInitOK!
> Requesting resource list
> Requesting resource GSM
> Resource added GSM
> INFO:root:entering init for UsageInterface for gps
> Resource added TEST
> Resource added Bluetooth
> Resource added WiFi
> Resource added CPU
> Resource added Display
> Resource added GPS
> IDLE STATE = idle
> INFO:root:entering init for brightness
> INFO:root:entering init for battery
> IDLE STATE = idle
> INFO:root:entering init for UsageInterface for bluetooth
> Requested resource GSM
> Turning on Antenna
> INFO:root:entering init for buttons
> INFO:root:entering init for usb
> ERROR:root:error while calling DeviceIface.GetPower() - assuming 0
>          (org.freedesktop.DBus.Python.ValueError: Traceback (most recent call last):
>    File "/var/lib/python-support/python2.5/dbus/service.py", line 702, in _message_cb
>      retval = candidate_method(self, *args, **keywords)
>    File "/var/lib/python-support/python2.5/framework/subsystems/odeviced/powercontrol.py",
> line 74, in GetPower
>      return self.getPower()
>    File "/var/lib/python-support/python2.5/framework/subsystems/odeviced/powercontrol.py",
> line 49, in getPower
>      return int( readFromFile( self.powernode ) )
> ValueError: invalid literal for int() with base 10: 'N/A'
> )
> INFO:root:entering dbusReInit of usb
> INFO:root:entering spreadDBusFailure
> INFO:root:entering init for UsageInterface for gsm
> INFO:root:entering init for gsm
> INFO:root:entering init for wifi
> INFO:root:entering init for UsageInterface for gps
> INFO:root:entering init for brightness
> INFO:root:entering init for battery
> INFO:root:entering init for UsageInterface for bluetooth
> SIM is ready: 0
> SIM is ready: 0
> IDLE STATE = idle_dim
> SIM seems to be protected. Checking auth status now.
> Reading authentication status
> INFO:root:gsm status: dbus.Dictionary({dbus.String(u'strength'): dbus.Int32(0,
> variant_level=1), dbus.String(u'mode'): dbus.Stri
> ng(u'automatic', variant_level=1), dbus.String(u'registration'):
> dbus.String(u'unregistered', variant_level=1)}, signature=dbus.
> Signature('sv'))
> Waiting for PIN
> transition to pin_edit
> INFO:root:id: None status: release properties: None
> INFO:root:pdp status: dbus.Dictionary({dbus.String(u'registration'):
> dbus.String(u'unregistered', variant_level=1), dbus.String(
> u'act'): dbus.String(u'GSM', variant_level=1)}, signature=dbus.Signature('sv'))
> checking for unsent messages
> Telephony Ready
> Turning on Antenna
> did not receive any unsent messages: org.freesmartphone.GSM.Device.Failed: Unhandled CMS
> ERROR: SIM busy
> Antenna power OK. Registering to network now.
> Registering to network
> INFO:root:entering init for buttons
> INFO:root:entering init for usb
> ERROR:root:error while calling DeviceIface.GetPower() - assuming 0
>          (org.freedesktop.DBus.Python.ValueError: Traceback (most recent call last):
>    File "/var/lib/python-support/python2.5/dbus/service.py", line 702, in _message_cb
>      retval = candidate_method(self, *args, **keywords)
>    File "/var/lib/python-support/python2.5/framework/subsystems/odeviced/powercontrol.py",
> line 74, in GetPower
>      return self.getPower()
>    File "/var/lib/python-support/python2.5/framework/subsystems/odeviced/powercontrol.py",
> line 49, in getPower
>      return int( readFromFile( self.powernode ) )
> ValueError: invalid literal for int() with base 10: 'N/A'
> )
> INFO:root:entering dbusReInit of usb
> INFO:root:entering spreadDBusFailure
> INFO:root:entering init for UsageInterface for gsm
> INFO:root:entering init for gsm
> INFO:root:entering init for wifi
> INFO:root:entering init for UsageInterface for gps
> INFO:root:entering init for brightness
> INFO:root:entering init for battery
> INFO:root:entering init for UsageInterface for bluetooth
> IDLE STATE = idle
> SIM is ready: 1
> retrieving phonebook...
> SIM is ready: 1
> retrieving messagebook...
> IDLE STATE = busy
> ERROR:root:error getting gsm network status
>          (org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes
> include: the remote application did not se
> nd a reply, the message bus security policy blocked the reply, the reply timeout expired,
> or the network connection was broken.)
> INFO:root:entering dbusReInit of gsm
>
> _______________________________________________
> pkg-fso-maint mailing list
> pkg-fso-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-fso-maint
>    




More information about the pkg-fso-maint mailing list