I think that this bug is wider than just tg-admin:
for instance if you try to import turbojson (or anything that depends on it) into python then you get an error as follows:
>>> import turbojson
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/var/lib/python-support/python2.6/turbojson/__init__.py", line 1, in <module>
from turbojson import jsonsupport
File "/var/lib/python-support/python2.6/turbojson/jsonsupport.py", line 3, in <module>
from turbojson import jsonify
File "/var/lib/python-support/python2.6/turbojson/jsonify.py", line 6, in <module>
from peak.rules import abstract, when
ImportError: No module named rules
>>>
You get a similar ImportError if you try to import peak.rules on its own.
I think that this bug is wider than just tg-admin: python- support/ python2. 6/turbojson/ __init_ _.py", line 1, in <module> python- support/ python2. 6/turbojson/ jsonsupport. py", line 3, in <module> python- support/ python2. 6/turbojson/ jsonify. py", line 6, in <module>
for instance if you try to import turbojson (or anything that depends on it) into python then you get an error as follows:
>>> import turbojson
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/var/lib/
from turbojson import jsonsupport
File "/var/lib/
from turbojson import jsonify
File "/var/lib/
from peak.rules import abstract, when
ImportError: No module named rules
>>>
You get a similar ImportError if you try to import peak.rules on its own.