Share

Amarok XUL remote

Tracker: Bugs

5 100%cpu load... - ID: 1614228
Last Update: Comment added ( mbedouet )


Hi,

It seems that there is a bug somewhere in the python client: when starting
my computer with xulremote activated, the python script is launched and do
something which overload to 100% the CPU. The python script does not answer
to xul remote. I have to kill it and restart it.

But all is working fine if the plugin is not activated when starting the
computer and activating it manually.

How to debug this ?

Ptitmain.


Jean-Francois Lalande ( ptitmain ) - 2006-12-12 19:38

5

Closed

None

mbedouet

None

None

Public


Comments ( 5 )




Date: 2007-05-23 23:02
Sender: mbedouetProject Admin


bug fixed in release 1.0.


Date: 2007-05-23 11:43
Sender: mbedouetProject Admin


re-opening, as someone else has this problem too.


Date: 2007-05-05 21:50
Sender: mbedouetProject Admin


The script is not supposed to be launched 2 times.
there may be a problem between amarok and the kde session manager both
launching the script.
I cannot reproduce this, that may be fixed in recent KDE or Amarok.


Date: 2006-12-16 16:46
Sender: ptitmain


Ok, I found the bug in the log. Here is the log:


Exception in thread Thread-1:
Traceback (most recent call last):
File "threading.py", line 442, in __bootstrap
self.run()
File
"/home/cavalier/.kde/share/apps/amarok/scripts/xulremote/XulRemote.py",
line 281, in run
self.app = XULRemote( sys.argv )
File
"/home/cavalier/.kde/share/apps/amarok/scripts/xulremote/XulRemote.py",
line 224, in __init__
self.startHttpd()
File
"/home/cavalier/.kde/share/apps/amarok/scripts/xulremote/XulRemote.py",
line 233, in startHttpd
self.httpd=AmarokHttpdThread()
File
"/home/cavalier/.kde/share/apps/amarok/scripts/xulremote/XulRemote.py",
line 161, in __init__
self.httpd =
AmarokHTTPServer((self.interface,self.port))
File
"/home/cavalier/.kde/share/apps/amarok/scripts/xulremote/AmarokHTTPServer.py",
line 25, in __init__
HTTPServer.__init__(self,
server_address, AmarokHTTPRequestHandler)
File "SocketServer.py", line 330, in
__init__
self.server_bind()
File "BaseHTTPServer.py", line
101, in server_bind

SocketServer.TCPServer.server_bind(self)
File "SocketServer.py",
line 341, in server_bind

self.socket.bind(self.server_address)
File "<string>",
line 1, in bind
error: (98,
'Adresse d\xe9j\xe0 utilis\xe9e')


What I tried to say is the following:

- I boot my computer. Then, I start amarok manually, then launch the
script. All is going fine.

- when I shut down my computer with amarok running and the script
xul-remote running, then when booting kde again, kde launch automatically
amarok and the script xul-remote. And in this case, the bug appears: the
script goes wrong (log above) and saturate the cpu at 100%. Then I have to
kill python and relaunch the xul-remote script.

Maybe you will find what is happening with the log...


Date: 2006-12-12 20:51
Sender: mbedouetProject Admin


Hi,

there's something I cant't understand, when you say "starting my computer
with xulremote activated" do you mean Amarok?

you can see some traces within Amarok: right-click on the script name in
the script manager and click on "show output log"




Log in to comment.




Attached File

No Files Currently Attached

Changes ( 7 )

Field Old Value Date By
status_id Open 2007-05-23 23:02 mbedouet
close_date - 2007-05-23 23:02 mbedouet
status_id Closed 2007-05-23 11:43 mbedouet
close_date 2007-05-05 21:50 2007-05-23 11:43 mbedouet
assigned_to nobody 2007-05-05 21:50 mbedouet
close_date - 2007-05-05 21:50 mbedouet
status_id Open 2007-05-05 21:50 mbedouet