Hi Guys,

Fairly new to GAE attempting to deploy my first app. Having tried a
number of times, I continually get 500 server error when I ask it to
update the indexes.

I've used both the GUI and the command line tool. Below is the output
from running the tool.

Have I screwed up or is this normal for GAE? Any assistance
appreciated.

Peter

----
$:app peter$ appcfg.py --noisy update_indexes .
/usr/local/bin/appcfg.py:42: DeprecationWarning: the sha module is
deprecated; use the hashlib module instead
  os.path.join(DIR_PATH, 'lib', 'django_0_96'),
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/dev_appserver_login.py:33: DeprecationWarning:
the md5 module is deprecated; use hashlib instead
  import md5
Application: supernifty2; version: 2.
Host: appengine.google.com
2011-02-16 17:03:16,319 INFO appengine_rpc.py:440 Loaded
authentication cookies from /Users/peter/.appcfg_cookies
2011-02-16 17:03:16,319 INFO appengine_rpc.py:153 Server:
appengine.google.com
Uploading index definitions.
2011-02-16 17:03:16,328 DEBUG appengine_rpc.py:345 Sending HTTPS
request:
POST /api/datastore/index/add?version=2&app_id=supernifty2 HTTPS/1.1
Host: appengine.google.com
X-appcfg-api-version: 1
Content-type: application/octet-stream
User-agent: appcfg_py/1.4.2 Darwin/10.6.0 Python/2.6.1.final.0

indexes:
- kind: Item
  properties:
  - name: enabled
  - direction: desc
    name: created

2011-02-16 17:03:30,959 DEBUG appengine_rpc.py:351 Got http error,
this is try #1
2011-02-16 17:03:30,959 DEBUG appengine_rpc.py:345 Sending HTTPS
request:
POST /api/datastore/index/add?version=2&app_id=supernifty2 HTTPS/1.1
Host: appengine.google.com
X-appcfg-api-version: 1
Content-type: application/octet-stream
User-agent: appcfg_py/1.4.2 Darwin/10.6.0 Python/2.6.1.final.0

indexes:
- kind: Item
  properties:
  - name: enabled
  - direction: desc
    name: created

2011-02-16 17:03:41,670 DEBUG appengine_rpc.py:351 Got http error,
this is try #2
2011-02-16 17:03:41,671 DEBUG appengine_rpc.py:345 Sending HTTPS
request:

[*** snip ***]

2011-02-16 17:04:05,317 DEBUG appengine_rpc.py:351 Got http error,
this is try #4
Error 500: --- begin server output ---

Server Error (500)
A server error has occurred.
--- end server output ---

-- 
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.

Reply via email to