Description

When I create a category CategoryMilenioCom and
insert the macro <<FullSearch(category:CategoryMilenioCom)>>
i got this error <<FullSearch: execution failed ['NoneType' object has no attribute 'getRevList'] (see also the log)>>
if I click the title on the category it should perform the same search so when I click it,
is a 500 HTTPError and in the apache error log a got this.

[Thu Mar 11 17:17:33 2010] [error] 2010-03-11 17:17:33,852 ERROR MoinMoin.wsgiapp:293 An exception has occurred [http://operaciones.milenio.com/wiki/InterWiki?action=fullsearch&context=180&value=linkto%3A%22InterWiki%22].
[Thu Mar 11 17:17:33 2010] [error] Traceback (most recent call last):
[Thu Mar 11 17:17:33 2010] [error]   File "/opt/moinmoin/lib/python2.4/site-packages/MoinMoin/wsgiapp.py", line 282, in __call__
[Thu Mar 11 17:17:33 2010] [error]     response = run(context)
[Thu Mar 11 17:17:33 2010] [error]   File "/opt/moinmoin/lib/python2.4/site-packages/MoinMoin/wsgiapp.py", line 88, in run
[Thu Mar 11 17:17:33 2010] [error]     response = dispatch(request, context, action_name)
[Thu Mar 11 17:17:33 2010] [error]   File "/opt/moinmoin/lib/python2.4/site-packages/MoinMoin/wsgiapp.py", line 136, in dispatch
[Thu Mar 11 17:17:33 2010] [error]     response = handle_action(context, pagename, action_name)
[Thu Mar 11 17:17:33 2010] [error]   File "/opt/moinmoin/lib/python2.4/site-packages/MoinMoin/wsgiapp.py", line 195, in handle_action
[Thu Mar 11 17:17:33 2010] [error]     handler(context.page.page_name, context)
[Thu Mar 11 17:17:33 2010] [error]   File "/opt/moinmoin/lib/python2.4/site-packages/MoinMoin/action/fullsearch.py", line 271, in execute
[Thu Mar 11 17:17:33 2010] [error]     hitsFrom=hitsFrom, hitsInfo=1)
[Thu Mar 11 17:17:33 2010] [error]   File "/opt/moinmoin/lib/python2.4/site-packages/MoinMoin/search/results.py", line 347, in pageList
[Thu Mar 11 17:17:33 2010] [error]     elif page.rev and page.rev != page.page.getRevList()[0]:
[Thu Mar 11 17:17:33 2010] [error] AttributeError: 'NoneType' object has no attribute 'getRevList'
(END) 

Steps to reproduce

  1. Create a page (category page) with the macro

  2. View the page to get the error printed from moin moin
  3. Click on the title of the category and check the error log.

Example

Component selection

Details

MoinMoin Version

1.9.2

OS and Version

x86_64 GNU/Linux RedHat 5

Python Version

2.4.3

Server Setup

Apache

Server Details

mod_wsgi + xapian

Language you are using the wiki in (set in the browser/UserPreferences)

Spanish

Workaround

Discussion

Can you reproduce it in this wiki? no :( (I already try), I'm also create another category with another name in my wiki, and it just works!, I don't know what's wrong with the CategoryMilenioCom

Looks like this is caused by FoundRemote instances (they are not handled yet).

Plan


CategoryMoinMoinBug CategoryForMoin2

MoinMoin: MoinMoinBugs/1.9FullSearchCategoryFail (last edited 2011-01-18 06:55:29 by ReimarBauer)