Active Topics

 



Notices


Reply
Thread Tools
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#731
Originally Posted by Estel View Post
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.
 

The Following User Says Thank You to 412b For This Useful Post:
Posts: 139 | Thanked: 97 times | Joined on Nov 2010 @ United States
#732
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.
 
Posts: 35 | Thanked: 14 times | Joined on Apr 2010 @ Angers, France
#733
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
Attached Files
File Type: txt advanced-power-fr-FR.po.txt (1.3 KB, 314 views)
 

The Following 2 Users Say Thank You to nerfiaux For This Useful Post:
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#734
Originally Posted by nerfiaux View Post
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.
 

The Following User Says Thank You to 412b For This Useful Post:
Posts: 5 | Thanked: 0 times | Joined on Nov 2011
#735
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'
 
Posts: 5 | Thanked: 0 times | Joined on Nov 2011
#736
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'
 
Posts: 5 | Thanked: 0 times | Joined on Nov 2011
#737
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'
 
Reply

Tags
applet, battery, python, statusbar


 
Forum Jump


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