| Issue 6: | ImportError: No module named django (and django is properly installed on this machine) | |
| 7 people starred this issue and may be notified of changes. | Back to list |
[Note: this is for reporting issues on the JaikuEngine open source project. if you are reporting an issue with the jaiku.com service, please send it to support@jaiku.com] What steps will reproduce the problem? 1. Starting server with manage.py What is the expected output? What do you see instead? I get the purple error screen with an ImportError: No module named django. I have Django on this machine and can run other django applications. What version of the product are you using? On what operating system? March 14th build, on Ubuntu 8.04 Ubuntu Please provide any additional information below.
Mar 14, 2009
Issue 14 has been merged into this issue.
Mar 14, 2009
Hi mika, Not really in google/appengine/tools/dev_appserver.py, please remember jaikuengine brings its own SDK copy through externals. For those having this problem just comment out the block cited by Mika in '.google_appengine/google/appengine/tools/dev_appserver.py' as a workaround. Keep in mind it will produce a diff on an 'external item' (see svn status output). regards, -- stratus
Mar 14, 2009
With SDK version 1.1.9, the block
if FakeFile._skip_files.match(relative_filename):
logging.warning('Blocking access to skipped file "%s"',
logical_filename)
return False
is *not* in google/appengine/tools/dev_appserver.py. There doesn't appear to be
anything like it, either.
Mar 14, 2009
thelevybreaks, please read Comment #3. thanks, -- stratus
Mar 16, 2009
I've got the same problem on OS X; the fix reported by gustavorfranco works.
Mar 17, 2009
When I search for "dev_appserver.py" I only find the files supplied with the SDK. Within the jaiku project, I can't find the externals mentioned by gustavorfranco. Maybe I'm just being dense (yes, that's probably it), but a more explicit explanation would be very helpful.
Mar 17, 2009
thelevybreaks, don't you have a .google_appengine subdirectory into your jaikuengine svn checkout? -- stratus
Mar 17, 2009
Yes, I was being dense. I had Show Hidden Files toggled off in Nautilus.
Mar 19, 2009
I'm not sure how roundabout adding a patch to fix this issue would have to be, we either need to restructure the build system or monkeypatch that file, i'd prefer not to do the latter but the former may make installation issues a bit more straightforward as well
Status:
Accepted
Owner: andyster |
There's an incompatibility with the current appengine SDK that is getting fixed. Meanwhile, comment out the lines if FakeFile._skip_files.match(relative_filename): logging.warning('Blocking access to skipped file "%s"', logical_filename) return False in google/appengine/tools/dev_appserver.py. (workaround originally by termie)