Charts are not available!
List of all pages, sorted by their size:
>
OSError: [Errno 2] No such file or directory: '/home/tew/lib/wiki/introvert.net/data/text/unhealthy_7e' | Python 2.2.3+ /usr/bin/python2.2 |
A problem occurred while running a Python script. Here is the sequence of function calls leading up to the error, with the most recent (innermost) call first. The exception attributes are:
__doc__ = 'OS system call failed.'
__getitem__ = <bound method OSError.__getitem__ of <exceptions.OSError instance at 0x828dc9c>>
__init__ = <bound method OSError.__init__ of <exceptions.OSError instance at 0x828dc9c>>
__module__ = 'exceptions'
__str__ = <bound method OSError.__str__ of <exceptions.OSError instance at 0x828dc9c>>
args = (2, 'No such file or directory')
errno = 2
filename = '/home/tew/lib/wiki/introvert.net/data/text/unhealthy_7e'
strerror = 'No such file or directory'
137 def getsize(filename):
138 """Return the size of a file, reported by os.stat()."""
139 st = os.stat(filename)
|
st = undefined, global os = <module 'os' from '/usr/lib/python2.2/os.pyc'>, global stat = <module 'stat' from '/usr/lib/python2.2/stat.pyc'>, filename = '/home/tew/lib/wiki/introvert.net/data/text/unhealthy_7e'
140 return st[stat.ST_SIZE]
141
101 return len(self.raw_body)
102
103 return os.path.getsize(self._text_filename())
|
global os = <module 'os' from '/usr/lib/python2.2/os.pyc'>, global path = undefined, global getsize = undefined, self = <MoinMoin.Page.Page instance>, global _text_filename = undefined
104
105
21 sizes = []
22 for name, page in pages.items():
23 sizes.append((page.size(), page))
|
sizes = [(1552L, <MoinMoin.Page.Page instance>), (1173L, <MoinMoin.Page.Page instance>), (367L, <MoinMoin.Page.Page instance>), (691L, <MoinMoin.Page.Page instance>), (930L, <MoinMoin.Page.Page instance>), (77L, <MoinMoin.Page.Page instance>), (1298L, <MoinMoin.Page.Page instance>), (1000L, <MoinMoin.Page.Page instance>), (5082L, <MoinMoin.Page.Page instance>), (822L, <MoinMoin.Page.Page instance>), (79L, <MoinMoin.Page.Page instance>), (55L, <MoinMoin.Page.Page instance>), (80L, <MoinMoin.Page.Page instance>), (1898L, <MoinMoin.Page.Page instance>), (59L, <MoinMoin.Page.Page instance>), (52L, <MoinMoin.Page.Page instance>), (279L, <MoinMoin.Page.Page instance>), (81L, <MoinMoin.Page.Page instance>), (273L, <MoinMoin.Page.Page instance>), (81L, <MoinMoin.Page.Page instance>), ...], global append = undefined, page = <MoinMoin.Page.Page instance>, size = undefined
24 sizes.sort()
25 sizes.reverse()
80 if macro_name in macro.extension_macros:
81 execute = util.importName("MoinMoin.macro." + macro_name, "execute")
82 return apply(execute, (self, args))
|
global apply = undefined, execute = <function execute>, self = <MoinMoin.wikimacro.Macro instance>, args = None
83
84 # try plugin dir
644
645 # call the macro
646 return self.macro.execute(macro_name, args)
|
self = <MoinMoin.parser.wiki.Parser instance>, global macro = undefined, global execute = undefined, macro_name = 'PageSize', args = None
647
648
754 return self.highlight_text(hit)
755 else:
756 return apply(getattr(self, '_' + type + '_repl'), (hit,))
|
global apply = undefined, global getattr = undefined, self = <MoinMoin.parser.wiki.Parser instance>, type = 'macro', hit = '[[PageSize]]'
757 else:
758 import pprint
| /usr/lib/python2.2/sre.py in subn(pattern=<_sre.SRE_Pattern object>, repl=<bound method Parser.replace of <MoinMoin.parser.wiki.Parser instance at 0x826767c>>, string='[[PageSize]] ', count=0) |
149 string by the replacement repl. number is the number of
150 substitutions that were made."""
151 return _compile(pattern, 0).subn(repl, string, count)
|
global _compile = <function _compile>, pattern = <_sre.SRE_Pattern object>, global subn = <function subn>, repl = <bound method Parser.replace of <MoinMoin.parser.wiki.Parser instance at 0x826767c>>, string = '[[PageSize]] ', count = 0
152
153 def split(pattern, string, maxsplit=0):
871 sys.stdout.write(self.highlight_scan(scan_re, line + " "))
872 else:
873 line, count = re.subn(scan_re, self.replace, line + " ")
|
line = '[[PageSize]]', count = 0, global re = <module 're' from '/usr/lib/python2.2/re.pyc'>, global subn = undefined, scan_re = <_sre.SRE_Pattern object>, self = <MoinMoin.parser.wiki.Parser instance>, global replace = undefined
874 ##if not count: self._check_p()
875 self._check_p()
380 else:
381 # parse the text and send the page content
382 Parser(body, request).format(self.formatter, form)
|
Parser = <class MoinMoin.parser.wiki.Parser>, body = '[[StatsChart(pagesize)]]\n\nList of all pages, sorted by their size:\n[[PageSize]]\n', request = <MoinMoin.request.Request instance>, global format = undefined, self = <MoinMoin.Page.Page instance>, global formatter = undefined, form = FieldStorage(None, None, [])
383
384 # check for pending footnotes
233 else:
234 try:
cgitb = <module 'MoinMoin.support.cgitb' from '/home/tew/lib/python/MoinMoin/support/cgitb.pyc'>, handler = undefined
236 except:
237 apply(cgi.print_exception, saved_exc)