[Moin-user] moin-dump errors

Robert Pollak robert.pollak at gmx.net
Mon Mar 24 00:58:33 EST 2003


Thomas Waldmann wrote:
>>    print '[<a href="%s">TitleIndex</a>]' % 
>>(wikiutil.quoteWikiname(config.page_ti
>>tle_index))
>>AttributeError: page_title_index
> 
> 
> You have to set page_title_index in your moin_config.py
> 
> page_title_index = 'TitleIndex'

Thank you, that helped!
I also had to set page_word_index there.
Now all the pages are created, but most of them are incomplete, and 
error.log is full of stuff like the following (96 errors):

(It seems self.request.user does not work)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
   File "/home/pollak/lib/python/MoinMoin/scripts/moin_dump.py", line 
144, in main
     page.send_page(request)
   File "/home/pollak/lib/python/MoinMoin/Page.py", line 380, in send_page
     Parser(body, request).format(self.formatter, form)
   File "/home/pollak/lib/python/MoinMoin/parser/wiki.py", line 865, in 
format
     line, count = re.subn(scan_re, self.replace, line + " ")
   File "/var/tmp/python-root//usr/lib/python2.0/sre.py", line 53, in subn
     return _compile(pattern, 0).subn(repl, string, count)
   File "/var/tmp/python-root//usr/lib/python2.0/sre.py", line 136, in _subn
     append(filter(m))
   File "/home/pollak/lib/python/MoinMoin/parser/wiki.py", line 748, in 
replace
     return apply(getattr(self, '_' + type + '_repl'), (hit,))
   File "/home/pollak/lib/python/MoinMoin/parser/wiki.py", line 638, in 
_macro_repl
     return self.macro.execute(macro_name, args)
   File "/home/pollak/lib/python/MoinMoin/wikimacro.py", line 82, in execute
     return apply(execute, (self, args))
   File "/home/pollak/lib/python/MoinMoin/macro/AbandonedPages.py", line 
17, in exe
cute
     return RecentChanges.execute(macro, args, abandoned=1)
   File "/home/pollak/lib/python/MoinMoin/macro/RecentChanges.py", line 
70, in exec
ute
     while log.getNextChange():
   File "/home/pollak/lib/python/MoinMoin/macro/RecentChanges.py", line 
219, in get
NextChange
     time_tuple = self.request.user.getTime(self.ed_time)
AttributeError: 'None' object has no attribute 'getTime'
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
   File "/home/pollak/lib/python/MoinMoin/scripts/moin_dump.py", line 
144, in main
     page.send_page(request)
   File "/home/pollak/lib/python/MoinMoin/Page.py", line 380, in send_page
     Parser(body, request).format(self.formatter, form)
   File "/home/pollak/lib/python/MoinMoin/parser/wiki.py", line 865, in 
format
     line, count = re.subn(scan_re, self.replace, line + " ")
   File "/var/tmp/python-root//usr/lib/python2.0/sre.py", line 53, in subn
     return _compile(pattern, 0).subn(repl, string, count)
   File "/var/tmp/python-root//usr/lib/python2.0/sre.py", line 136, in _subn
     append(filter(m))
   File "/home/pollak/lib/python/MoinMoin/parser/wiki.py", line 748, in 
replace
     return apply(getattr(self, '_' + type + '_repl'), (hit,))
   File "/home/pollak/lib/python/MoinMoin/parser/wiki.py", line 556, in 
_heading_re
pl
     if self.request.user.show_topbottom:
AttributeError: 'None' object has no attribute 'show_topbottom'





More information about the Moin-user mailing list