moosic client throws ProtocolError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
moosic (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: moosic
The moosic client dies with a ProtocolError when connecting to the moosicd daemon. moosicd doesn't give any helpful output at that point, but moosic itself shows this traceback:
sjoerd@cicero:~$ moosic list
Traceback (most recent call last):
File "/usr/bin/moosic", line 6, in <module>
main(sys.argv)
File "/usr/lib/
moosic.no_op()
File "/usr/lib/
return self.__
File "/usr/lib/
verbose=
File "/usr/lib/
headers
xmlrpclib.
I tried running over TCP/IP (same problem) and faking to be a client (by using it's message to an earlier faked server) using nc, I got the following session:
sjoerd@cicero:~$ nc localhost 9090
POST / HTTP/1.0
Host: localhost:9090
User-Agent: xmlrpclib.py/1.0.1 (by www.pythonware.com)
Content-Type: text/xml
Content-Length: 99
<?xml version='1.0'?>
<methodCall>
<methodName>
<params>
</params>
</methodCall>
HTTP/1.0 500 Internal Server Error
Server: BaseHTTP/0.3 Python/2.5
Date: Sat, 24 Mar 2007 16:04:24 GMT
I also ran both client and server in Python 2.4. This worked. So it seems the problem is with Python 2.5. It's also not a problem for a client in Python 2.5 to talk to a server in Python 2.4. A Python 2.4 client talking to a Python 2.5 client throws the same error.
Changed in moosic: | |
status: | New → Fix Released |
Oops. Forgot some important basic information. This is Feisty Fawn. moosic package version 1.5.2-2ubuntu1 and python package version 2.5-5ubuntu10.