You are not logged in.

#1 2010-10-22 21:57:28

colbert
Member
Registered: 2007-12-16
Posts: 809

[SOLVED] Error with torrentflux-b4rt, happening after recent upgrade

(would've posted on tflux forums but they are pretty dead+overrun with spam).

Trying to start any torrent in torrentflux (using BitTornado) gives this error in the log file:

 File "/home/bobby2/public_html/torrentflux-b4rt/bin/clients/tornado/tftornado.py", line 126
    except Exception, e:
                    ^
SyntaxError: invalid syntax

The file in question, tftornado.py, line 126 is following:

    except Exception, e:
        sys.stderr.write("Failed to write log-file : " + transferLogFile + "\n")

Can't start any torrent now, keep getting this sad Haven't changed a thing except a big recent upgrade, I even rebooted the system and restarted httpd several times trying to troubleshoot, but no luck.

Thanks for any help!! smile

Last edited by colbert (2010-12-08 23:16:54)

Offline

#2 2010-10-22 22:11:34

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: [SOLVED] Error with torrentflux-b4rt, happening after recent upgrade

Does this help?

Offline

#3 2010-10-23 02:07:38

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: [SOLVED] Error with torrentflux-b4rt, happening after recent upgrade

That looks like it probably would do it, but how do I apply it to torrentflux? It is just in a folder in ~/public_html/torrentflux-b4rt. (There is no reference to /usr/bin/python2 in that tftornado.py file.)

Offline

#4 2010-10-25 02:58:50

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: [SOLVED] Error with torrentflux-b4rt, happening after recent upgrade

Sorry to bump but not sure how to proceed here ...

Offline

#5 2010-10-26 03:23:08

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: [SOLVED] Error with torrentflux-b4rt, happening after recent upgrade

Well, for now I just did

rm /usr/bin/python
ln -s python2 /usr/bin/python

Temporary fix I suppose.

Offline

#6 2010-11-10 12:07:09

pfy
Member
Registered: 2007-05-10
Posts: 1

Re: [SOLVED] Error with torrentflux-b4rt, happening after recent upgrade

Changing the 'Python Path' in settings to use /usr/bin/python2 instead of the standard /usr/bin/python (which is python3 now) seems to work, also doesn't break anything that needs python 3 which the above may do! smile

Offline

#7 2010-12-08 23:16:41

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: [SOLVED] Error with torrentflux-b4rt, happening after recent upgrade

^^^ Ran into error again, and doing the above has solved it! Thanks pfy! big_smile smile

Offline

Board footer

Powered by FluxBB