the forums at degreez.net
http://forums.degreez.net/

Tornado 0.0.1 for linux broken
http://forums.degreez.net/viewtopic.php?f=4&t=55
Page 1 of 1

Author:  deathpudding [ Sat Mar 13, 2004 6:40 pm ]
Post subject:  Tornado 0.0.1 for linux broken

For reference, S-5.8.11 works fine.

Traceback (most recent call last):
File "./setup.py", line 13, in ?
version = BitTorrent.version,
NameError: name 'BitTorrent' is not defined

Replacing BitTorrent.version with a string allows it to build/install, but then:

Traceback (most recent call last):
File "/usr/bin/btdownloadgui.py", line 20, in ?
from BitTornado.BT1.download import Download
ImportError: No module named BT1.download

Author:  TheSHAD0W [ Sun Mar 14, 2004 1:04 pm ]
Post subject: 

Thanks.

Author:  nobody [ Sun Mar 14, 2004 11:45 pm ]
Post subject: 

Well, if you change that BitTorrent to BitTornado, it'll compile and install just as normally and easily as the previous version. The issue is that there is no "BitTorrent" imported into the script, and since it's been changed to BitTornado... :wink:

Author:  nobody [ Sun Mar 14, 2004 11:53 pm ]
Post subject: 

Oh, and after installing, btdownloadgui.py goes down at line 19, complaining about no BT1.download. Seems like it isn't installed through the script...

Author:  nobody [ Mon Mar 15, 2004 12:01 am ]
Post subject: 

And the fix is...

edit the setup.py file and change
Code:
packages = ["BitTornado"],


to

Code:
packages = ["BitTornado","BitTornado.BT1"],


Fairly simple, eh? So far things work now, so that's about all that needs to be changed as far as I can see :)

Author:  deathpudding [ Mon Mar 15, 2004 5:20 am ]
Post subject: 

thanks much :D

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/