Problem starting after upgrading to 0.7.20 (ubuntu 12.04)
Posted: December 10th, 2014, 5:25 pm
sabnzbdplus 7.2.0 - ubuntu 12.04 -
Installed from jcfp repos. Tried upgrading failed to upgrade b/c of start issues
So it's breaking around here:
I poked at the installed pystone and it's there.
Not sure why this is failing out. Not sure where to check the baked in util.pystone on the install...
Please advise.
m!
Installed from jcfp repos. Tried upgrading failed to upgrade b/c of start issues
Code: Select all
Traceback (most recent call last):
File "/usr/bin/sabnzbdplus", line 1873, in <module>
main()
File "/usr/bin/sabnzbdplus", line 1292, in main
from util.pystone import pystones
ImportError: No module named util.pystone
Code: Select all
# measure and log Pystone performance, and - if possible - CPU type
try:
# First try pystone from Python test libary
from test.pystone import pystones
except:
# otherwise use the one provided by SABnzbd
from util.pystone import pystones
pystonetime,pystoneperformance = pystones(1000)
logging.debug('CPU Pystone available performance is %s',int(pystoneperformance))
Code: Select all
# python --version
Python 2.7.3
# file /usr/lib/python2.7/test/pystone.py
/usr/lib/python2.7/test/pystone.py: a /usr/bin/python2.7 script, ASCII text executable
# python
Python 2.7.3 (default, Feb 27 2014, 19:58:35)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from test.pystone import pystones
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named pystone
Please advise.
m!