brian-zhao / google-app-engine-django

Automatically exported from code.google.com/p/google-app-engine-django
Apache License 2.0
0 stars 0 forks source link

simplejson importerror #196

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
the helper is failing to import simplejson after the 1.5.2 update.

I got able to fix it adding simplejson to the EXTRA_SDK, patch follows:

hg diff appengine_django/__init__.py 
diff -r 1efa655a327a appengine_django/__init__.py
--- a/appengine_django/__init__.py  Tue Jul 19 00:33:38 2011 -0300
+++ b/appengine_django/__init__.py  Mon Jul 25 12:05:34 2011 -0300
@@ -131,6 +131,7 @@
         os.path.join(SDK_PATH, 'lib', 'django'),
         os.path.join(SDK_PATH, 'lib', 'ipaddr'),
         os.path.join(SDK_PATH, 'lib', 'webob'),
+        os.path.join(SDK_PATH, 'lib', 'simplejson'),
         os.path.join(SDK_PATH, 'lib', 'yaml', 'lib'),
         os.path.join(SDK_PATH, 'lib', 'fancy_urllib'),
     ]

Original issue reported on code.google.com by sebastian.serrano on 25 Jul 2011 at 3:07

GoogleCodeExporter commented 8 years ago
thanks! I had the same problem, I was not able to create a new app for my 
django blog

Original comment by mohsen.b...@gmail.com on 13 Aug 2011 at 2:19

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r116.

Original comment by m...@google.com on 20 Aug 2011 at 4:27