Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 272131 - net-p2p/bittorrent-5.0.9-r1 "Message parsing failed" errors
Summary: net-p2p/bittorrent-5.0.9-r1 "Message parsing failed" errors
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo net-p2p team
URL: https://qa.mandriva.com/show_bug.cgi?...
Whiteboard:
Keywords:
Depends on:
Blocks: 336166
  Show dependency tree
 
Reported: 2009-06-01 19:40 UTC by Pierre-Yves Rofes (RETIRED)
Modified: 2011-03-16 02:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for suppressing message parsing failed errors (bittorent.patch,734 bytes, patch)
2009-06-01 19:42 UTC, Pierre-Yves Rofes (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre-Yves Rofes (RETIRED) gentoo-dev 2009-06-01 19:40:23 UTC
Every time I download a torrent, I get tons of these:

Message parsing failed
 <type 'exceptions.KeyError'>: 'dropped'
   File "/usr/lib/python2.5/site-packages/BitTorrent/Connector.py", line 987, in data_came_in
    self._next_len = self._reader.next()

   File "/usr/lib/python2.5/site-packages/BitTorrent/Connector.py", line 664, in _read_messages
    self._got_message(self._message)

   File "/usr/lib/python2.5/site-packages/BitTorrent/Connector.py", line 730, in _got_message
    self._got_utorrent_msg(msg_type, d)

   File "/usr/lib/python2.5/site-packages/BitTorrent/Connector.py", line 693, in _got_utorrent_msg
    dropped_gen = IPTools.uncompact_sequence(d['dropped'])

Downloading and seeding the torrent will still work, but this is cluttering logs. Like $URL says, this is not a 32/64 bit problem, as this happens on x86 and sparc64.

I made a patch to remove the message, but I guess this is more a cheap hack than a real solution.


Reproducible: Always

Steps to Reproduce:
1. Start bittorrent-console
2. watch output
Comment 1 Pierre-Yves Rofes (RETIRED) gentoo-dev 2009-06-01 19:42:11 UTC
Created attachment 193175 [details, diff]
Patch for suppressing message parsing failed errors

Proposed patch.
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2011-03-16 02:42:08 UTC
Please reopen if this is still an issue with 4.4.0-r1/r2.