You are not logged in.
(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 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!!
Last edited by colbert (2010-12-08 23:16:54)
Offline
Does this help?
Offline
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
Sorry to bump but not sure how to proceed here ...
Offline
Well, for now I just did
rm /usr/bin/python
ln -s python2 /usr/bin/python
Temporary fix I suppose.
Offline
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!
Offline
^^^ Ran into error again, and doing the above has solved it! Thanks pfy!
Offline