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

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to