Diff for "FrontPage"

Differences between versions dated 2007-03-16 07:51:09 and 2008-01-09 20:21:48

No differences found!
--> -->
 
 
exceptions must be old-style classes or derived from BaseException, not str
Please include this information in your bug reports!:
Python Python 2.7.18:
Linux erode.bofh.it 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2 (2019-08-28) x86_64
MoinMoin Release 1.2.4 [Revision 1.187]
Sun Jan 24 14:04:24 2021

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /usr/local/share/moin/MoinMoin/request.py in run(self=<MoinMoin.request.RequestCGI instance>)
  389                 if handler:
  390                     handler(pagename or
  391                     wikiutil.getSysPage(self, config.page_front_page).page_name, self)
  392                 else:
  393                     self.http_headers()
global wikiutil = <module 'MoinMoin.wikiutil' from '/usr/local/share/moin/MoinMoin/wikiutil.pyc'>, wikiutil.getSysPage = <function getSysPage>, self = <MoinMoin.request.RequestCGI instance>, global config = <module 'MoinMoin.config' from '/usr/local/share/moin/MoinMoin/config.pyc'>, config.page_front_page = 'FrontPage', ).page_name undefined

 /usr/local/share/moin/MoinMoin/wikiaction.py in do_diff(pagename='FrontPage', request=<MoinMoin.request.RequestCGI instance>)
  295         from MoinMoin.util.diff import diff
  296         request.write(diff(request, oldpage.get_raw_body(), newpage.get_raw_body()))
  297         newpage.send_page(request, count_hit=0, content_only=1, content_id="content-under-diff")
  298     else:
  299         lines = wikiutil.linediff(oldpage.get_raw_body().split('\n'), newpage.get_raw_body().split('\n'))
newpage = <MoinMoin.Page.Page instance>, newpage.send_page = <bound method Page.send_page of <MoinMoin.Page.Page instance>>, request = <MoinMoin.request.RequestCGI instance>, count_hit undefined, content_only undefined, content_id undefined

 /usr/local/share/moin/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI instance>, msg='', **keywords={'content_id': 'content-under-diff', 'content_only': 1, 'count_hit': 0})
  622         else:
  623             # parse the text and send the page content
  624             self.send_page_content(request, Parser, body)
  625 
  626             # check for pending footnotes
self = <MoinMoin.Page.Page instance>, self.send_page_content = <bound method Page.send_page_content of <MoinMoin.Page.Page instance>>, request = <MoinMoin.request.RequestCGI instance>, Parser = <class MoinMoin.parser.wiki.Parser>, body = '\n\n\n= it.* FAQ Wiki =\n\nBenvenuti nel wiki delle F...s]\n * [wiki:Self:ittaFAQ it.tlc.telefonia.adsl]\n'

 /usr/local/share/moin/MoinMoin/Page.py in send_page_content(self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI instance>, Parser=<class MoinMoin.parser.wiki.Parser>, body='\n\n\n= it.* FAQ Wiki =\n\nBenvenuti nel wiki delle F...s]\n * [wiki:Self:ittaFAQ it.tlc.telefonia.adsl]\n', needsupdate=0)
  721 
  722         try:
  723             exec code
  724         except 'CacheNeedsUpdate': # if something goes wrong, try without caching
  725            self.send_page_content(request, Parser, body, needsupdate=1)
code = <code object <module> at 0x7f80772c35b0, file "FrontPage", line 2>

 /var/www/faq/wiki/FrontPage in ()

: exceptions must be old-style classes or derived from BaseException, not str