I'm hungry. My wife's recipe app fails to load after serveral flawless years of working

8 views
Skip to first unread message

user1329594 via StackOverflow

unread,
Apr 12, 2012, 12:22:50 PM4/12/12
to google-appengin...@googlegroups.com

I wrote a recipe app for my wife several years ago. I have since lost the PC hard drive and project code. She has added may recipes and I would like to extract them or restore the app.

Browsing to the app yields the following message:

    Error: Server Error

    The server encountered an error and could not complete your request.
    If the problem persists, please report your problem and mention this 
    error message and the query that caused it.

I tried to download the data using appcfg.py and bulkloader.py using both /remote_api and /_ah/remote_api with no success. The following error is generated each time:

Traceback (most recent call last):
  File "/work/google_appengine/google/appengine/tools/bulkloader.py", line 3433, in Run
   self.request_manager.Authenticate()
  File "/work/google_appengine/google/appengine/tools/bulkloader.py", line 1319, in Authenticate
   remote_api_stub.MaybeInvokeAuthentication()
  File "/work/google_appengine/google/appengine/ext/remote_api/remote_api_stub.py", line 676, in MaybeInvokeAuthentication
  File "/work/google_appengine/google/appengine/tools/appengine_rpc.py", line 366, in Send    f = self.opener.open(req)
  File "/usr/lib/python2.6/urllib2.py", line 397, in open
   response = meth(req, response)
  File "/usr/lib/python2.6/urllib2.py", line 510, in http_response
   'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.6/urllib2.py", line 435, in error
   return self._call_chain(*args)
  File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
   result = func(*args)
  File "/usr/lib/python2.6/urllib2.py", line 518, in http_error_default
   raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 500: Internal Server Error
[INFO    ] Authentication Failed

I am not prompted for a email and password when this error is generated, like I am when I try to download the app with appcfg.py.

I added the following lines to appcfg.py and buklloader.py for force using an older library. It has no effect.

os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
from google.appengine.dist import use_library
use_library('django', '0.96')

I found the following entry in the logs for each attempt to load the app

<class 'django.template.InvalidTemplateLibrary'>: Template library templatefilters does  not have a variable named 'register'
Traceback (most recent call last):
 File "/base/data/home/apps/delraemariesrecipes/2.2/tasks.py", line 41, in <module>
 template.register_template_library('templatefilters')
 File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/template.py", line 267, in register_template_library
 django.template.add_to_builtins(package_name)
 File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/template/__init__.py", line 915, in add_to_builtins
builtins.append(get_library(module_name))
 File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/template/__init__.py", line 911, in get_library
raise InvalidTemplateLibrary, "Template library %s does not have a variable named 'register'" % module_name


Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/10127608/im-hungry-my-wifes-recipe-app-fails-to-load-after-serveral-flawless-years-of
Reply all
Reply to author
Forward
0 new messages