[Moin-user] IndexError

Norman Walsh ndw at nwalsh.com
Wed Feb 23 08:03:53 EST 2011


Hi,

I'm trying to migrate a Moin wiki from 1.5.6 to 1.9.2. The install seemed
ok, the data migration seemed ok, but I'm getting sporadic list index out
of range errors. Does this look familiar to anyone?

[Wed Feb 23 07:59:50 2011] [error] 2011-02-23 07:59:50,994 ERROR MoinMoin.wsgiapp:293 An exception has occurred [http://docbookwiki/DocBookWikiHome?action=edit].
[Wed Feb 23 07:59:50 2011] [error] Traceback (most recent call last):
[Wed Feb 23 07:59:50 2011] [error]   File "/usr/local/moin-1.9.2/MoinMoin/wsgiapp.py", line 282, in __call__
[Wed Feb 23 07:59:50 2011] [error]     response = run(context)
[Wed Feb 23 07:59:50 2011] [error]   File "/usr/local/moin-1.9.2/MoinMoin/wsgiapp.py", line 88, in run
[Wed Feb 23 07:59:50 2011] [error]     response = dispatch(request, context, action_name)
[Wed Feb 23 07:59:50 2011] [error]   File "/usr/local/moin-1.9.2/MoinMoin/wsgiapp.py", line 136, in dispatch
[Wed Feb 23 07:59:50 2011] [error]     response = handle_action(context, pagename, action_name)
[Wed Feb 23 07:59:50 2011] [error]   File "/usr/local/moin-1.9.2/MoinMoin/wsgiapp.py", line 195, in handle_action
[Wed Feb 23 07:59:50 2011] [error]     handler(context.page.page_name, context)
[Wed Feb 23 07:59:50 2011] [error]   File "/usr/local/moin-1.9.2/MoinMoin/action/edit.py", line 24, in execute
[Wed Feb 23 07:59:50 2011] [error]     if not request.user.may.write(pagename):
[Wed Feb 23 07:59:50 2011] [error]   File "/usr/local/moin-1.9.2/MoinMoin/security/__init__.py", line 150, in <lambda>
[Wed Feb 23 07:59:50 2011] [error]     return lambda pagename: _check(self.request, pagename, self.name, attr)
[Wed Feb 23 07:59:50 2011] [error]   File "/usr/local/moin-1.9.2/MoinMoin/security/__init__.py", line 85, in _check
[Wed Feb 23 07:59:50 2011] [error]     acl = p.getACL(request) # this will be fast in a reused page obj
[Wed Feb 23 07:59:50 2011] [error]   File "/usr/local/moin-1.9.2/MoinMoin/Page.py", line 1564, in getACL
[Wed Feb 23 07:59:50 2011] [error]     currentRevision = self.current_rev()
[Wed Feb 23 07:59:50 2011] [error]   File "/usr/local/moin-1.9.2/MoinMoin/Page.py", line 418, in current_rev
[Wed Feb 23 07:59:50 2011] [error]     pagefile, rev, exists = self.get_rev()
[Wed Feb 23 07:59:50 2011] [error]   File "/usr/local/moin-1.9.2/MoinMoin/Page.py", line 386, in get_rev
[Wed Feb 23 07:59:50 2011] [error]     cache_data = request.cfg.cache.meta.getItem(request, cache_name, cache_key)
[Wed Feb 23 07:59:50 2011] [error]   File "/usr/local/moin-1.9.2/MoinMoin/Page.py", line 88, in getItem
[Wed Feb 23 07:59:50 2011] [error]     self.refresh(request)
[Wed Feb 23 07:59:50 2011] [error]   File "/usr/local/moin-1.9.2/MoinMoin/Page.py", line 115, in refresh
[Wed Feb 23 07:59:50 2011] [error]     new_pos, items = elog.news(old_pos)
[Wed Feb 23 07:59:50 2011] [error]   File "/usr/local/moin-1.9.2/MoinMoin/logfile/editlog.py", line 249, in news
[Wed Feb 23 07:59:50 2011] [error]     self.seek(oldposition)
[Wed Feb 23 07:59:50 2011] [error]   File "/usr/local/moin-1.9.2/MoinMoin/logfile/__init__.py", line 408, in seek
[Wed Feb 23 07:59:50 2011] [error]     forward=False)
[Wed Feb 23 07:59:50 2011] [error]   File "/usr/local/moin-1.9.2/MoinMoin/logfile/__init__.py", line 60, in __init__
[Wed Feb 23 07:59:50 2011] [error]     begin += len(lines[0])
[Wed Feb 23 07:59:50 2011] [error] IndexError: list index out of range

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw at nwalsh.com> | Men are not sufficiently perfect to
http://nwalsh.com/            | exercise justice in the name of virtue:
                              | the rule of life should be indulgence
                              | and kindness of heart.--Anatole France
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/moin-user/attachments/20110223/8a12f3c8/attachment.sig>


More information about the Moin-user mailing list