Hi Fernando,

'profile' is one of standard python module. I guess sys.path order in
your development environment is different from server environment.

Could you rename your app to another name and try?

Regards,

-- 
Takashi Matsuo
Kay's daddy



On Fri, Oct 16, 2009 at 5:43 PM, FernandoEscher
<fernando.ir...@escolarea.com> wrote:
>
> Hi!
>
> I'm using the last version of GAE with Django 0.96. My problem is that
> a I get this unexplainable ViewDoesNotExist error:
>
> ViewDoesNotExist at /profile/edit/
> Could not import profile.views. Error was: No module named views
>
> Exception Value:        Could not import profile.views. Error was: No
> module named views
>
> Traceback (most recent call last):
> File "/base/python_lib/versions/third_party/django-0.96/django/core/
> handlers/base.py" in get_response
>  68. callback, callback_args, callback_kwargs = resolver.resolve
> (request.path)
> File "/base/python_lib/versions/third_party/django-0.96/django/core/
> urlresolvers.py" in resolve
>  162. sub_match = pattern.resolve(new_path)
> File "/base/python_lib/versions/third_party/django-0.96/django/core/
> urlresolvers.py" in resolve
>  118. return self.callback, args, kwargs
> File "/base/python_lib/versions/third_party/django-0.96/django/core/
> urlresolvers.py" in _get_callback
>  127. raise ViewDoesNotExist, "Could not import %s. Error was: %s" %
> (mod_name, str(e))
>
>  ViewDoesNotExist at /profile/edit/
>  Could not import profile.views. Error was: No module named views
>
> ---------------------------------------------------------
>
> My url.py file got this line:
> (r'^/?profile/edit/$', 'profile.views.edit'),
>
> And my profile package structure is:
> profile/
>        __init__.py
>        models.py
>        views.py
> --------------------------------------------------------
>
> The thing I don't undestand is that my app actually works on localhost
> with the development server, but it doesn't work on the cloud
> (appspot). Other thing that's really strange is that I got other
> Django apps and they work fine, as they are supposed to, so it makes
> me think this is some kind of bug in the upload manager or something
> that doesn't upload my views.py file (correct me if I'm wrong).
>
> Does anyone know what is the solution to this issue?
>
> Thanks for the help!
>
> >
>

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

Reply via email to