9hg / micolog

Automatically exported from code.google.com/p/micolog
MIT License
0 stars 0 forks source link

sitemap is not generated. #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
http://xxx.appspot.com/sitemap. You may try mine: 
http://fengclient.appspot.com/sitemap

What is the expected output? What do you see instead?
Error message:

Traceback (most recent call last):

File "/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py",
 line 507, in __call__
    handler.get(*groups)
  File "/base/data/home/apps/fengclient/0-7-
beta2.340315717523640046/base.py", line 89, in _wrapper
    method(*args, **kwargs)
  File "/base/data/home/apps/fengclient/0-7-
beta2.340315717523640046/blog.py", line 420, in get
    entries = Entry.all().filter('published =',True).order('-date').fetch
(g_blog.sitemap_entries)
  File "/base/python_lib/versions/1/google/appengine/ext/db/__init__.py", 
line 1616, in fetch
    raw = raw_query.Get(limit, offset, rpc=rpc)
  File "/base/python_lib/versions/1/google/appengine/api/datastore.py", 
line 1183, in Get
    limit=limit, offset=offset, prefetch_count=limit, **kwargs)._Get(limit)
  File "/base/python_lib/versions/1/google/appengine/api/datastore.py", 
line 1118, in _Run
    str(exc) + '\nThis query needs this index:\n' + yaml)
NeedIndexError: no matching index found.
This query needs this index:
- kind: Entry
  properties:
  - name: published
  - name: date
    direction: desc

Original issue reported on code.google.com by fengcli...@gmail.com on 5 Mar 2010 at 8:22

GoogleCodeExporter commented 8 years ago
wait a minutes

Original comment by coolch...@gmail.com on 8 Oct 2010 at 6:14