Hi everyone! Since a few days I'm having some random 500 errors so I
made a REALLY simple version of it... and I'm still getting the same
behavior...
This is the code of the simplified version:
urls.py
from django.conf import settings
from django.conf.urls.defaults import *
urlpatterns = patterns('apps.test.views',
(r'^$', 'test'),
)
views.py
# -*- coding:UTF-8
import unicodedata
from django.http import HttpResponse, HttpResponseRedirect
from django.shortcuts import render_to_response, get_object_or_404
import os
def test(request):
return render_to_response("test/test.html")
---------
I'm getting a 30% rate of errors and it's dead easy to fail. This are
the logs:
Exception in request:
Traceback (most recent call last):
File "/base/python_lib/versions/third_party/django-1.0/django/core/
handlers/base.py", line 77, in get_response
request.path_info)
File "/base/python_lib/versions/third_party/django-1.0/django/core/
urlresolvers.py", line 181, in resolve
sub_match = pattern.resolve(new_path)
File "/base/python_lib/versions/third_party/django-1.0/django/core/
urlresolvers.py", line 181, in resolve
sub_match = pattern.resolve(new_path)
File "/base/python_lib/versions/third_party/django-1.0/django/core/
urlresolvers.py", line 124, in resolve
return self.callback, args, kwargs
File "/base/python_lib/versions/third_party/django-1.0/django/core/
urlresolvers.py", line 133, in _get_callback
raise ViewDoesNotExist, "Could not import %s. Error was: %s" %
(mod_name, str(e))
ViewDoesNotExist: Could not import apps.test.views. Error was: cannot
import name signals
-----------------
<class 'google.appengine.runtime.DeadlineExceededError'>:
Traceback (most recent call last):
File "/base/data/home/apps/webappmobile/3.336262356632739195/
main.py", line 47, in <module>
main()
..
..
..
File "/base/python_dist/lib/python2.5/linecache.py", line 80, in
updatecache
stat = os.stat(fullname)
OR
File "/base/python_dist/lib/python2.5/linecache.py", line 128, in
updatecache
fp = open(fullname, 'rU')
OR
File "/base/python_dist/lib/python2.5/linecache.py", line 129, in
updatecache
lines = fp.readlines()
Has anybody experienced something like this?. It's related to google?
Regards
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---