klipstein/dojango — Issue #6: 6 - Exception 'Could not import dojango.views. Error was: No module named encoding' raised when following GettingStarted instructions. 
Author: klipstein
Created: 2011-11-06 12:45:58+00:00
State: open

Hi Guys,

I am really interested in getting Dojo running on Django and dojango seems
the best way to go.

I followed the instructions on the GettingStarted wiki page and I cannot
get the test page to load.

I get the following exception:

Traceback (most recent call last):
File
"C:\adi_vsfz\Python2.5.2\lib\site-packages\django\core\handlers\base.py" in
get_response
68. callback, callback_args, callback_kwargs = resolver.resolve(request.path)
File
"C:\adi_vsfz\Python2.5.2\lib\site-packages\django\core\urlresolvers.py" in
resolve
162. sub_match = pattern.resolve(new_path)
File
"C:\adi_vsfz\Python2.5.2\lib\site-packages\django\core\urlresolvers.py" in
resolve
162. sub_match = pattern.resolve(new_path)
File
"C:\adi_vsfz\Python2.5.2\lib\site-packages\django\core\urlresolvers.py" in
resolve
118. return self.callback, args, kwargs
File
"C:\adi_vsfz\Python2.5.2\lib\site-packages\django\core\urlresolvers.py" in
_get_callback
127. raise ViewDoesNotExist, "Could not import %s. Error was: %s" %
(mod_name, str(e))

ViewDoesNotExist at /dojango/test/
Could not import dojango.views. Error was: No module named encoding

I am using django 0.96. I also put the Dojo 1.1.1 source into the
mysite\dojango\media\dojo\1.1.1 folder.

Do I need a seperate folder under the 1.1.1 folder, or is it okay to drop
the contents of the Dojo 1.1.1 installation into the media\dojo\1.1.1\ folder?

I was on the IRC channel for a while, and other people haven't appeared to
have this problem, so I don't really know what I am doing wrong.

Thanks for your time!

aidan

Original link: http://code.google.com/p/dojango/issues/detail?id=6