Comment 2 for bug 354443

Revision history for this message
PeterJCLaw (peterjclaw) wrote :

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.