[Debia/LXDE] Sephora 0.2-1
-Snip- I have something similar: mdbus -s org.freesmartphone.odeviced /org/freesmartphone/Device/PowerControl/UsbHost GetPower What it show out? To me it give: /org/freesmartphone/Device/PowerControl/UsbHost: GetPower failed: org.freedesktop.DBus.Python.ValueError May be it is the same problem? -Snap Yes it is exacly the same: debian-gta02:~# mdbus -s org.freesmartphone.odeviced /org/freesmartphone/Device/PowerControl/UsbHost GetPower /org/freesmartphone/Device/PowerControl/UsbHost: GetPower failed: org.freedesktop.DBus.Python.ValueError ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: AW: Re: [Debia/LXDE] Sephora 0.2-1
On 10/03/2009 15:49, ueli.pe...@bluewin.ch wrote: > Hi > I wrote an mail direct to you and this has been solved with newest version of > sephora (0.2.2-1). Thanks again! > Main usage for me is activating GPRS, this works perfect!! > There are two new (minor) problems: > > Clicking USB: > > Traceback (most recent call last): >File "/usr/lib/python2.5/site-packages/sephora.py", line 158, in > toggle.connect('clicked', lambda button, name: self.activate_page(name), > name) >File "/usr/lib/python2.5/site-packages/sephora.py", line 180, in > activate_page > tabs_widgets[name] = self.create_page(name) >File "/usr/lib/python2.5/site-packages/sephora.py", line 196, in > create_page > section = self.build_page(name) >File "/usr/lib/python2.5/site-packages/sephora.py", line 685, in build_page > > select.set_active(self.device.get_power_control().get_usb_host().get_power()); >File "/var/lib/python-support/python2.5/dbus/proxies.py", line 140, in > __call__ > **keywords) >File "/var/lib/python-support/python2.5/dbus/connection.py", line 622, in > call_blocking > message, timeout) > dbus.exceptions.DBusException: 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' > I have something similar: mdbus -s org.freesmartphone.odeviced /org/freesmartphone/Device/PowerControl/UsbHost GetPower What it show out? To me it give: /org/freesmartphone/Device/PowerControl/UsbHost: GetPower failed: org.freedesktop.DBus.Python.ValueError May be it is the same problem? > > and Clicking Power > > Traceback (most recent call last): >File "/usr/lib/python2.5/site-packages/sephora.py", line 158, in > toggle.connect('clicked', lambda button, name: self.activate_page(name), > name) >File "/usr/lib/python2.5/site-packages/sephora.py", line 180, in > activate_page > tabs_widgets[name] = self.create_page(name) >File "/usr/lib/python2.5/site-packages/sephora.py", line 196, in > create_page > section = self.build_page(name) >File "/usr/lib/python2.5/site-packages/sephora.py", line 996, in build_page > > label_source.set_text(_(self.device.get_power_supply().get_bat().get_power_status())) > AttributeError: 'Base' object has no attribute 'get_bat' > > > Ops... I think the latest modification on fso-framework removed the method GetBat. I will upgrade Sephora. Thank you for your report, it was very very useful! ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
WG: [Debia/LXDE] Sephora 0.2-1
This has been solved with installing the newest version of sephora (0.2.2-1). Main usage for me is activating GPRS, this works perfect!! There are still two (minor) problems: Clicking USB: Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/sephora.py", line 158, in toggle.connect('clicked', lambda button, name: self.activate_page(name), name) File "/usr/lib/python2.5/site-packages/sephora.py", line 180, in activate_page tabs_widgets[name] = self.create_page(name) File "/usr/lib/python2.5/site-packages/sephora.py", line 196, in create_page section = self.build_page(name) File "/usr/lib/python2.5/site-packages/sephora.py", line 685, in build_page select.set_active(self.device.get_power_control().get_usb_host().get_power()); File "/var/lib/python-support/python2.5/dbus/proxies.py", line 140, in __call__ **keywords) File "/var/lib/python-support/python2.5/dbus/connection.py", line 622, in call_blocking message, timeout) dbus.exceptions.DBusException: 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' and Clicking Power Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/sephora.py", line 158, in toggle.connect('clicked', lambda button, name: self.activate_page(name), name) File "/usr/lib/python2.5/site-packages/sephora.py", line 180, in activate_page tabs_widgets[name] = self.create_page(name) File "/usr/lib/python2.5/site-packages/sephora.py", line 196, in create_page section = self.build_page(name) File "/usr/lib/python2.5/site-packages/sephora.py", line 996, in build_page label_source.set_text(_(self.device.get_power_supply().get_bat().get_power_status())) AttributeError: 'Base' object has no attribute 'get_bat' Thanks for this genius software and Greetings, Ueli ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Debia/LXDE] Sephora 0.2-1
On 03/03/2009 23:43, ueli.pe...@bluewin.ch wrote: > Got some Problem after fresh Install of Debian. > > Downloaded: > http://launchpad.net/sephora/0.2/0.2-0/+download/sephora_0.2-1_all.deb > > and installed with: debian-gta02:~# dpkg -i sephora_0.2-1_all.deb > > results in: > debian-gta02:~# export DISPLAY=:0 > debian-gta02:~# sephora > Traceback (most recent call last): >File "/usr/lib/python2.5/site-packages/sephora.py", line 1614, in > main_window = MainWindow() >File "/usr/lib/python2.5/site-packages/sephora.py", line 110, in __init__ > self.activateSectionPage(tabs[0]) >File "/usr/lib/python2.5/site-packages/sephora.py", line 170, in > activateSectionPage > tabs_widgets[name] = self.createSectionPage(name) >File "/usr/lib/python2.5/site-packages/sephora.py", line 186, in > createSectionPage > section = self.buildSectionPanel(name) >File "/usr/lib/python2.5/site-packages/sephora.py", line 218, in > buildSectionPanel > status = self.freerunner.getResource('GSM') >File "/usr/lib/python2.5/site-packages/sephora.py", line 1154, in > getResource > return resources.GetResourceState(resource) >File "/var/lib/python-support/python2.5/dbus/proxies.py", line 68, in > __call__ > return self._proxy_method(*args, **keywords) >File "/var/lib/python-support/python2.5/dbus/proxies.py", line 140, in > __call__ > **keywords) >File "/var/lib/python-support/python2.5/dbus/connection.py", line 622, in > call_blocking > message, timeout) > dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: > Method "GetResourceState" with signature "s" > on interface "org.freesmartphone.Usage" doesn't exist > > Additional Info: > debian-gta02:~# uname -r > 2.6.28-20090105.git69b2aa26 > > Thanks for hints, Ueli > > > Sorry for the late reply: You can try to do this test mdbus -s org.freesmartphone.ousaged /org/freesmartphone/Usage GetResourceState GSM If it return: /org/freesmartphone/Usage: GetResourceState -> 0 it is Sephora fault, else, if it give you something like: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "GetResourceState" with signature "s" on interface "org.freesmartphone.Usage" doesn't exist the problem is the version of fso-frameworkd that is not updated. Regards Michele Renda ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Debia/LXDE] Sephora 0.2-1
I guess your/debian's fso-frameworkd and sephora versions don't match so that the API has changed and one of them doesn't know that yet. -- Marcel Am Tuesday 03 March 2009 22:43:06 schrieb ueli.pe...@bluewin.ch: > Got some Problem after fresh Install of Debian. > > Downloaded: > http://launchpad.net/sephora/0.2/0.2-0/+download/sephora_0.2-1_all.deb > > and installed with: debian-gta02:~# dpkg -i sephora_0.2-1_all.deb > > results in: > debian-gta02:~# export DISPLAY=:0 > debian-gta02:~# sephora > Traceback (most recent call last): > File "/usr/lib/python2.5/site-packages/sephora.py", line 1614, in > main_window = MainWindow() > File "/usr/lib/python2.5/site-packages/sephora.py", line 110, in __init__ > self.activateSectionPage(tabs[0]) > File "/usr/lib/python2.5/site-packages/sephora.py", line 170, in > activateSectionPage tabs_widgets[name] = self.createSectionPage(name) > File "/usr/lib/python2.5/site-packages/sephora.py", line 186, in > createSectionPage section = self.buildSectionPanel(name) > File "/usr/lib/python2.5/site-packages/sephora.py", line 218, in > buildSectionPanel status = self.freerunner.getResource('GSM') > File "/usr/lib/python2.5/site-packages/sephora.py", line 1154, in > getResource return resources.GetResourceState(resource) > File "/var/lib/python-support/python2.5/dbus/proxies.py", line 68, in > __call__ return self._proxy_method(*args, **keywords) > File "/var/lib/python-support/python2.5/dbus/proxies.py", line 140, in > __call__ **keywords) > File "/var/lib/python-support/python2.5/dbus/connection.py", line 622, in > call_blocking message, timeout) > dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: > Method "GetResourceState" with signature "s" on interface > "org.freesmartphone.Usage" doesn't exist > > Additional Info: > debian-gta02:~# uname -r > 2.6.28-20090105.git69b2aa26 > > Thanks for hints, Ueli > > > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
[Debia/LXDE] Sephora 0.2-1
Got some Problem after fresh Install of Debian. Downloaded: http://launchpad.net/sephora/0.2/0.2-0/+download/sephora_0.2-1_all.deb and installed with: debian-gta02:~# dpkg -i sephora_0.2-1_all.deb results in: debian-gta02:~# export DISPLAY=:0 debian-gta02:~# sephora Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/sephora.py", line 1614, in main_window = MainWindow() File "/usr/lib/python2.5/site-packages/sephora.py", line 110, in __init__ self.activateSectionPage(tabs[0]) File "/usr/lib/python2.5/site-packages/sephora.py", line 170, in activateSectionPage tabs_widgets[name] = self.createSectionPage(name) File "/usr/lib/python2.5/site-packages/sephora.py", line 186, in createSectionPage section = self.buildSectionPanel(name) File "/usr/lib/python2.5/site-packages/sephora.py", line 218, in buildSectionPanel status = self.freerunner.getResource('GSM') File "/usr/lib/python2.5/site-packages/sephora.py", line 1154, in getResource return resources.GetResourceState(resource) File "/var/lib/python-support/python2.5/dbus/proxies.py", line 68, in __call__ return self._proxy_method(*args, **keywords) File "/var/lib/python-support/python2.5/dbus/proxies.py", line 140, in __call__ **keywords) File "/var/lib/python-support/python2.5/dbus/connection.py", line 622, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "GetResourceState" with signature "s" on interface "org.freesmartphone.Usage" doesn't exist Additional Info: debian-gta02:~# uname -r 2.6.28-20090105.git69b2aa26 Thanks for hints, Ueli ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community