Notices


Reply
Thread Tools
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#341
 
Posts: 27 | Thanked: 3 times | Joined on Jan 2008
#342
Originally Posted by edt View Post
> Was it turned on in control panel? If not it's strange...

In my case it _was_ turned on in the control pannel.
The -3 verson fixed the problem with apmonitord - it starts/stops cleanly without the error on the meter. However the ap icon still does not appear in the task bar - it does ask me to reboot this time though (installed via dpkg -i).

Is there an manual way to start the ap from the command line? Or another way to see what is happening?
 
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#343
Originally Posted by edt View Post
Is there an manual way to start the ap from the command line? Or another way to see what is happening?
Unfortunately, debugging Hildon Desktop items is quite complicated.
But I can attach a part of my profiling suite
Rename it to test.py, put in /usr/lib/hildon-desktop and run in terminal 'python test.py'.
Copying would need su rights.

Tested clean install and all is OK... I have an idea of what is wrong, but need output from test.py
Attached Files
File Type: tar test.tar (442 Bytes, 94 views)
 
Posts: 109 | Thanked: 56 times | Joined on Apr 2009
#344
Originally Posted by edt View Post
> Was it turned on in control panel? If not it's strange...

In my case it _was_ turned on in the control pannel.
same here
 
Posts: 397 | Thanked: 99 times | Joined on Jun 2008 @ Toronto, Ontario
#345
Getting the same problem on my device. Installed no problem, turned on in the Control Panel but not visible.
 
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#346
it does not show up if you close the panels dialog using the ok button?
 
Posts: 397 | Thanked: 99 times | Joined on Jun 2008 @ Toronto, Ontario
#347
Originally Posted by tso View Post
it does not show up if you close the panels dialog using the ok button?
Correct. If the tablet is plugged in when I activate it, it makes the charging noise, so I'm assuming it is running when it does that.
 
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#348
Originally Posted by Nelson L. Squeeko View Post
Correct. If the tablet is plugged in when I activate it, it makes the charging noise, so I'm assuming it is running when it does that.
It means AP didn't startup correctly. Use the small tool I've posted and share the output.
Btw, did everybody with this issue have AP installed before (no matter it purged or just removed)?
 
Posts: 397 | Thanked: 99 times | Joined on Jun 2008 @ Toronto, Ontario
#349
Here's my output when running test.py

Code:
Nokia-N810-43-7:/usr/lib/hildon-desktop# python test.py
/usr/lib/hildon-desktop/advanced_power.py:1020: GtkWarning: Attempting to add a widget with type GtkImage to a container of type GtkAlignment, but the widget is already inside a container of type GtkAlignment, the GTK+ FAQ at http://www.gtk.org/faq/ explains how to reparent a widget.
Traceback (most recent call last):
File "test.py", line 14, in <module>
cProfile.run('main()', 'main_prof')
File "/usr/lib/python2.5/cProfile.py", line 29, in run
File "/usr/lib/python2.5/cProfile.py", line 135, in run File "/usr/lib/python2.5/cProfile.py", line 140, in runctx
File "<string>", line 1, in <module>
File "test.py", line 6, in main
p = advanced_power()
File "ap/advanced_power.py", line 152, in __init__
File "ap/advanced_power.py", line 178, in full_subscribe
KeyError: 'free-diskspace'
 

The Following User Says Thank You to Nelson L. Squeeko For This Useful Post:
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#350
Originally Posted by Nelson L. Squeeko View Post
Here's my output when running test.py
Allright
It was the thing I thought about.
1. Purge AP
2. Remove dir section of AP in /etc/gconf/gconf.xml.defaults/%gconf-tree.xml
It starts with <dir name="advanced-power"> remove node and subnodes.
3. Install AP again.
 

The Following 3 Users Say Thank You to 412b For This Useful Post:
Reply

Tags
applet, battery, python, statusbar

Thread Tools

 
Forum Jump


All times are GMT. The time now is 08:02.