gcodeforks / apptrace

Automatically exported from code.google.com/p/apptrace
0 stars 0 forks source link

simplejson import failed in apptrace.middleware #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. import apptrace.middleware
2.
3.

What is the expected output? What do you see instead?
import should succeed

What version of the product are you using? On what operating system?
google-appengine 1.5.0-1
Archlinux

Please provide any additional information below.
>>> import apptrace.middleware
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/apptrace-0.2.2-py2.5.egg/apptrace/middleware.py", line 18, in <module>
    from instruments import Recorder
  File "/usr/lib/python2.5/site-packages/apptrace-0.2.2-py2.5.egg/apptrace/instruments.py", line 23, in <module>
    from django.utils import simplejson
ImportError: No module named django.utils

Changing that import line to "import simplejson" worked fine

Original issue reported on code.google.com by tpk1...@gmail.com on 20 Jul 2011 at 7:55

GoogleCodeExporter commented 9 years ago
Thanks for reporting this! I've already committed a fix for this and will make 
a new release soon.

Original comment by tobias.r...@gmail.com on 20 Jul 2011 at 11:21

GoogleCodeExporter commented 9 years ago
Fixed in the 0.2.3 release.

Original comment by tobias.r...@gmail.com on 20 Jul 2011 at 11:44