Menu

#5 peapod btclient.py and bittorrent 4.20.2

open
None
5
2006-08-23
2006-08-13
No

I'm getting errors about unresolved imports
in btclient.py
from BitTorrent.download import Feedback, Multitorrent

I hacked around this using

if __btversion__ == 1.0:
from BitTorrent.download import Feedback,
Multitorrent
else:
from BitTorrent.Torrent import Feedback
from BitTorrent import MultiTorrent as Multitorrent

What would be the correct fix?

Discussion

  • Huw Lynes

    Huw Lynes - 2006-08-23
    • assigned_to: nobody --> huw_lynes
     
  • Huw Lynes

    Huw Lynes - 2006-08-23

    Logged In: YES
    user_id=1332696

    Hi andreas,
    sorry I didn't get to this earlier.
    Could you run peapod/dependencies.py and post the output?

    also what OS/distibution are you running? e.g linux/ubuntu,
    freeBSD, MacOS/X etc

    Thanks,
    Huw

     

Log in to post a comment.

MongoDB Logo MongoDB