[0.7.0b2] incompatible with python 2.5?
Posted: April 10th, 2012, 3:44 am
Trying beta 2 on ubuntu ancient hardy/8.04 results in a traceback on startup:
ubuntu@ubuntu-desktop:/tmp/t/SABnzbd-0.7.0Beta2$ python -V
Python 2.5.2
ubuntu@ubuntu-desktop:/tmp/t/SABnzbd-0.7.0Beta2$ python SABnzbd.py
Traceback (most recent call last):
File "SABnzbd.py", line 65, in <module>
import sabnzbd
File "/tmp/t/SABnzbd-0.7.0Beta2/sabnzbd/__init__.py", line 65, in <module>
from sabnzbd.nzbqueue import NzbQueue
File "/tmp/t/SABnzbd-0.7.0Beta2/sabnzbd/nzbqueue.py", line 29, in <module>
from sabnzbd.nzbstuff import NzbObject
File "/tmp/t/SABnzbd-0.7.0Beta2/sabnzbd/nzbstuff.py", line 41, in <module>
from sabnzbd.misc import to_units, cat_to_opts, cat_convert, sanitize_foldername, \
File "/tmp/t/SABnzbd-0.7.0Beta2/sabnzbd/misc.py", line 46, in <module>
import sabnzbd.growler as growler
File "/tmp/t/SABnzbd-0.7.0Beta2/sabnzbd/growler.py", line 42, in <module>
with warnings.catch_warnings():
AttributeError: 'module' object has no attribute 'catch_warnings'
ubuntu@ubuntu-desktop:/tmp/t/SABnzbd-0.7.0Beta2$ uname -a
Linux ubuntu-desktop 2.6.24-31-generic #1 SMP Wed Mar 7 00:16:24 UTC 2012 i686 GNU/Linux
ubuntu@ubuntu-desktop:/tmp/t/SABnzbd-0.7.0Beta2$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.04.4 LTS
Release: 8.04
Codename: hardy
ubuntu@ubuntu-desktop:/tmp/t/SABnzbd-0.7.0Beta2$