维基好坏说
见仁见智,萝卜青菜各有所爱。请看正反方各抒己见。如果您有时间,请帮忙翻成汉语。如您时间实在多得用不完,也可参加辩论。
为什么有用,在什么情况下有用,只有用过了才有发言权。在您参加辩论前,最好还是实践一下。实践出真知嘛。
--> -->| IOError[Errno 122] Disk quota exceeded | Please include this information in your bug reports!: Python Python 2.3.4: /home/bin/python Linux hpdm-small-p4-0036.cafe24.com 5.14.0-427.35.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Sep 12 18:24:53 UTC 2024 x86_64 MoinMoin Release 1.3.0 [Revision patch-399] Wed Jun 10 04:51:25 2026 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /home/hosting_users/yoonforh/moin/lib/python2.3/site-packages/MoinMoin/request.py in run(self=<MoinMoin.request.RequestCGI instance>) |
| 822 else: |
| 823 try: |
| 824 cgitb.Hook(file=self).handle(saved_exc) |
| 825 # was: cgitb.handler() |
| 826 except: |
| cgitb = <module 'MoinMoin.support.cgitb' from '/home/hos...hon2.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>) |
| /home/hosting_users/yoonforh/moin/lib/python2.3/site-packages/MoinMoin/wikiaction.py in do_diff(pagename=u'\u7ef4\u57fa\u597d\u574f\u8bf4', request=<MoinMoin.request.RequestCGI instance>) |
| 88 revisions = currentpage.getRevList() |
| 89 if len(revisions) < 2: |
| 90 currentpage.send_page(request, msg=_("No older revisions available!")) |
| 91 return |
| 92 |
| currentpage = <MoinMoin.Page.Page instance>, currentpage.send_page = <bound method Page.send_page of <MoinMoin.Page.Page instance>>, request = <MoinMoin.request.RequestCGI instance>, msg undefined, _ = <function <lambda>> |
| /home/hosting_users/yoonforh/moin/lib/python2.3/site-packages/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI instance>, msg=u'No older revisions available!', **keywords={}) |
| 912 else: |
| 913 # parse the text and send the page content |
| 914 self.send_page_content(request, Parser, body, format_args=pi_formatargs, do_cache=do_cache) |
| 915 |
| 916 # 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 = u'\n= \u7ef4\u57fa\u597d\u574f\u8bf4 =\n\n\u89c1\u4ec1\u89c1\u667a\uff0c\u841d\u535c\u9752\u83dc\u5404\u6709\u6240\u7231\u3002\u8bf7\u770b\u6b63\u53cd\u65b9\u5404\u6292\u5df1\u89c1\u3002\u5982\u679c\u60a8\u6709\u65f6\u95f4\uff0c\u8bf7\u5e2e\u5fd9\u7ffb\u6210...\u52a0\u8fa9\u8bba\u524d\uff0c\u6700\u597d\u8fd8\u662f\u5b9e\u8df5\u4e00\u4e0b\u3002\u5b9e\u8df5\u51fa\u771f\u77e5\u561b\u3002\n\n[[Include(WhyWikiWorks)]]\n', format_args undefined, pi_formatargs = '', do_cache = 1 |
| /home/hosting_users/yoonforh/moin/lib/python2.3/site-packages/MoinMoin/Page.py in send_page_content(self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI instance>, Parser=<class MoinMoin.parser.wiki.Parser>, body=u'\n= \u7ef4\u57fa\u597d\u574f\u8bf4 =\n\n\u89c1\u4ec1\u89c1\u667a\uff0c\u841d\u535c\u9752\u83dc\u5404\u6709\u6240\u7231\u3002\u8bf7\u770b\u6b63\u53cd\u65b9\u5404\u6292\u5df1\u89c1\u3002\u5982\u679c\u60a8\u6709\u65f6\u95f4\uff0c\u8bf7\u5e2e\u5fd9\u7ffb\u6210...\u52a0\u8fa9\u8bba\u524d\uff0c\u6700\u597d\u8fd8\u662f\u5b9e\u8df5\u4e00\u4e0b\u3002\u5b9e\u8df5\u51fa\u771f\u77e5\u561b\u3002\n\n[[Include(WhyWikiWorks)]]\n', needsupdate=1, format_args='', do_cache=1) |
| 1046 except 'CacheNeedsUpdate': # if something goes wrong, try without caching |
| 1047 self.send_page_content(request, Parser, body, needsupdate=1) |
| 1048 cache = caching.CacheEntry(request, arena, key) |
| 1049 |
| 1050 # Save my cache modification time, this info might be used by |
| cache = <MoinMoin.caching.CacheEntry instance>, global caching = <module 'MoinMoin.caching' from '/home/hosting_u...ib/python2.3/site-packages/MoinMoin/caching.pyc'>, caching.CacheEntry = <class MoinMoin.caching.CacheEntry>, request = <MoinMoin.request.RequestCGI instance>, arena = <MoinMoin.Page.Page instance>, key = 'text_html' |
| /home/hosting_users/yoonforh/www/cgi-bin/维基好坏说 |
| /home/hosting_users/yoonforh/moin/lib/python2.3/site-packages/MoinMoin/formatter/base.py in macro(self=<MoinMoin.formatter.text_html.Formatter instance>, macro_obj=<MoinMoin.wikimacro.Macro instance>, name=u'Include', args=u'WhyWikiWorks') |
| 219 def macro(self, macro_obj, name, args): |
| 220 # call the macro |
| 221 return macro_obj.execute(name, args) |
| 222 |
| 223 def _get_bang_args(self, line): |
| macro_obj = <MoinMoin.wikimacro.Macro instance>, macro_obj.execute = <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance>>, name = u'Include', args = u'WhyWikiWorks' |
| /home/hosting_users/yoonforh/moin/lib/python2.3/site-packages/MoinMoin/wikimacro.py in execute(self=<MoinMoin.wikimacro.Macro instance>, macro_name=u'Include', args=u'WhyWikiWorks') |
| 99 macro = wikiutil.importPlugin('macro', macro_name, path=self.cfg.data_dir) |
| 100 if macro: |
| 101 return macro(self, args) |
| 102 |
| 103 builtins = vars(self.__class__) |
| macro = <function execute>, self = <MoinMoin.wikimacro.Macro instance>, args = u'WhyWikiWorks' |
| /home/hosting_users/yoonforh/moin/lib/python2.3/site-packages/MoinMoin/macro/Include.py in execute(macro=<MoinMoin.wikimacro.Macro instance>, text=u'WhyWikiWorks', args_re=<_sre.SRE_Pattern object>, title_re=<_sre.SRE_Pattern object>, called_by_toc=0) |
| 223 result.append(strfile.getvalue()) |
| 224 finally: |
| 225 request.redirect() |
| 226 |
| 227 # decrement or remove include marker |
| request = <MoinMoin.request.RequestCGI instance>, request.redirect = <bound method RequestCGI.redirect of <MoinMoin.request.RequestCGI instance>> |
| /home/hosting_users/yoonforh/moin/lib/python2.3/site-packages/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI instance>, msg='', **keywords={'content_id': u'Include_WhyWikiWorks', 'content_only': 1}) |
| 912 else: |
| 913 # parse the text and send the page content |
| 914 self.send_page_content(request, Parser, body, format_args=pi_formatargs, do_cache=do_cache) |
| 915 |
| 916 # 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 = u'= Why wiki works =\n\n== Arguments ==\n\n * Any and ...ready reverted version. Speaks volumes, i guess.\n', format_args undefined, pi_formatargs = '', do_cache = 1 |
| /home/hosting_users/yoonforh/moin/lib/python2.3/site-packages/MoinMoin/Page.py in send_page_content(self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI instance>, Parser=<class MoinMoin.parser.wiki.Parser>, body=u'= Why wiki works =\n\n== Arguments ==\n\n * Any and ...ready reverted version. Speaks volumes, i guess.\n', needsupdate=1, format_args='', do_cache=1) |
| 1035 code = compile(src.encode(config.charset), |
| 1036 self.page_name.encode(config.charset), 'exec') |
| 1037 cache.update(marshal.dumps(code)) |
| 1038 |
| 1039 # send page |
| cache = <MoinMoin.caching.CacheEntry instance>, cache.update = <bound method CacheEntry.update of <MoinMoin.caching.CacheEntry instance>>, marshal = <module 'marshal' (built-in)>, marshal.dumps = <built-in function dumps>, code = <code object ? at 0x7f033050cc70, file "WhyWikiWorks", line 2> |
| /home/hosting_users/yoonforh/moin/lib/python2.3/site-packages/MoinMoin/caching.py in update(self=<MoinMoin.caching.CacheEntry instance>, content='c\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00@\x00\x00\x00s\\\x0c\x00\x00e\x00\x00e\x01\x00i\x02\x00i\x03\x00e\x01\x00i\x02\x00i\x04\x00e\x05\x00\x83\x01...\x01\r\x01\x1c\x01\r\x01%\x01\r\x01\x1c\x01\r\x01\x1c\x01\r\x01\x1c\x01\r\x01\x1c\x01\r\x01\x1c\x01\r\x01\x1c\x01\r\x01\x1c\x01\r\x01\x1c\x01\r\x01\x1c\x01\r\x01\x1c\x01', encode=False) |
| 76 if encode: |
| 77 content = content.encode(config.charset) |
| 78 open(self._filename(), 'wb').write(content) |
| 79 |
| 80 try: |
| open undefined, self = <MoinMoin.caching.CacheEntry instance>, self._filename = <bound method CacheEntry._filename of <MoinMoin.caching.CacheEntry instance>>, ).write undefined, content = 'c\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00@\x00\x00\x00s\\\x0c\x00\x00e\x00\x00e\x01\x00i\x02\x00i\x03\x00e\x01\x00i\x02\x00i\x04\x00e\x05\x00\x83\x01...\x01\r\x01\x1c\x01\r\x01%\x01\r\x01\x1c\x01\r\x01\x1c\x01\r\x01\x1c\x01\r\x01\x1c\x01\r\x01\x1c\x01\r\x01\x1c\x01\r\x01\x1c\x01\r\x01\x1c\x01\r\x01\x1c\x01\r\x01\x1c\x01' |
IOError: [Errno 122] Disk quota exceeded
__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 =
(122, 'Disk quota exceeded')
errno =
122
filename =
None
strerror =
'Disk quota exceeded'