A category is a WikiName that exploits WikiWiki's reverse linking: if you click on the title of a category page, you'll get a list of pages belonging to that category. To get a list of all categories, click the CategoryCategory title in the navigation area.
Additionally, you can add lists of all pages which are members of that particular category to the category page using macros like this:
Here is a list of all categories known to this wiki:
--> -->OSError
[Errno 12] Cannot allocate memory: '/home/pytables/srv/www/pytables.org/_moin_private/data/pages'
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.
/usr/local/lib/python2.5/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_wsgi.Request object at 0x9516d8c>)
- 1304 self.page.send_page()
- 1305 else:
- 1306 handler(self.page.page_name, self)
- 1307
- 1308 # every action that didn't use to raise MoinMoinFinish must call this now:
- handler = <function do_show at 0x99da294>
- self = <MoinMoin.request.request_wsgi.Request object at 0x9516d8c>
- self.page = <MoinMoin.Page.Page object at 0x9516dcc>
- self.page.page_name = u'CategoryCategory'
/usr/local/lib/python2.5/site-packages/MoinMoin/action/__init__.py in do_show (pagename=u'CategoryCategory', request=<MoinMoin.request.request_wsgi.Request object at 0x9516d8c>, content_only=0, count_hit=1, cacheable=1, print_mode=0)
- 251 count_hit=count_hit,
- 252 print_mode=print_mode,
- 253 content_only=content_only,
- 254 )
- 255
- content_only = 0
/usr/local/lib/python2.5/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object at 0x95169ec>, **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})
- 1195 format_args=pi['formatargs'],
- 1196 do_cache=do_cache,
- 1197 start_line=pi['lines'])
- 1198
- 1199 # check for pending footnotes
- start_line undefined
- pi = {'acl': <MoinMoin.security.AccessControlList instance at 0x9516f8c>, 'format': u'wiki', 'formatargs': u'', 'language': u'en', 'lines': 7}
/usr/local/lib/python2.5/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object at 0x95169ec>, request=<MoinMoin.request.request_wsgi.Request object at 0x9516d8c>, body=u"A category is a WikiName that exploits [[Wiki:Wi...mation, see Wiki:AboutCategoriesAndTopics''''''.\n", format=u'wiki', format_args=u'', do_cache=1, **kw={'start_line': 7})
- 1283 try:
- 1284 code = self.loadCache(request)
- 1285 self.execute(request, parser, code)
- 1286 except Exception, e:
- 1287 if not is_cache_exception(e):
- self = <MoinMoin.Page.Page object at 0x95169ec>
- self.execute = <bound method Page.execute of <MoinMoin.Page.Page object at 0x95169ec>>
- request = <MoinMoin.request.request_wsgi.Request object at 0x9516d8c>
- parser = <MoinMoin.parser.text_moin_wiki.Parser instance at 0x9516ecc>
- code = <code object <module> at 0xac908ba8, file "CategoryCategory", line 2>
/usr/local/lib/python2.5/site-packages/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page object at 0x95169ec>, request=<MoinMoin.request.request_wsgi.Request object at 0x9516d8c>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance at 0x9516ecc>, code=<code object <module> at 0xac908ba8, file "CategoryCategory", line 2>)
- 1314 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
- 1315 try:
- 1316 exec code
- 1317 except "CacheNeedsUpdate": # convert the exception
- 1318 raise Exception("CacheNeedsUpdate")
- code = <code object <module> at 0xac908ba8, file "CategoryCategory", line 2>
/home/pytables/CategoryCategory in
() /usr/local/lib/python2.5/site-packages/MoinMoin/formatter/__init__.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance at 0x951618c>, macro_obj=<MoinMoin.macro.Macro instance at 0x9516e8c>, name=u'PageList', args=u'regex:^Category.*', markup=u'<<PageList(regex:^Category.*)>>')
- 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 0x9516e8c>
- macro_obj.execute = <bound method Macro.execute of <MoinMoin.macro.Macro instance at 0x9516e8c>>
- name = u'PageList'
- args = u'regex:^Category.*'
/usr/local/lib/python2.5/site-packages/MoinMoin/macro/__init__.py in execute (self=<MoinMoin.macro.Macro instance at 0x9516e8c>, macro_name=u'PageList', args=u'regex:^Category.*')
- 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 execute at 0xa35e10c>
- self = <MoinMoin.macro.Macro instance at 0x9516e8c>
- args = u'regex:^Category.*'
/usr/local/lib/python2.5/site-packages/MoinMoin/macro/PageList.py in execute (macro=<MoinMoin.macro.Macro instance at 0x9516e8c>, args=u'regex:^Category.*')
- 30 results = search.searchPages(macro.request, needle,
- 31 titlesearch=1, case=case,
- 32 sort='page_name')
- 33 ret = results.pageList(macro.request, macro.formatter, paging=False)
- 34 except ValueError:
- sort undefined
/usr/local/lib/python2.5/site-packages/MoinMoin/search/__init__.py in searchPages (request=<MoinMoin.request.request_wsgi.Request object at 0x9516d8c>, query=<MoinMoin.search.queryparser.AndExpression instance at 0x937bcec>, sort='page_name', mtime=None, historysearch=None, **kw={'case': 0, 'titlesearch': 1})
- 33 if isinstance(query, str) or isinstance(query, unicode):
- 34 query = QueryParser(**kw).parse_query(query)
- 35 return Search(request, query, sort, mtime=mtime,
- 36 historysearch=historysearch).run()
- 37
- historysearch = None
- ).run undefined
/usr/local/lib/python2.5/site-packages/MoinMoin/search/builtin.py in run (self=<MoinMoin.search.builtin.Search instance at 0x9516a2c>)
- 481
- 482 return getSearchResults(self.request, self.query, hits, start,
- 483 self.sort, estimated_hits)
- 484
- 485 # ----------------------------------------------------------------
- self = <MoinMoin.search.builtin.Search instance at 0x9516a2c>
- self.sort = 'page_name'
- estimated_hits = None
/usr/local/lib/python2.5/site-packages/MoinMoin/search/results.py in getSearchResults (request=<MoinMoin.request.request_wsgi.Request object at 0x9516d8c>, query=<MoinMoin.search.queryparser.AndExpression instance at 0x937bcec>, hits=[('Self', <MoinMoin.Page.Page object at 0x951634c>, '', [<MoinMoin.search.results.TitleMatch object at 0x947c34c>]), ('Self', <MoinMoin.Page.Page object at 0x93fac8c>, '', [<MoinMoin.search.results.TitleMatch object at 0x947c88c>]), ('Self', <MoinMoin.Page.Page object at 0x947cd8c>, '', [<MoinMoin.search.results.TitleMatch object at 0x94645ec>])], start=1328606757.0820639, sort='page_name', estimated_hits=None)
- 831 attachment, match, page))
- 832 elapsed = time.time() - start
- 833 count = request.rootpage.getPageCount()
- 834 return SearchResults(query, result_hits, count, elapsed, sort,
- 835 estimated_hits)
- count undefined
- request = <MoinMoin.request.request_wsgi.Request object at 0x9516d8c>
- request.rootpage = <MoinMoin.Page.RootPage object at 0x95164ec>
- request.rootpage.getPageCount = <bound method RootPage.getPageCount of <MoinMoin.Page.RootPage object at 0x95164ec>>
/usr/local/lib/python2.5/site-packages/MoinMoin/Page.py in getPageCount (self=<MoinMoin.Page.RootPage object at 0x95164ec>, exists=0)
- 1867 pages = self.request.pages
- 1868 if not pages:
- 1869 pages = self._listPages()
- 1870 count = len(pages)
- 1871 self.request.clock.stop('getPageCount')
- pages = {}
- self = <MoinMoin.Page.RootPage object at 0x95164ec>
- self._listPages = <bound method RootPage._listPages of <MoinMoin.Page.RootPage object at 0x95164ec>>
/usr/local/lib/python2.5/site-packages/MoinMoin/Page.py in _listPages (self=<MoinMoin.Page.RootPage object at 0x95164ec>)
- 1808 # Get pages in standard dir
- 1809 path = self.getPagePath('pages')
- 1810 pages = self._listPageInPath(path)
- 1811
- 1812 if self.cfg.data_underlay_dir is not None:
- pages undefined
- self = <MoinMoin.Page.RootPage object at 0x95164ec>
- self._listPageInPath = <bound method RootPage._listPageInPath of <MoinMoin.Page.RootPage object at 0x95164ec>>
- path = '/home/pytables/srv/www/pytables.org/_moin_private/data/pages'
/usr/local/lib/python2.5/site-packages/MoinMoin/Page.py in _listPageInPath (self=<MoinMoin.Page.RootPage object at 0x95164ec>, path='/home/pytables/srv/www/pytables.org/_moin_private/data/pages')
- 1831 """
- 1832 pages = {}
- 1833 for name in filesys.dclistdir(path):
- 1834 # Filter non-pages in quoted wiki names
- 1835 # List all pages in pages directory - assume flat namespace.
- name undefined
- global filesys = <module 'MoinMoin.util.filesys' from '/usr/local...thon2.5/site-packages/MoinMoin/util/filesys.pyc'>
- filesys.dclistdir = <function dclistdir at 0x8b8672c>
- path = '/home/pytables/srv/www/pytables.org/_moin_private/data/pages'
/usr/local/lib/python2.5/site-packages/MoinMoin/util/filesys.py in dclistdir (path='/home/pytables/srv/www/pytables.org/_moin_private/data/pages')
- 237 return os.listdir(path)
- 238 else:
- 239 return dircache.listdir(path)
- 240
- 241 def dcreset():
- global dircache = <module 'dircache' from '/usr/lib/python2.5/dircache.pyc'>
- dircache.listdir = <function listdir at 0x8450a3c>
- path = '/home/pytables/srv/www/pytables.org/_moin_private/data/pages'
/usr/lib/python2.5/dircache.py in listdir (path='/home/pytables/srv/www/pytables.org/_moin_private/data/pages')
- 25 mtime = os.stat(path).st_mtime
- 26 if mtime != cached_mtime:
- 27 list = os.listdir(path)
- 28 list.sort()
- 29 cache[path] = mtime, list
- list = ['(21)GW(2b2d2b)Armor(2b)Level(2b)and(2b)Damage', '(25)E8(25)BF(25)99(25)E6(25)A0(25)B7(25)E7(25)9A...8(25)A7(25)81(25)E8(25)BF(25)87(25)E5(25)90(25)97', '(26)context(3d)180(26)value(3d)linkto(3a22)HelpOnPageCreation(22)', '(28)null(29)', '(2e)GW(2b2d2b)Armor(2b)Level(2b)and(2b)Damage', '(2e2e2e2f)04(20)Creating(20)a(20)wiki(20)account', '(2e2e2e2f)Migrating(20)To(20)2(2e)x', '(3e2a2e)swf', '(5b)FrancescAltedResume', '(5b)FrancescAltetResume', '(7b)system(2d)property(28)', '(7b)system(2d)property(2827)xsl(3a)vendor(2d)url(27297d)', '(d09ad0b0d0bad09ad0bed0bdd184d0b8d0b3d183d180d0b8d180d0bed0b2d0b0d182d18c)', '(e4b8b8e88aaf)', '(e4bf9de999a9e58cbae588ab23)preview', '(e587bae594aee59586e4b89ae8b584e69699)', '(e58c97e4baace9ab98e58e8be6b885e6b497)', '(e5beaae78eafe6b3b5e79a84e5b7a5e4bd9ce58e9fe79086)', '(e79585e8a18c)', '(e7a4bce59381e5be80e69da5e79a84e5ada6e997ae)', ...]
- global os = <module 'os' from '/usr/lib/python2.5/os.pyc'>
- os.listdir = <built-in function listdir>
- path = '/home/pytables/srv/www/pytables.org/_moin_private/data/pages'
OSError
[Errno 12] Cannot allocate memory: '/home/pytables/srv/www/pytables.org/_moin_private/data/pages'
- args = (12, 'Cannot allocate memory')
- errno = 12
- filename = '/home/pytables/srv/www/pytables.org/_moin_private/data/pages'
- message = ''
- strerror = 'Cannot allocate memory'
System Details
- Date: Tue, 07 Feb 2012 09:25:58 +0000
- Platform: Linux xano 2.6.18.8-linode22 #1 SMP Tue Nov 10 16:12:12 UTC 2009 i686
- Python: Python 2.5.2 (/usr/bin/python)
- MoinMoin: Release 1.7.0 (release)
