Greetings.

I updated the application using appcfg.py and get this error when
executing it:

Traceback (most recent call last):
  File "/base/python_lib/versions/1/google/appengine/ext/webapp/
__init__.py", line 499, in __call__
    handler.get(*groups)
  File "/base/data/home/apps/bookmarksbin/1.10/bookmarksbin.py", line
121, in get
    self._displayBookmarksPage()
  File "/base/data/home/apps/bookmarksbin/1.10/bookmarksbin.py", line
45, in _displayBookmarksPage
    v['bookmarks'] = Bookmark.getAll()
  File "/base/data/home/apps/bookmarksbin/1.10/bookmark.py", line 23,
in getAll
    'description').fetch(1000)
  File "/base/python_lib/versions/1/google/appengine/ext/db/
__init__.py", line 1311, in fetch
    raw = self._get_query().Get(limit, offset)
  File "/base/python_lib/versions/1/google/appengine/api/
datastore.py", line 938, in Get
    return self._Run(limit, offset)._Next(limit)
  File "/base/python_lib/versions/1/google/appengine/api/
datastore.py", line 887, in _Run
    str(exc) + '\nThis query needs this index:\n' + yaml)
NeedIndexError: no matching index found.
This query needs this index:
- kind: Bookmark
  properties:
  - name: owner
  - name: description

The index.yaml has what appears to be the correct index definition:

indexes:

# AUTOGENERATED

# This index.yaml is automatically updated whenever the dev_appserver
# detects that a new type of query is run.  If you want to manage the
# index.yaml file manually, remove the above marker line (the line
# saying "# AUTOGENERATED").  If you want to manage some indexes
# manually, move them above the marker line.  The index.yaml file is
# automatically uploaded to the admin console when you next deploy
# your application using appcfg.py.

# Used 55 times in query history.
- kind: Bookmark
  properties:
  - name: owner
  - name: description


# Used 15 times in query history.
- kind: Tag
  properties:
  - name: owner
  - name: name

Can someone please suggest a solution to this problem?  I can't find a
reason for the error.  Thanks in advance.

pr3d4t0r
http://www.istheserverup.com
http://www.teslatestament.com

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to