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

RedHat 9 and python2.3
http://forums.degreez.net/viewtopic.php?f=3&t=144
Page 1 of 1

Author:  Guest [ Sat Mar 20, 2004 10:42 am ]
Post subject:  RedHat 9 and python2.3

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

Author:  xagoras [ Mon Mar 22, 2004 1:22 pm ]
Post subject:  i need help too

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

Author:  Guest [ Wed Mar 31, 2004 11:47 am ]
Post subject: 

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.

Author:  Guest [ Fri Apr 02, 2004 3:28 am ]
Post subject:  RH9 & shadows

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

Author:  Guest [ Fri Apr 02, 2004 9:39 am ]
Post subject: 

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!

Author:  twiley [ Mon Apr 05, 2004 6:56 am ]
Post subject: 

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

Author:  TheSHAD0W [ Mon Apr 05, 2004 12:35 pm ]
Post subject: 

Yep. Or btdownloadcurses.py http://some.webserver.com/sometorrent.torrent

Author:  Aldaron [ Sat Apr 17, 2004 5:06 am ]
Post subject: 

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!!!!

Author:  Aldaron [ Sat Apr 17, 2004 6:26 am ]
Post subject: 

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!!!

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