importing cjson/numpy/scipy causes crash

18 views
Skip to first unread message

Parrellel

unread,
Jun 25, 2009, 6:00:11 PM6/25/09
to Django users
Hello,

Whenever I try to import any of the above into the view into my site
it shoots back with:

Caught an exception while rendering: Could not import AECOM.ofc.views.
Error was: DLL load failed: The specified module could not be found.

And in the apache log:

[Thu Jun 25 16:53:46 2009] [error] [client 127.0.0.1] mod_wsgi
(pid=2612): Exception occurred processing WSGI script 'D:/Work/Peter/
AECOM/apache/django.wsgi'.
[Thu Jun 25 16:53:46 2009] [error] [client 127.0.0.1] Traceback (most
recent call last):
[Thu Jun 25 16:53:46 2009] [error] [client 127.0.0.1] File "C:\
\Python26\\lib\\site-packages\\django\\core\\handlers\\wsgi.py", line
239, in __call__
[Thu Jun 25 16:53:46 2009] [error] [client 127.0.0.1] response =
self.get_response(request)
[Thu Jun 25 16:53:46 2009] [error] [client 127.0.0.1] File "C:\
\Python26\\lib\\site-packages\\django\\core\\handlers\\base.py", line
67, in get_response
[Thu Jun 25 16:53:46 2009] [error] [client 127.0.0.1] response =
middleware_method(request)
[Thu Jun 25 16:53:46 2009] [error] [client 127.0.0.1] File "C:\
\Python26\\lib\\site-packages\\django\\middleware\\common.py", line
57, in process_request
[Thu Jun 25 16:53:46 2009] [error] [client 127.0.0.1]
_is_valid_path("%s/" % request.path_info)):
[Thu Jun 25 16:53:46 2009] [error] [client 127.0.0.1] File "C:\
\Python26\\lib\\site-packages\\django\\middleware\\common.py", line
142, in _is_valid_path
[Thu Jun 25 16:53:46 2009] [error] [client 127.0.0.1]
urlresolvers.resolve(path)
[Thu Jun 25 16:53:46 2009] [error] [client 127.0.0.1] File "C:\
\Python26\\lib\\site-packages\\django\\core\\urlresolvers.py", line
246, in resolve
[Thu Jun 25 16:53:46 2009] [error] [client 127.0.0.1] return
get_resolver(urlconf).resolve(path)
[Thu Jun 25 16:53:46 2009] [error] [client 127.0.0.1] File "C:\
\Python26\\lib\\site-packages\\django\\core\\urlresolvers.py", line
181, in resolve
[Thu Jun 25 16:53:46 2009] [error] [client 127.0.0.1] sub_match =
pattern.resolve(new_path)
[Thu Jun 25 16:53:46 2009] [error] [client 127.0.0.1] File "C:\
\Python26\\lib\\site-packages\\django\\core\\urlresolvers.py", line
124, in resolve
[Thu Jun 25 16:53:46 2009] [error] [client 127.0.0.1] return
self.callback, args, kwargs
[Thu Jun 25 16:53:46 2009] [error] [client 127.0.0.1] File "C:\
\Python26\\lib\\site-packages\\django\\core\\urlresolvers.py", line
133, in _get_callback
[Thu Jun 25 16:53:46 2009] [error] [client 127.0.0.1] raise
ViewDoesNotExist, "Could not import %s. Error was: %s" % (mod_name, str
(e))
[Thu Jun 25 16:53:46 2009] [error] [client 127.0.0.1]
ViewDoesNotExist: Could not import AECOM.ofc.views. Error was: DLL
load failed: The specified module could not be found.

Initially the page being returned was View Does Not Exist this has
been replaced with an Internal Server Error.

Removing the import removes the problem.

If anyone could help that would be excellent,

Parrellel
Reply all
Reply to author
Forward
0 new messages