the forums at degreez.net

It is currently Mon Nov 12, 2018 7:00 pm

All times are UTC - 7 hours [ DST ]




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 
Author Message
 Post subject: RedHat 9 and python2.3
PostPosted: Sat Mar 20, 2004 10:42 am 
I have Redhat linux 9 with the stock kernel. I have been trying to install shadows bittorent [any version] but it needs python2.3 while redhat9 needs python 2.2

I have tried many things but its come to a point where i must ask someone who uses RH9 with shadowsclient on how to install it.

ive only been using linux for 3 months so a step by step help with exacly what rpms to get would really be helpfull

thanks


Top
  
 
 Post subject: i need help too
PostPosted: Mon Mar 22, 2004 1:22 pm 
Hi.I exactly have the same problem that your and also i dont know so much english :wink: could somebody help us, please?
Thanks Xagoras


Top
  
 
 Post subject:
PostPosted: Wed Mar 31, 2004 11:47 am 
I've been using shadows for months on redhat 9.0.
I don't have python 2.3 installed.

First of all you need to install wxPython, did you do that?
You should use the correct version the latest wxPython needs python 2.3.
You can use this link http://prdownloads.sourceforge.net/wxpy ... 1.i386.rpm

After installing you should be able to run shadows/tornado.
Just be sure you don't use unicode as you're language set.
This version of wxPython does not support unicode.
Go to the directory where you put shadow and start you're torrent with in a terminal window:
env -u LANG ./btdownloadgui.py <torrentfile>

If you like your browser to automatically start shadow read the file INSTALL.unix.txt which says:
Quote:
untar and put a line in /etc/mailcap which is similar to the
following, only replace the path to
/usr/bin/btdownloadgui.py with the one it's actually in.

application/x-bittorrent; /usr/bin/btdownloadgui.py %s; test=test -n "$DISPLAY"

You may have to restart your web browser for it to start
using BitTorrent.

If you're using a web browser which doesn't respect
/etc/mailcap you can go into the mimetype configuration for
your web browser and manually associate application/x-bittorrent
with btdownloadgui.py (with the appropriate path, of course.)


Let me now if you got it working.


Top
  
 
 Post subject: RH9 & shadows
PostPosted: Fri Apr 02, 2004 3:28 am 
ya when i was messing around i installed many things like python-base, wxPython, python 2.3s

anyways on stock installation this is the very first error i get

# rpm -Uvh bittorrent-shadowsclient-5.8.7-1mdk.noarch.rpm
warning: bittorrent-shadowsclient-5.8.7-1mdk.noarch.rpm: V3 DSA signature: NOKEY, key ID 26752624
error: Failed dependencies:
python-base >= 2.3 is needed by bittorrent-shadowsclient-5.8.7-1mdk
python-base is needed by bittorrent-shadowsclient-5.8.7-1mdk
#

its been a while since i messed around with it so i dont remeber which steps i took, i dont have any free time right now (dam these exams) to test you wrote (hopefully it works) but it is a solution that i never would have guessed cause it ask for a >=2.3 of python-somethingorother not a 2.2

gonna post after testing this in a couple of weeks


Top
  
 
 Post subject:
PostPosted: Fri Apr 02, 2004 9:39 am 
Wel is seems you have a dependency problem when installing with rpm.
That's because you use a mandrake rpm to install on redhat.

You can use the options --nodeps with rpm to ignore this error.

Another solution to this problem is to ignore the rpm completely.
Just download the source file like this one: BitTornado-0.1.1.tar.gz which is the current version.
Just unpack it with:
tar xzvf BitTornado-0.1.1.tar.gz

You have now a directory like BitTornado-CVS. There you will find the program which you can use as stated above.

Good luck with your exams!


Top
  
 
 Post subject:
PostPosted: Mon Apr 05, 2004 6:56 am 
I am using RD9 with the python that came with the installation disks for RH9 I think its Python 2.2

I didn't like the gui so I run shadows thru command terminal.

its actually simple.

Just dload the .torrent file to say /home/yournickname/torrent directory

when starting the client thru command use something like this

cd /the/directory/to/shadow (hit the enter key)

sould look similar to this

[root@localhost bittorrent-CVS-shadowsclient]#

then type something similar to this. You may have to change the directory but this is what I use.

./btdownloadcurses.py /home/yournickname/torrent/whateverthetorrentnameishere.torrent --saveas /home/yournickname/shn (hit the enter key)

if you type only this

./btdownloadcurses.py (hit the enter key)

a option list will com up on what options you can use and add to the command.


Hope that helps?

twiley


Top
  
 
 Post subject:
PostPosted: Mon Apr 05, 2004 12:35 pm 
Offline

Joined: Sun Mar 07, 2004 10:05 am
Posts: 1212
Yep. Or btdownloadcurses.py http://some.webserver.com/sometorrent.torrent


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 17, 2004 5:06 am 
And how can you maintan btdownloadcurses.py running even when you logout?? I always connect to my account through SSH and when I logout the python process gets killed.

I tried using nohup but btdownloadcurses.py doesn't seem to start:

nohup ./btdownloadcurses.py --minport 50000 --maxport 50008 --responsefile xxxxxxx.torrent --saveas /data/aldaron/downld/xxxx.zip &

Thank you!!!!


Top
  
 
 Post subject:
PostPosted: Sat Apr 17, 2004 6:26 am 
I'll answer myself: before starting btdownloadcurses.py, execute a 'screen' command. Start btdownloadcurses.py there and rettach that screen with CTRL+A+D. Then you can logout and when you turn back, you can type 'screen -r' to recover the screen in which btdownloadcurses.py is running.

It's easy and it works!!!

Bye!!!


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

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 5 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