Attachment 'RecentChanges.html'
Download- Immutable Page
- Comments
- Info
- Add Link
- Attachments
With “Add Link” you can add the current page to your list of quick links. |
IOError
[Errno 24] Too many open files: '/home/user/wikistorage/data/name-mapping'
If you want to report a bug, please save this page and attach it to your bug report.
Traceback
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/user/workspace/1.8-storage-cdenter/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_standalone.Request object at 0x10ea5d0>)
- 1302 self.page.send_page()
- 1303 else:
- 1304 handler(self.page.page_name, self)
- 1305
- 1306 # every action that didn't use to raise MoinMoinFinish must call this now:
- handler = <function do_show at 0xe605f0>
- self = <MoinMoin.request.request_standalone.Request object at 0x10ea5d0>
- self.page = <MoinMoin.Page.Page object at 0x10ead10>
- self.page.page_name = u'RecentChanges'
/home/user/workspace/1.8-storage-cdenter/MoinMoin/action/__init__.py in do_show (pagename=u'RecentChanges', request=<MoinMoin.request.request_standalone.Request object at 0x10ea5d0>, content_only=0, count_hit=1, cacheable=1, print_mode=0)
- 284 count_hit=count_hit,
- 285 print_mode=print_mode,
- 286 content_only=content_only,
- 287 )
- 288
- content_only = 0
/home/user/workspace/1.8-storage-cdenter/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object at 0x10fa110>, **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})
- 986 format_args=pi['formatargs'],
- 987 do_cache=do_cache,
- 988 start_line=pi['lines'])
- 989
- 990 # check for pending footnotes
- start_line undefined
- pi = {'format': 'wiki', 'formatargs': '', 'language': 'en', 'lines': 10}
/home/user/workspace/1.8-storage-cdenter/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object at 0x10fa110>, request=<MoinMoin.request.request_standalone.Request object at 0x10ea5d0>, body=u'\n||<tablestyle="width: 99%; background: #E6EAF0;...sions of the problematic paragraphs together. ||\n', format='wiki', format_args='', do_cache=1, **kw={'start_line': 10})
- 1069
- 1070 if not (do_cache and self.canUseCache(Parser)):
- 1071 self.format(parser)
- 1072 else:
- 1073 try:
- self = <MoinMoin.Page.Page object at 0x10fa110>
- self.format = <bound method Page.format of <MoinMoin.Page.Page object at 0x10fa110>>
- parser = <MoinMoin.parser.text_moin_wiki.Parser instance at 0x10f8cb0>
/home/user/workspace/1.8-storage-cdenter/MoinMoin/Page.py in format (self=<MoinMoin.Page.Page object at 0x10fa110>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance at 0x10f8cb0>)
- 1090 def format(self, parser):
- 1091 """ Format and write page content without caching """
- 1092 parser.format(self.formatter)
- 1093
- 1094 def execute(self, request, parser, code):
- parser = <MoinMoin.parser.text_moin_wiki.Parser instance at 0x10f8cb0>
- parser.format = <bound method Parser.format of <MoinMoin.parser.text_moin_wiki.Parser instance at 0x10f8cb0>>
- self = <MoinMoin.Page.Page object at 0x10fa110>
- self.formatter = <MoinMoin.formatter.text_html.Formatter instance at 0x10f8c20>
/home/user/workspace/1.8-storage-cdenter/MoinMoin/parser/text_moin_wiki.py in format (self=<MoinMoin.parser.text_moin_wiki.Parser instance at 0x10f8cb0>, formatter=<MoinMoin.formatter.text_html.Formatter instance at 0x10f8c20>, inhibit_p=False)
- 1541
- 1542 # Scan line, format and write
- 1543 formatted_line = self.scan(line, inhibit_p=inhibit_p)
- 1544 self.request.write(formatted_line)
- 1545
- formatted_line = u'<tr> <td><p class="line862"> <div dir="ltr" id=...WikiTipOfTheDay.bottom"></span></div></td>\n</tr>\n'
- self = <MoinMoin.parser.text_moin_wiki.Parser instance at 0x10f8cb0>
- self.scan = <bound method Parser.scan of <MoinMoin.parser.text_moin_wiki.Parser instance at 0x10f8cb0>>
- line = u'<<RecentChanges>> '
- inhibit_p = False
/home/user/workspace/1.8-storage-cdenter/MoinMoin/parser/text_moin_wiki.py in scan (self=<MoinMoin.parser.text_moin_wiki.Parser instance at 0x10f8cb0>, line=u'<<RecentChanges>> ', inhibit_p=False)
- 1357 self.in_table or self.in_list):
- 1358 result.append(self.formatter.paragraph(1, css_class="line867"))
- 1359 result.append(self.replace(match, inhibit_p))
- 1360 end = match.end()
- 1361 lastpos = end
- result = ['<p class="line867">']
- result.append = <built-in method append of list object at 0x100ecf8>
- self = <MoinMoin.parser.text_moin_wiki.Parser instance at 0x10f8cb0>
- self.replace = <bound method Parser.replace of <MoinMoin.parser.text_moin_wiki.Parser instance at 0x10f8cb0>>
- match = <_sre.SRE_Match object at 0xf00450>
- inhibit_p = False
/home/user/workspace/1.8-storage-cdenter/MoinMoin/parser/text_moin_wiki.py in replace (self=<MoinMoin.parser.text_moin_wiki.Parser instance at 0x10f8cb0>, match=<_sre.SRE_Match object at 0xf00450>, inhibit_p=False)
- 1399 # Get replace method and replace hit
- 1400 replace_func = getattr(self, '_%s_repl' % type)
- 1401 result.append(replace_func(hit, match.groupdict()))
- 1402 return ''.join(result)
- 1403 else:
- result = []
- result.append = <built-in method append of list object at 0x100ae60>
- replace_func = <bound method Parser._macro_repl of <MoinMoin.parser.text_moin_wiki.Parser instance at 0x10f8cb0>>
- hit = u'RecentChanges'
- match = <_sre.SRE_Match object at 0xf00450>
- match.groupdict = <built-in method groupdict of _sre.SRE_Match object at 0xf00450>
/home/user/workspace/1.8-storage-cdenter/MoinMoin/parser/text_moin_wiki.py in _macro_repl (self=<MoinMoin.parser.text_moin_wiki.Parser instance at 0x10f8cb0>, word=u'RecentChanges', groups={u'big': None, u'big_off': None, u'big_on': None, u'comment': None, u'dl': None, u'email': None, u'emph': None, u'emph_ib_or_bi': None, u'emph_ibb': None, u'emph_ibi': None, ...})
- 1324 if self.macro is None:
- 1325 self.macro = macro.Macro(self)
- 1326 return self.formatter.macro(self.macro, macro_name, macro_args, markup=groups.get('macro'))
- 1327 _macro_name_repl = _macro_repl
- 1328 _macro_args_repl = _macro_repl
- self = <MoinMoin.parser.text_moin_wiki.Parser instance at 0x10f8cb0>
- self.formatter = <MoinMoin.formatter.text_html.Formatter instance at 0x10f8c20>
- self.formatter.macro = <bound method Formatter.macro of <MoinMoin.formatter.text_html.Formatter instance at 0x10f8c20>>
- self.macro = <MoinMoin.macro.Macro instance at 0x1103290>
- macro_name = u'RecentChanges'
- macro_args = None
- markup undefined
- groups = {u'big': None, u'big_off': None, u'big_on': None, u'comment': None, u'dl': None, u'email': None, u'emph': None, u'emph_ib_or_bi': None, u'emph_ibb': None, u'emph_ibi': None, ...}
- groups.get = <built-in method get of dict object at 0x11598c0>
/home/user/workspace/1.8-storage-cdenter/MoinMoin/formatter/__init__.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance at 0x10f8c20>, macro_obj=<MoinMoin.macro.Macro instance at 0x1103290>, name=u'RecentChanges', args=None, markup=u'<<RecentChanges>>')
- 312 # call the macro
- 313 try:
- 314 return macro_obj.execute(name, args)
- 315 except ImportError, err:
- 316 errmsg = unicode(err)
- macro_obj = <MoinMoin.macro.Macro instance at 0x1103290>
- macro_obj.execute = <bound method Macro.execute of <MoinMoin.macro.Macro instance at 0x1103290>>
- name = u'RecentChanges'
- args = None
/home/user/workspace/1.8-storage-cdenter/MoinMoin/macro/__init__.py in execute (self=<MoinMoin.macro.Macro instance at 0x1103290>, macro_name=u'RecentChanges', args=None)
- 126 else:
- 127 raise ImportError("Cannot load macro %s" % macro_name)
- 128 return execute(self, args)
- 129
- 130 def _m_lang(self, text):
- execute = <function <lambda> at 0x10f2668>
- self = <MoinMoin.macro.Macro instance at 0x1103290>
- args = None
/home/user/workspace/1.8-storage-cdenter/MoinMoin/macro/__init__.py in (_self=<MoinMoin.macro.Macro instance at 0x1103290>, _args=None)
- 113 call = wikiutil.importPlugin(self.cfg, 'macro', macro_name,
- 114 function='macro_%s' % macro_name)
- 115 execute = lambda _self, _args: _self._wrap(call, _args, [self])
- 116 except wikiutil.PluginAttributeError:
- 117 # fall back to old execute() method, no longer recommended
- execute undefined
- _self = <MoinMoin.macro.Macro instance at 0x1103290>
- _args = None
- _self._wrap = <bound method Macro._wrap of <MoinMoin.macro.Macro instance at 0x1103290>>
- call = <function macro_RecentChanges at 0x1101b18>
- self = <MoinMoin.macro.Macro instance at 0x1103290>
/home/user/workspace/1.8-storage-cdenter/MoinMoin/macro/__init__.py in _wrap (self=<MoinMoin.macro.Macro instance at 0x1103290>, function=<function macro_RecentChanges at 0x1101b18>, args=None, fixed=[<MoinMoin.macro.Macro instance at 0x1103290>])
- 95 try:
- 96 return wikiutil.invoke_extension_function(self.request, function,
- 97 args, fixed)
- 98 except ValueError, e:
- 99 return self.format_error(e)
- args = None
- fixed = [<MoinMoin.macro.Macro instance at 0x1103290>]
/home/user/workspace/1.8-storage-cdenter/MoinMoin/wikiutil.py in invoke_extension_function (request=<MoinMoin.request.request_standalone.Request object at 0x10ea5d0>, function=<function macro_RecentChanges at 0x1101b18>, args=None, fixed_args=[<MoinMoin.macro.Macro instance at 0x1103290>])
- 2033 kwargs_to_pass.keys()[0]))
- 2034
- 2035 return function(*fixed_args, **kwargs)
- 2036
- 2037
- function = <function macro_RecentChanges at 0x1101b18>
- fixed_args = [<MoinMoin.macro.Macro instance at 0x1103290>]
- kwargs = {'abandoned': False}
/home/user/workspace/1.8-storage-cdenter/MoinMoin/macro/RecentChanges.py in macro_RecentChanges (macro=<MoinMoin.macro.Macro instance at 0x1103290>, abandoned=False)
- 268 for line in glog:
- 269
- 270 if not request.user.may.read(line.pagename):
- 271 continue
- 272
- request = <MoinMoin.request.request_standalone.Request object at 0x10ea5d0>
- request.user = <MoinMoin.user.User at 0x10f8b00 name:u'ReimarBauer' valid:1>
- request.user.may = <MoinMoin.security.Permissions instance at 0x10f87e8>
- request.user.may.read = <function <lambda> at 0x183bb90>
- line = <MoinMoin.logfile.editlog.EditLogLine object at 0x1825e90>
- line.pagename = u'WikiTestiSivu/mytest.draw'
/home/user/workspace/1.8-storage-cdenter/MoinMoin/security/__init__.py in (pagename=u'WikiTestiSivu/mytest.draw')
- 145 if attr not in request.cfg.acl_rights_valid:
- 146 raise AttributeError, attr
- 147 return lambda pagename: _check(self.request, pagename, self.name, attr)
- 148
- 149
- pagename = u'WikiTestiSivu/mytest.draw'
- global _check = <function _check at 0xc716e0>
- self = <MoinMoin.security.Permissions instance at 0x10f87e8>
- self.request = <MoinMoin.request.request_standalone.Request object at 0x10ea5d0>
- self.name = u'ReimarBauer'
- attr = 'read'
/home/user/workspace/1.8-storage-cdenter/MoinMoin/security/__init__.py in _check (request=<MoinMoin.request.request_standalone.Request object at 0x10ea5d0>, pagename=u'WikiTestiSivu/mytest.draw', username=u'ReimarBauer', right='read')
- 80 else:
- 81 p = Page(request, pagename)
- 82 acl = p.getACL() # this will be fast in a reused page obj
- 83 allowed = acl.may(request, username, right)
- 84 if allowed is not None:
- acl undefined
- p = <MoinMoin.Page.Page object at 0x1825fd0>
- p.getACL = <bound method Page.getACL of <MoinMoin.Page.Page object at 0x1825fd0>>
/home/user/workspace/1.8-storage-cdenter/MoinMoin/Page.py in getACL (self=<MoinMoin.Page.Page object at 0x1825fd0>)
- 503 # AND a item revision AND ACLs defined within that revision's metadata.
- 504 acls = []
- 505 if self._item is not None: # an item exists
- 506 try:
- 507 current_rev = self._item.get_revision(-1)
- self = <MoinMoin.Page.Page object at 0x1825fd0>
- self._item = None
- builtin None = None
/home/user/workspace/1.8-storage-cdenter/MoinMoin/Page.py in get_item (self=<MoinMoin.Page.Page object at 0x1825fd0>)
- 147 Get item method.
- 148 """
- 149 self.lazy_load()
- 150 return self.__item
- 151
- self = <MoinMoin.Page.Page object at 0x1825fd0>
- self.lazy_load = <bound method Page.lazy_load of <MoinMoin.Page.Page object at 0x1825fd0>>
/home/user/workspace/1.8-storage-cdenter/MoinMoin/Page.py in lazy_load (self=<MoinMoin.Page.Page object at 0x1825fd0>)
- 120
- 121 try:
- 122 self.__item = self._backend.get_item(self.page_name)
- 123 self.__rev = self.__item.get_revision(self.rev)
- 124 self._body = None
- self = <MoinMoin.Page.Page object at 0x1825fd0>
- self.__item undefined
- self._backend = <MoinMoin.storage.backends.fs.FSBackend object at 0xce3610>
- self._backend.get_item = <bound method FSBackend.get_item of <MoinMoin.storage.backends.fs.FSBackend object at 0xce3610>>
- self.page_name = u'WikiTestiSivu/mytest.draw'
/home/user/workspace/1.8-storage-cdenter/MoinMoin/storage/backends/fs.py in get_item (self=<MoinMoin.storage.backends.fs.FSBackend object at 0xce3610>, itemname=u'WikiTestiSivu/mytest.draw')
- 150
- 151 def get_item(self, itemname):
- 152 item_id = self._get_item_id(itemname)
- 153 if item_id is None:
- 154 raise NoSuchItemError("No such item, %r" % (itemname))
- item_id undefined
- self = <MoinMoin.storage.backends.fs.FSBackend object at 0xce3610>
- self._get_item_id = <bound method FSBackend._get_item_id of <MoinMoin.storage.backends.fs.FSBackend object at 0xce3610>>
- itemname = u'WikiTestiSivu/mytest.draw'
/home/user/workspace/1.8-storage-cdenter/MoinMoin/storage/backends/fs.py in _get_item_id (self=<MoinMoin.storage.backends.fs.FSBackend object at 0xce3610>, itemname=u'WikiTestiSivu/mytest.draw')
- 146 @param itemname: name of item (unicode)
- 147 """
- 148 c = cdb.init(self._name_db)
- 149 return c.get(itemname.encode('utf-8'))
- 150
- c undefined
- global cdb = <module 'MoinMoin.support.pycdb' from '/home/ree.../1.8-storage-cdenter/MoinMoin/support/pycdb.pyc'>
- cdb.init = <class MoinMoin.support.pycdb.CDBReader at 0xcbe8f0>
- self = <MoinMoin.storage.backends.fs.FSBackend object at 0xce3610>
- self._name_db = '/home/user/wikistorage/data/name-mapping'
/home/user/workspace/1.8-storage-cdenter/MoinMoin/support/pycdb.py in __init__ (self=<MoinMoin.support.pycdb.CDBReader instance at 0x181d9e0>, cdbname='/home/user/wikistorage/data/name-mapping', docache=1)
- 48 def __init__(self, cdbname, docache=1):
- 49 self.name = cdbname
- 50 self._fp = file(cdbname, 'rb')
- 51 hash0 = decode(self._fp.read(2048))
- 52 self._hash0 = [ (hash0[i], hash0[i+1]) for i in xrange(0, 512, 2) ]
- self = <MoinMoin.support.pycdb.CDBReader instance at 0x181d9e0>
- self._fp undefined
- builtin file = <type 'file'>
- cdbname = '/home/user/wikistorage/data/name-mapping'
IOError
[Errno 24] Too many open files: '/home/user/wikistorage/data/name-mapping'
- args = (24, 'Too many open files')
- errno = 24
- filename = '/home/user/wikistorage/data/name-mapping'
- message = ''
- strerror = 'Too many open files'
System Details
- Date: Sun, 17 Aug 2008 21:55:48 +0000
- Platform: Linux linux 2.6.24-19-generic #1 SMP Fri Jul 11 21:01:46 UTC 2008 x86_64
- Python: Python 2.5.2 (/usr/bin/python)
- MoinMoin: Release 1.8.0 (alpha)
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.