LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-10-2005, 11:48 AM   #1
cardgage
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
Problems running "bttrack.py"


Hello everyone!

I've recently installed Fedora 7 on an old computer that was lying around the house. I'm fairly computer-literate when it comes to Windows and hardware issues, but I'm completely new to Linux.

I've set up my linux machine to be a web server and host a small forum, but I would now like to set up a BitTorrent tracker on the machine as well. I downloaded and installed BitTorrent build 4.0.4, and from the "readme.txt" file I see that I need to run "bttrack.py" to set up the tracker. When I try to run the command
Code:
python bttrack.py --port 6969 --dfile dstate
from the /usr/bin directory, I get the message that
Quote:
Traceback (innermost last):
File "/usr/bin/bttrack.py", line 16, in ?
from BitTorrent.track import track
ImportError: No module named BitTorrent.track
The only file I could find close to "Bittorrent.track" is "/usr/lib/python2.3/site-packages/BitTorrent/track.py". Trying to run that gives a message like above with "No module named BitTorrent.obsoletepythonsupport"

Any suggestions as to what I have done wrong here?
 
Old 10-11-2005, 07:32 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
I've recently installed Fedora 7 on an old computer
Must be some other distro, because FC current is 4. I sincerely hope it isn't RedHat Linux 7.x, because all "RedHat Linux" releases are obsolete, only RHEL and Fedora remain.


I'm completely new to Linux. I've set up my linux machine to be a web server and host a small forum, but I would now like to set up a BitTorrent tracker on the machine as well.
Please check out the LQ FAQ: Security references. Your box probably needs hardening before you continue (ask questions about that in the LQ Security forum).


The only file I could find close to "Bittorrent.track" is "/usr/lib/python2.3/site-packages/BitTorrent/track.py"
Which probably means you're running a version of Python lower than 2.3, and it ain't looking at the /usr/lib/python2.3 contents. If you dont need support for Python 2.2 you could upgrade it to 2.3. If that is not an option, and if there are no security implications, and if it doesn't loose specific functions you will need, you could also try and downgrade BitTorrent package to a version that still uses Python 2.2.
 
Old 10-11-2005, 08:55 AM   #3
cardgage
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the reply.

Yeah, my mistake... Fedora 4. I'm posting from my Windoze box so I just went from memory. I must have seen Red Hat 7 somewhere and gotten confused.

Thanks for the link to the security thread, I will definitely check that out and tighten up my security.

As for the Python thing, I also have an empty folder named Python2.4 in the /usr/lib/ directory. I suppose that if I had Python 2.4 it would not be backwards compatible? That would probably explain the "BitTorrent.obsoletepythonsupport" module that it was complaining about. If I were able to downgrade my version of Python to 2.3, would that allow me to run the track.py, and then the bttrack.py modules?

Thanks for your help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
User "list" running process "python" TroelsSmit Linux - Newbie 2 02-22-2005 05:55 AM
error message when pressing "Next" "BIOS Problems" , help ! HeRCuLeSX Fedora 3 07-21-2004 03:37 PM
why iam getting problems like "...too many files opened" or "segmentation fault" naren_0101bits Linux - Newbie 2 07-19-2004 01:20 PM
error running "make" and "arkollonrc"... Toro Linux - Software 1 04-19-2004 01:24 AM
anging "Protocol" option to "IMPS/2" in XF86Config-4 causes problems zstingx Linux - General 2 10-27-2003 10:47 AM


All times are GMT -5. The time now is 08:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration