maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Pybattery - battery statusbar applet with candies (https://talk.maemo.org/showthread.php?t=24905)

412b 2011-12-18 21:54

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by Estel (Post 1138838)
As I'm also using /etc/modules (with bq27x00_battery there, and nothing else), I have no idea why GUI updates available options on Your device, and doesn't do the same on mine. 412b, any ideas?

well, the main difference in those logs is that yours has no OSVersion detected. At the moment I'm looking, if it is the case.

AndrewX192 2012-01-17 07:52

Re: Pybattery - battery statusbar applet with candies
 
Today I ran into an issue where advanced-power-monitor did not load when my system started. Executing `apt-get install --reinstall advanced-power-common` solved the issue.

nerfiaux 2012-03-07 14:55

Re: Pybattery - battery statusbar applet with candies
 
1 Attachment(s)
Hi,

I just translated into french the file from first post.
I attached it to the post.

Can it be possible to generate a deb package with this translated file ?
Thx

Nerfiaux

412b 2012-04-12 18:19

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by nerfiaux (Post 1175938)
Hi,

I just translated into french the file from first post.
I attached it to the post.

Can it be possible to generate a deb package with this translated file ?
Thx

Nerfiaux

Sorry, but it took me so long to handle all the stuff...
I'll upload your translation today or tomorrow.

aliasnameless 2012-11-08 17:13

Error after update
 
Cant run Advanced Power Monitor after update 0.6.0-6

apmdaemon.py say
Code:

[1|root@Nokia-N900|~]python /opt/maemo/usr/lib/advanced-power-monitor/apmdaemon.py
Advanced Power Monitor 0.6.0-6
RX-51_2009SE_21.2011.38-1_PR_MR0

Loaded modules (2/2): OSVersion_Maemo DeviceName

Loading wrappers...

LOADING battery
Loading packages list...
[L] Dummy
[F] BQ27200
[L] Nokia's BME
[F] BQ27200 Alternative
[L] Nokia's BME Alternative
[U] Nokia's BME


LOADING device_mode
Traceback (most recent call last):
  File "/opt/maemo/usr/lib/advanced-power-monitor/apmdaemon.py", line 30, in <module>
    daemon.run()
  File "/opt/maemo/usr/lib/advanced-power-monitor/apmdaemon.py", line 16, in run
    self.apm = AdvancedPowerMonitor.apm()
  File "/opt/maemo/usr/lib/advanced-power-monitor/AdvancedPowerMonitor.py", line 91, in __init__
    self.__init_wrappers()
  File "/opt/maemo/usr/lib/advanced-power-monitor/AdvancedPowerMonitor.py", line 173, in __init_wrappers
    self.__check_wrapper(key)
  File "/opt/maemo/usr/lib/advanced-power-monitor/AdvancedPowerMonitor.py", line 194, in __check_wrapper
    wrapper = wr(self.__bus, True)
  File "/opt/maemo/usr/lib/advanced-power-monitor/wrappers/device_mode/AbstractDeviceMode.py", line 13, in __init__
  File "/opt/maemo/usr/lib/advanced-power-monitor/wrappers/AbstractWrappers.py", line 16, in __init__
    self.__type = self.get_type()
AttributeError: DeviceModePowerlaunch instance has no attribute 'get_type'
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
  File "/usr/lib/python2.5/threading.py", line 446, in run
  File "/usr/lib/python2.5/site-packages/advpowcommon/util/execn.py", line 23, in run_shell_command
  File "/usr/lib/python2.5/subprocess.py", line 444, in call
  File "/usr/lib/python2.5/subprocess.py", line 594, in __init__
  File "/usr/lib/python2.5/subprocess.py", line 1066, in _execute_child
  File "/usr/lib/python2.5/subprocess.py", line 969, in _set_cloexec_flag
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'FD_CLOEXEC'


aliasnameless 2012-11-08 17:15

Re: Pybattery - battery statusbar applet with candies
 
Cant run upmonitord after update 0.6.0-6

apmdaemon.py say
Code:

[1|root@Nokia-N900|~]python /opt/maemo/usr/lib/advanced-power-monitor/apmdaemon.py
Advanced Power Monitor 0.6.0-6
RX-51_2009SE_21.2011.38-1_PR_MR0

Loaded modules (2/2): OSVersion_Maemo DeviceName

Loading wrappers...

LOADING battery
Loading packages list...
[L] Dummy
[F] BQ27200
[L] Nokia's BME
[F] BQ27200 Alternative
[L] Nokia's BME Alternative
[U] Nokia's BME


LOADING device_mode
Traceback (most recent call last):
  File "/opt/maemo/usr/lib/advanced-power-monitor/apmdaemon.py", line 30, in <module>
    daemon.run()
  File "/opt/maemo/usr/lib/advanced-power-monitor/apmdaemon.py", line 16, in run
    self.apm = AdvancedPowerMonitor.apm()
  File "/opt/maemo/usr/lib/advanced-power-monitor/AdvancedPowerMonitor.py", line 91, in __init__
    self.__init_wrappers()
  File "/opt/maemo/usr/lib/advanced-power-monitor/AdvancedPowerMonitor.py", line 173, in __init_wrappers
    self.__check_wrapper(key)
  File "/opt/maemo/usr/lib/advanced-power-monitor/AdvancedPowerMonitor.py", line 194, in __check_wrapper
    wrapper = wr(self.__bus, True)
  File "/opt/maemo/usr/lib/advanced-power-monitor/wrappers/device_mode/AbstractDeviceMode.py", line 13, in __init__
  File "/opt/maemo/usr/lib/advanced-power-monitor/wrappers/AbstractWrappers.py", line 16, in __init__
    self.__type = self.get_type()
AttributeError: DeviceModePowerlaunch instance has no attribute 'get_type'
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
  File "/usr/lib/python2.5/threading.py", line 446, in run
  File "/usr/lib/python2.5/site-packages/advpowcommon/util/execn.py", line 23, in run_shell_command
  File "/usr/lib/python2.5/subprocess.py", line 444, in call
  File "/usr/lib/python2.5/subprocess.py", line 594, in __init__
  File "/usr/lib/python2.5/subprocess.py", line 1066, in _execute_child
  File "/usr/lib/python2.5/subprocess.py", line 969, in _set_cloexec_flag
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'FD_CLOEXEC'


aliasnameless 2012-11-08 17:20

Re: Pybattery - battery statusbar applet with candies
 
Cant run upmonitord after update 0.6.0-6

apmdaemon.py say
Code:

[1|root@Nokia-N900|~]python /opt/maemo/usr/lib/advanced-power-monitor/apmdaemon.py
Advanced Power Monitor 0.6.0-6
RX-51_2009SE_21.2011.38-1_PR_MR0

Loaded modules (2/2): OSVersion_Maemo DeviceName

Loading wrappers...

LOADING battery
Loading packages list...
[L] Dummy
[F] BQ27200
[L] Nokia's BME
[F] BQ27200 Alternative
[L] Nokia's BME Alternative
[U] Nokia's BME


LOADING device_mode
Traceback (most recent call last):
  File "/opt/maemo/usr/lib/advanced-power-monitor/apmdaemon.py", line 30, in <module>
    daemon.run()
  File "/opt/maemo/usr/lib/advanced-power-monitor/apmdaemon.py", line 16, in run
    self.apm = AdvancedPowerMonitor.apm()
  File "/opt/maemo/usr/lib/advanced-power-monitor/AdvancedPowerMonitor.py", line 91, in __init__
    self.__init_wrappers()
  File "/opt/maemo/usr/lib/advanced-power-monitor/AdvancedPowerMonitor.py", line 173, in __init_wrappers
    self.__check_wrapper(key)
  File "/opt/maemo/usr/lib/advanced-power-monitor/AdvancedPowerMonitor.py", line 194, in __check_wrapper
    wrapper = wr(self.__bus, True)
  File "/opt/maemo/usr/lib/advanced-power-monitor/wrappers/device_mode/AbstractDeviceMode.py", line 13, in __init__
  File "/opt/maemo/usr/lib/advanced-power-monitor/wrappers/AbstractWrappers.py", line 16, in __init__
    self.__type = self.get_type()
AttributeError: DeviceModePowerlaunch instance has no attribute 'get_type'
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
  File "/usr/lib/python2.5/threading.py", line 446, in run
  File "/usr/lib/python2.5/site-packages/advpowcommon/util/execn.py", line 23, in run_shell_command
  File "/usr/lib/python2.5/subprocess.py", line 444, in call
  File "/usr/lib/python2.5/subprocess.py", line 594, in __init__
  File "/usr/lib/python2.5/subprocess.py", line 1066, in _execute_child
  File "/usr/lib/python2.5/subprocess.py", line 969, in _set_cloexec_flag
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'FD_CLOEXEC'



All times are GMT. The time now is 23:22.

vBulletin® Version 3.8.8