Bug 22553 - telepathy-butterfly crashed with ValueError in parse()
Summary: telepathy-butterfly crashed with ValueError in parse()
Status: RESOLVED FIXED
Alias: None
Product: papyon
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Ali Sabil
QA Contact: Telepathy bugs list
URL: http://git.collabora.co.uk/?p=user/ol...
Whiteboard: review+
Keywords: patch
: 24121 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-30 07:09 UTC by Pedro Villavicencio
Modified: 2010-04-07 17:22 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Pedro Villavicencio 2009-06-30 07:09:50 UTC
this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/pymsn/+bug/343233

"Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/pymsn/msnp2p/session_manager.py", line 52, in <lambda>
    lambda tr, blob: self._on_blob_received(blob))
  File "/usr/lib/python2.6/dist-packages/pymsn/msnp2p/session_manager.py", line 97, in _on_blob_received
    session = self._blob_to_session(blob)
  File "/usr/lib/python2.6/dist-packages/pymsn/msnp2p/session_manager.py", line 69, in _blob_to_session
    message = SLPMessage.build(slp_data)
  File "/usr/lib/python2.6/dist-packages/pymsn/msnp2p/SLP.py", line 117, in build
    slp_message.parse(content)
  File "/usr/lib/python2.6/dist-packages/pymsn/msnp2p/SLP.py", line 90, in parse
    self.body = SLPMessageBody.build(content_type, raw_body)
  File "/usr/lib/python2.6/dist-packages/pymsn/msnp2p/SLP.py", line 226, in build
    body.parse(content)
  File "/usr/lib/python2.6/dist-packages/pymsn/msnp2p/SLP.py", line 209, in parse
    HTTPMessage.parse(self, data)
  File "/usr/lib/python2.6/dist-packages/pymsn/gnet/message/HTTP.py", line 91, in parse
    name, value = line.split(":", 1)
ValueError: need more than 1 value to unpack"

Thanks,
Comment 1 Pedro Villavicencio 2010-03-23 11:28:51 UTC
this is still an issue with papyon, reassigning there, new stacktrace:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/papyon/msnp2p/session_manager.py", line 53, in <lambda>
    lambda tr, blob: self._on_blob_received(blob))
  File "/usr/lib/pymodules/python2.6/papyon/msnp2p/session_manager.py", line 112, in _on_blob_received
    session = self._blob_to_session(blob)
  File "/usr/lib/pymodules/python2.6/papyon/msnp2p/session_manager.py", line 96, in _blob_to_session
    message = SLPMessage.build(slp_data)
  File "/usr/lib/pymodules/python2.6/papyon/msnp2p/SLP.py", line 120, in build
    slp_message.parse(content)
  File "/usr/lib/pymodules/python2.6/papyon/msnp2p/SLP.py", line 93, in parse
    self.body = SLPMessageBody.build(content_type, raw_body)
  File "/usr/lib/pymodules/python2.6/papyon/msnp2p/SLP.py", line 229, in build
    body.parse(content)
  File "/usr/lib/pymodules/python2.6/papyon/msnp2p/SLP.py", line 212, in parse
    HTTPMessage.parse(self, data)
  File "/usr/lib/pymodules/python2.6/papyon/gnet/message/HTTP.py", line 70, in parse
    name, value = line.split(":", 1)
ValueError: need more than 1 value to unpack
Comment 2 Olivier Le Thanh Duong 2010-04-07 10:00:07 UTC
*** Bug 24121 has been marked as a duplicate of this bug. ***
Comment 3 Olivier Le Thanh Duong 2010-04-07 10:04:33 UTC
this branch should fixes the problem
Comment 4 Jonny Lamb 2010-04-07 10:23:37 UTC
(In reply to comment #3)
> this branch should fixes the problem

Good catch. Get merging!
Comment 5 Youness Alaoui 2010-04-07 11:30:15 UTC
Reviewed, mergeable. thanks
Comment 6 Olivier Le Thanh Duong 2010-04-07 17:22:08 UTC
thanks, merged


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.