I've met the same problems for a week.

Since my application had run well for several month, I don't think it
is my app's problem.
I am using Django Helper with the Django installed on GAE server.

My app is cnstock6.appspot.com, below is my error logs,it seems that
all error logs is <class
'google.appengine.runtime.DeadlineExceededError'>,
and every error log appears in different place.

Anyone can  help me to solve this problem?Thanks a lot.


120.95.162.230 - - [10/Sep/2009:08:44:48 -0700] "GET /xiaonei/
indexdetail/?
xn_sig_in_iframe=1&xn_sig_method=get&xn_sig_time=1252597456237&xn_sig_user=255015566&xn_sig_expires=1252602000&xn_sig_session_key=2.1171b90c403dd7a9650493500d0a1b54.3600.1252602000-255015566&xn_sig_added=1&xn_sig_api_key=75dad05d3a794d4d9b58535dc331a309&xn_sig_app_id=24754
HTTP/1.1" 500 0 "http://apps.renren.com/livestock/?
origin=103&_os_type=14" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.1; SV1; MAXTHON 2.0),gzip(gfe),gzip(gfe)"
"cnstock6.taotaobujue.info"
E 09-10 08:44AM 48.067
<class 'google.appengine.runtime.DeadlineExceededError'>:
Traceback (most recent call last):
  File "/base/data/home/apps/cnstock6/cocc0722.336240820715932178/
main.py", line 31, in <module>
    InstallAppengineHelperForDjango()
  File "/base/data/home/apps/cnstock6/cocc0722.336240820715932178/
appengine_django/__init__.py", line 486, in
InstallAppengineHelperForDjango
    PatchDjangoSerializationModules()
  File "/base/data/home/apps/cnstock6/cocc0722.336240820715932178/
appengine_django/__init__.py", line 269, in
PatchDjangoSerializationModules
    from django.core.serializers import python
  File "/base/python_lib/versions/third_party/django-1.0/django/core/
serializers/python.py", line 8, in <module>
    from django.core.serializers import base
  File "/base/python_lib/versions/third_party/django-1.0/django/core/
serializers/base.py", line 7, in <module>
    from django.db import models
  File "/base/python_lib/versions/third_party/django-1.0/django/db/
models/__init__.py", line 10, in <module>
    from django.db.models.fields.files import FileField, ImageField
  File "/base/python_lib/versions/third_party/django-1.0/django/db/
models/fields/files.py", line 7, in <module>
    from django.core.files.storage import default_storage
  File "/base/python_lib/versions/third_party/django-1.0/django/core/
files/storage.py", line 9, in <module>
    from django.utils._os import safe_join
  File "/base/python_lib/versions/third_party/django-1.0/django/utils/
_os.py", line 1, in <module>
    import os


09-10 08:44AM 04.367 /xiaonei/indexdetail/?
xn_sig_in_iframe=1&xn_sig_method=get&xn_sig_time=1252597428041&xn_sig_user=221266426&xn_sig_expires=1252602000&xn_sig_session_key=2.f4042ec67411185c49f4c7662c88faef.
3600.1252602000-221266426&xn_sig_added=1&xn_sig_api_key=75dad05d3a794d4d9b58535dc331a309&xn_sig_app_id=24754
500 29327ms 1146cpu_ms 0kb Mozilla/4.0 (compatible; MSIE 6.0; Windows
NT 5.1; SV1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe)
123.112.35.215 - - [10/Sep/2009:08:44:33 -0700] "GET /xiaonei/
indexdetail/?
xn_sig_in_iframe=1&xn_sig_method=get&xn_sig_time=1252597428041&xn_sig_user=221266426&xn_sig_expires=1252602000&xn_sig_session_key=2.f4042ec67411185c49f4c7662c88faef.
3600.1252602000-221266426&xn_sig_added=1&xn_sig_api_key=75dad05d3a794d4d9b58535dc331a309&xn_sig_app_id=24754
HTTP/1.1" 500 0 "http://apps.renren.com/livestock/?origin=103&_hua=50";
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR
1.1.4322),gzip(gfe),gzip(gfe)" "cnstock6.taotaobujue.info"
E 09-10 08:44AM 33.659
<class 'google.appengine.runtime.DeadlineExceededError'>:
Traceback (most recent call last):
  File "/base/data/home/apps/cnstock6/cocc0722.336240820715932178/
main.py", line 31, in <module>
    InstallAppengineHelperForDjango()
  File "/base/data/home/apps/cnstock6/cocc0722.336240820715932178/
appengine_django/__init__.py", line 486, in
InstallAppengineHelperForDjango
    PatchDjangoSerializationModules()
  File "/base/data/home/apps/cnstock6/cocc0722.336240820715932178/
appengine_django/__init__.py", line 269, in
PatchDjangoSerializationModules
    from django.core.serializers import python
  File "/base/python_lib/versions/third_party/django-1.0/django/core/
serializers/python.py", line 8, in <module>
    from django.core.serializers import base
  File "/base/python_lib/versions/third_party/django-1.0/django/core/
serializers/base.py", line 7, in <module>
    from django.db import models
  File "/base/python_lib/versions/third_party/django-1.0/django/db/
models/__init__.py", line 10, in <module>
    from django.db.models.fields.files import FileField, ImageField
  File "/base/python_lib/versions/third_party/django-1.0/django/db/
models/fields/files.py", line 7, in <module>
    from django.core.files.storage import default_storage
  File "/base/python_lib/versions/third_party/django-1.0/django/core/
files/storage.py", line 10, in <module>
    from django.core.files import locks, File
  File "/base/python_lib/versions/third_party/django-1.0/django/core/
files/locks.py", line 16, in <module>
    """

218.95.18.43 - - [10/Sep/2009:08:35:15 -0700] "GET /xiaonei/
indexdetail/?
xn_sig_in_iframe=1&xn_sig_method=get&xn_sig_time=1252596870563&xn_sig_user=243184606&xn_sig_expires=1252602000&xn_sig_session_key=2.3115a5a5b446988d7c49b318a922913e.
3600.1252602000-243184606&xn_sig_added=1&xn_sig_api_key=75dad05d3a794d4d9b58535dc331a309&xn_sig_app_id=24754
HTTP/1.1" 500 0 "http://apps.renren.com/livestock/?
origin=103&_visitor_id=39" "Mozilla/4.0 (compatible; MSIE 6.0; Windows
NT 5.1; SV1; QQDownload 1.7),gzip(gfe),gzip(gfe)"
"cnstock6.taotaobujue.info"
E 09-10 08:35AM 15.099
<class 'google.appengine.runtime.DeadlineExceededError'>:
Traceback (most recent call last):
  File "/base/data/home/apps/cnstock6/cocc0722.336240820715932178/
main.py", line 37, in <module>
    import django.core.handlers.wsgi
  File "/base/python_dist/lib/python2.5/py_zipimport.py", line 105, in
__init__
    if not os.path.isfile(archive):
  File "/base/python_dist/lib/python2.5/posixpath.py", line 208, in
isfile
    st = os.stat(path)

09-10 08:34AM 37.762 /xiaonei/indexdetail/?
xn_sig_in_iframe=1&xn_sig_method=get&xn_sig_time=1252596873820&xn_sig_user=255015566&xn_sig_expires=1252602000&xn_sig_session_key=2.1171b90c403dd7a9650493500d0a1b54.3600.1252602000-255015566&xn_sig_added=1&xn_sig_api_key=75dad05d3a794d4d9b58535dc331a309&xn_sig_app_id=24754
500 32651ms 1166cpu_ms 0kb Mozilla/4.0 (compatible; MSIE 6.0; Windows
NT 5.1; SV1; MAXTHON 2.0),gzip(gfe),gzip(gfe)
120.95.162.230 - - [10/Sep/2009:08:35:10 -0700] "GET /xiaonei/
indexdetail/?
xn_sig_in_iframe=1&xn_sig_method=get&xn_sig_time=1252596873820&xn_sig_user=255015566&xn_sig_expires=1252602000&xn_sig_session_key=2.1171b90c403dd7a9650493500d0a1b54.3600.1252602000-255015566&xn_sig_added=1&xn_sig_api_key=75dad05d3a794d4d9b58535dc331a309&xn_sig_app_id=24754
HTTP/1.1" 500 0 "http://apps.renren.com/livestock/?
origin=103&_os_type=54" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.1; SV1; MAXTHON 2.0),gzip(gfe),gzip(gfe)"
"cnstock6.taotaobujue.info"
E 09-10 08:35AM 10.378
<class 'google.appengine.runtime.DeadlineExceededError'>:
Traceback (most recent call last):
  File "/base/data/home/apps/cnstock6/cocc0722.336240820715932178/
main.py", line 37, in <module>
    import django.core.handlers.wsgi
  File "/base/python_lib/versions/third_party/django-1.0/django/core/
handlers/__init__.py", line 1, in <module>



On Sep 9, 2:17 am, bbayer <bbaye...@gmail.com> wrote:
> For last 3 hoursserverresponse was horrible. All requests are taking
> too long and finally DeadlineExceedError occurs. Also I saw lots of
> ViewDoesNotExisterrorrelated with importing modules. Is there any
> chance to fix it. If Django has drawback I will port my app to webapp
> or another lightweight framework. (I am using Django version that
> already installed on GAEserver.)
>
> On 8 Eylül, 15:42, bbayer <bbaye...@gmail.com> wrote:
>
>
>
> > Sometimes Google App Engine displays anerrorpage. I think it is not
> > related with my application.
>
> > It says
> >Error:ServerError
> > Theserverencountered anerrorand could not complete your request.
>
> > If the problem persists, please report your problem and mention this
> >errormessage and the query that caused it.
>
> > Even report link redirects to App Engine home which it doesnt have any
> > support related things.
>
> > Also sometimes django gives strange DeadlineExceedederroron random
> > places like on import statements of core django modules. I could see
> > ViewDoesntExisterrorwhich was caused by core modules for example
>
> > <class 'django.core.exceptions.ViewDoesNotExist'>: Could not import
> > views.Errorwas: cannot import name signals
> > Traceback (most recent call last):
> >   File "/base/data/home/apps/trendybing/1.336175352323073178/
> > django_bootstrap.py", line 68, in <module>
> >     main()
> >   File "/base/data/home/apps/trendybing/1.336175352323073178/
> > django_bootstrap.py", line 65, in main
> >     util.run_wsgi_app(application)
> >   File "/base/python_lib/versions/1/google/appengine/ext/webapp/
> > util.py", line 76, in run_wsgi_app
> >     result = application(env, _start_response)
> >   File "/base/python_lib/versions/third_party/django-1.0/django/core/
> > handlers/wsgi.py", line 239, in __call__
> >     response = self.get_response(request)
> >   File "/base/python_lib/versions/third_party/django-1.0/django/core/
> > handlers/base.py", line 128, in get_response
> >     return self.handle_uncaught_exception(request, resolver, exc_info)
> >   File "/base/python_lib/versions/third_party/django-1.0/django/core/
> > handlers/base.py", line 160, in handle_uncaught_exception
> >     return callback(request, **param_dict)
> >   File "/base/python_lib/versions/third_party/django-1.0/django/views/
> > defaults.py", line 24, in server_error
> >     return http.HttpResponseServerError(t.render(Context({})))
> >   File "/base/python_lib/versions/third_party/django-1.0/django/
> > template/__init__.py", line 176, in render
> >     return self.nodelist.render(context)
> >   File "/base/python_lib/versions/third_party/django-1.0/django/
> > template/__init__.py", line 768, in render
> >     bits.append(self.render_node(node, context))
> >   File "/base/python_lib/versions/third_party/django-1.0/django/
> > template/__init__.py", line 781, in render_node
> >     return node.render(context)
> >   File "/base/python_lib/versions/third_party/django-1.0/django/
> > template/loader_tags.py", line 97, in render
> >     return compiled_parent.render(context)
> >   File "/base/python_lib/versions/third_party/django-1.0/django/
> > template/__init__.py", line 176, in render
> >     return self.nodelist.render(context)
> >   File "/base/python_lib/versions/third_party/django-1.0/django/
> > template/__init__.py", line 768, in render
> >     bits.append(self.render_node(node, context))
> >   File "/base/python_lib/versions/third_party/django-1.0/django/
> > template/__init__.py", line 781, in render_node
> >     return node.render(context)
> >   File "/base/python_lib/versions/third_party/django-1.0/django/
> > template/loader_tags.py", line 24, in render
> >     result = self.nodelist.render(context)
> >   File "/base/python_lib/versions/third_party/django-1.0/django/
> > template/__init__.py", line 768, in render
> >     bits.append(self.render_node(node, context))
> >   File "/base/python_lib/versions/third_party/django-1.0/django/
> > template/__init__.py", line 781, in render_node
> >     return node.render(context)
> >   File "/base/python_lib/versions/third_party/django-1.0/django/
> > template/defaulttags.py", line 373, in render
> >     url = reverse(self.view_name, args=args, kwargs=kwargs)
> >   File "/base/python_lib/versions/third_party/django-1.0/django/core/
> > urlresolvers.py", line 254, in reverse
> >     *args, **kwargs)))
> >   File "/base/python_lib/versions/third_party/django-1.0/django/core/
> > urlresolvers.py", line 227, in reverse
> >     possibilities = self.reverse_dict.getlist(lookup_view)
> >   File "/base/python_lib/versions/third_party/django-1.0/django/core/
> > urlresolvers.py", line 169, in _get_reverse_dict
> >     self._reverse_dict.appendlist(pattern.callback, (bits, p_pattern))
> >   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.Errorwas: %s" %
> > (mod_name, str(e))
>
> > It seems it couldn't import signal module. I think this kind of things
> > is result of module caching mechanism of python itself. I am sure
> > Google engineers try to find efficient way to minimize startup time of
> > application it self. But if you try to build business over Google App
> > Engine , you should wait a little bit.
--~--~---------~--~----~------------~-------~--~----~
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