the forums at degreez.net

It is currently Mon Oct 21, 2019 3:06 pm

All times are UTC - 7 hours [ DST ]




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 
Author Message
PostPosted: Sat Mar 13, 2004 6:40 pm 
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


Top
  
 
 Post subject:
PostPosted: Sun Mar 14, 2004 1:04 pm 
Offline

Joined: Sun Mar 07, 2004 10:05 am
Posts: 1212
Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 14, 2004 11:45 pm 
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:


Top
  
 
 Post subject:
PostPosted: Sun Mar 14, 2004 11:53 pm 
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...


Top
  
 
 Post subject:
PostPosted: Mon Mar 15, 2004 12:01 am 
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 :)


Top
  
 
 Post subject:
PostPosted: Mon Mar 15, 2004 5:20 am 
thanks much :D


Top
  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group