wiki site crash
volvoguy
volvoguy at gmail.com
Tue Nov 2 08:17:48 UTC 2004
Hey all. I'm not on the documentation team so I'm not sure if I should
post this here or there. I was on the "documentation team" page:
http://wiki.ubuntulinux.org/DocumentationTeam
I put the word "intellimouse" in the full text search at the bottom of
that page and got a ton of error messages. It's really much prettier
in HTML format, so I'll keep that browser window open in case someone
wants me to slap it on my webserver. The text of the page is below - I
thought the Gentoo reference in there was interesting. :-)
---- Aaron ----
IOError[Errno 21] Is a directory Please include this information in
your bug reports!:
Python Python 2.3.4: /usr/bin/python
Linux gentoo 2.6.8.1 #1 SMP Mon Oct 4 17:47:32 BST 2004 i686
MoinMoin Release 1.2.2 [Revision 1.185]
Tue Nov 2 08:10:46 2004
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/lib/python2.3/site-packages/MoinMoin/request.py in
run(self=<MoinMoin.request.RequestCGI instance>)
454 else:
455 try:
456 cgitb.Hook(file=self).handle(saved_exc)
457 # was: cgitb.handler()
458 except:
cgitb = <module 'MoinMoin.support.cgitb' from
'/usr/lib/python2.3/site-packages/MoinMoin/support/cgitb.pyc'>,
cgitb.Hook = <class MoinMoin.support.cgitb.Hook>, file undefined, self
= <MoinMoin.request.RequestCGI instance>, ).handle undefined,
saved_exc = (<class exceptions.IOError>, <exceptions.IOError
instance>, <traceback object>)
/usr/lib/python2.3/site-packages/MoinMoin/wikiaction.py in
do_inlinesearch(pagename='DocumentationTeam',
request=<MoinMoin.request.RequestCGI instance>)
151 search = 'title'
152
153 globals()["do_%ssearch" % search](pagename, request,
fieldname = "text_" + search)
154
155
globals undefined, search = 'full', pagename = 'DocumentationTeam',
request = <MoinMoin.request.RequestCGI instance>, fieldname undefined
/usr/lib/python2.3/site-packages/MoinMoin/wikiaction.py in
do_fullsearch(pagename='DocumentationTeam',
request=<MoinMoin.request.RequestCGI instance>, fieldname='text_full')
91 print_search_stats(request, len(hits)-hiddenhits, pagecount, start)
92 request.write('</div>\n') # end content div
93 wikiutil.send_footer(request, pagename, editable=0,
showactions=0, form=request.form)
94
95
global wikiutil = <module 'MoinMoin.wikiutil' from
'/usr/lib/python2.3/site-packages/MoinMoin/wikiutil.pyc'>,
wikiutil.send_footer = <function send_footer>, request =
<MoinMoin.request.RequestCGI instance>, pagename =
'DocumentationTeam', editable undefined, showactions undefined, form
undefined, request.form = {'action': ['inlinesearch'],
'button_title.x': ['0'], 'button_title.y': ['0'], 'context': ['40'],
'text_full': ['intellimouse']}
/usr/lib/python2.3/site-packages/MoinMoin/wikiutil.py in
send_footer(request=<MoinMoin.request.RequestCGI instance>,
pagename='DocumentationTeam', **keywords={'editable': 0, 'form':
{'action': ['inlinesearch'], 'button_title.x': ['0'],
'button_title.y': ['0'], 'context': ['40'], 'text_full':
['intellimouse']}, 'showactions': 0})
1120 })
1121
1122 request.write('\n\n') # the content does not always end with a newline
1123 request.write(request.theme.footer(d, **keywords))
1124
request = <MoinMoin.request.RequestCGI instance>, request.write =
<bound method RequestCGI.write of <MoinMoin.request.RequestCGI
instance>>, request.theme = <plugin.theme.warthogs.Theme instance>,
request.theme.footer = <bound method Theme.footer of
<plugin.theme.warthogs.Theme instance>>, d = {'available_actions':
['AttachFile', 'DeletePage', 'LikePages', 'LocalSiteMap',
'RenamePage', 'SpellCheck'], 'footer_fragments': {}, 'last_edit_info':
'', 'logo_string': '', 'msg': '', 'navibar': [('/FrontPage',
'FrontPage'), ('/RecentChanges', 'RecentChanges'), ('/FindPage',
'FindPage'), ('/HelpContents', 'HelpContents')], 'page':
<MoinMoin.Page.Page instance>, 'page_find_page': 'FindPage',
'page_front_page': 'FrontPage', 'page_help_contents': 'HelpContents',
...}, keywords = {'editable': 0, 'form': {'action': ['inlinesearch'],
'button_title.x': ['0'], 'button_title.y': ['0'], 'context': ['40'],
'text_full': ['intellimouse']}, 'showactions': 0}
/var/local/moin-sounders/data/plugin/theme/warthogs.py in
footer(self=<plugin.theme.warthogs.Theme instance>,
d={'available_actions': ['AttachFile', 'DeletePage', 'LikePages',
'LocalSiteMap', 'RenamePage', 'SpellCheck'], 'footer_fragments': {},
'last_edit_info': '', 'logo_string': '', 'msg': '', 'navibar':
[('/FrontPage', 'FrontPage'), ('/RecentChanges', 'RecentChanges'),
('/FindPage', 'FindPage'), ('/HelpContents', 'HelpContents')], 'page':
<MoinMoin.Page.Page instance>, 'page_find_page': 'FindPage',
'page_front_page': 'FrontPage', 'page_help_contents': 'HelpContents',
...}, **keywords={'editable': 0, 'form': {'action': ['inlinesearch'],
'button_title.x': ['0'], 'button_title.y': ['0'], 'context': ['40'],
'text_full': ['intellimouse']}, 'showactions': 0})
108 @return: page footer html
109 """
110 dict = {
111 'config_page_footer1_html':
self.emit_custom_html(config.page_footer1),
112 'config_page_footer2_html':
self.emit_custom_html(config.page_footer2),
dict undefined, self = <plugin.theme.warthogs.Theme instance>,
self.emit_custom_html = <bound method Theme.emit_custom_html of
<plugin.theme.warthogs.Theme instance>>, global config = <module
'MoinMoin.config' from
'/usr/lib/python2.3/site-packages/MoinMoin/config.pyc'>,
config.page_footer1 = '', config.page_footer2 = '', self.edittext_link
= <bound method Theme.edittext_link of <plugin.theme.warthogs.Theme
instance>>, d = {'available_actions': ['AttachFile', 'DeletePage',
'LikePages', 'LocalSiteMap', 'RenamePage', 'SpellCheck'],
'footer_fragments': {}, 'last_edit_info': '', 'logo_string': '',
'msg': '', 'navibar': [('/FrontPage', 'FrontPage'), ('/RecentChanges',
'RecentChanges'), ('/FindPage', 'FindPage'), ('/HelpContents',
'HelpContents')], 'page': <MoinMoin.Page.Page instance>,
'page_find_page': 'FindPage', 'page_front_page': 'FrontPage',
'page_help_contents': 'HelpContents', ...}, self.searchform = <bound
method Theme.searchform of <plugin.theme.warthogs.Theme instance>>,
self.availableactions = <bound method Theme.availableactions of
<plugin.theme.warthogs.Theme instance>>, config.page_credits = '',
self.footer_fragments = <bound method Theme.footer_fragments of
<plugin.theme.warthogs.Theme instance>>
/usr/lib/python2.3/site-packages/MoinMoin/theme/classic.py in
edittext_link(self=<plugin.theme.warthogs.Theme instance>,
d={'available_actions': ['AttachFile', 'DeletePage', 'LikePages',
'LocalSiteMap', 'RenamePage', 'SpellCheck'], 'footer_fragments': {},
'last_edit_info': '', 'logo_string': '', 'msg': '', 'navibar':
[('/FrontPage', 'FrontPage'), ('/RecentChanges', 'RecentChanges'),
('/FindPage', 'FindPage'), ('/HelpContents', 'HelpContents')], 'page':
<MoinMoin.Page.Page instance>, 'page_find_page': 'FindPage',
'page_front_page': 'FrontPage', 'page_help_contents': 'HelpContents',
...}, **keywords={})
444 html.append('<p>')
445 if keywords.get('editable', 1):
446 editable =
self.request.user.may.edit(d['page_name']) and d['page'].isWritable()
447 if editable:
448 html.append("%s %s" % (
editable undefined, self = <plugin.theme.warthogs.Theme instance>,
self.request = <MoinMoin.request.RequestCGI instance>,
self.request.user = <MoinMoin.user.User instance>,
self.request.user.may = <MoinMoin.security.Permissions instance>,
self.request.user.may.edit = <bound method Permissions.edit of
<MoinMoin.security.Permissions instance>>, d = {'available_actions':
['AttachFile', 'DeletePage', 'LikePages', 'LocalSiteMap',
'RenamePage', 'SpellCheck'], 'footer_fragments': {}, 'last_edit_info':
'', 'logo_string': '', 'msg': '', 'navibar': [('/FrontPage',
'FrontPage'), ('/RecentChanges', 'RecentChanges'), ('/FindPage',
'FindPage'), ('/HelpContents', 'HelpContents')], 'page':
<MoinMoin.Page.Page instance>, 'page_find_page': 'FindPage',
'page_front_page': 'FrontPage', 'page_help_contents': 'HelpContents',
...}, ].isWritable undefined
/usr/lib/python2.3/site-packages/MoinMoin/security.py in
edit(self=<MoinMoin.security.Permissions instance>, pagename='',
**kw={})
49 policies and is not used currently.
50 """
51 return self.getACL(pagename).may(self.request, self.name, "write")
52
53 def save(self, editor, newtext, datestamp, **kw):
self = <MoinMoin.security.Permissions instance>, self.getACL = <bound
method Permissions.getACL of <MoinMoin.security.Permissions
instance>>, pagename = '', ).may undefined, self.request =
<MoinMoin.request.RequestCGI instance>, self.name = ''
/usr/lib/python2.3/site-packages/MoinMoin/security.py in
getACL(self=<MoinMoin.security.Permissions instance>, pagename='',
**kw={})
88
89 def getACL(self, pagename, **kw):
90 return self.Page(pagename).getACL()
91
92 # make an alias for the default policy
self = <MoinMoin.security.Permissions instance>, self.Page = <class
MoinMoin.Page.Page>, pagename = '', ).getACL undefined
/usr/lib/python2.3/site-packages/MoinMoin/Page.py in
getACL(self=<MoinMoin.Page.Page instance>)
850 body = ''
851 if self.exists():
852 body = self.get_raw_body()
853 else:
854 # if the page isn't there any more, use the ACLs
of the last backup
body = '', self = <MoinMoin.Page.Page instance>, self.get_raw_body =
<bound method Page.get_raw_body of <MoinMoin.Page.Page instance>>
/usr/lib/python2.3/site-packages/MoinMoin/Page.py in
get_raw_body(self=<MoinMoin.Page.Page instance>)
245 return ""
246 else:
247 raise er
248
249 # read file content and make sure it is closed properly
er = <exceptions.IOError instance>
IOError: [Errno 21] Is a directory
__doc__ = 'I/O operation failed.'
__getitem__ = <bound method IOError.__getitem__ of
<exceptions.IOError instance>>
__init__ = <bound method IOError.__init__ of <exceptions.IOError
instance>>
__module__ = 'exceptions'
__str__ = <bound method IOError.__str__ of <exceptions.IOError instance>>
args = (21, 'Is a directory')
errno = 21
filename = None
strerror = 'Is a directory'
More information about the ubuntu-users
mailing list