A user reported a error with moinmoin 1.6.0 and the explorer theme (running debian etch). The wiki was unusable after that because every access was terminated with this 'math domain error' message. The user reported that he wanted to place a png image on a page.

After removing explorer.py the wiki pages were rendered ok with the modern theme - no errror.

 --> -->
ValueError

math domain error

If you want to report a bug, please save this page and attach it to your bug report.

    * Show debugging information
    * Report bug
    * Visit MoinMoin wiki

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.

   1.

      /usr/lib/python2.4/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_fcgi.Request object>)
         1. 1281 self.page.send_page(msg=msg)
         2. 1282 else:
         3. 1283 handler(self.page.page_name, self)
         4. 1284
         5. 1285 # every action that didn't use to raise MoinMoinNoFooter must call this now:
          * handler = <function execute>
          * self = <MoinMoin.request.request_fcgi.Request object>
          * self.page = <MoinMoin.Page.Page object>
          * self.page.page_name = u'ERE_FrontPage'
   2.

      /usr/lib/python2.4/site-packages/MoinMoin/action/login.py in execute (pagename=u'ERE_FrontPage', request=<MoinMoin.request.request_fcgi.Request object>)
         1. 15
         2. 16 def execute(pagename, request):
         3. 17 return LoginHandler(pagename, request).handle()
         4. 18
         5. 19 class LoginHandler:
          * global LoginHandler = <class MoinMoin.action.login.LoginHandler>
          * pagename = u'ERE_FrontPage'
          * request = <MoinMoin.request.request_fcgi.Request object>
          * ).handle undefined
   3.

      /usr/lib/python2.4/site-packages/MoinMoin/action/login.py in handle (self=<MoinMoin.action.login.LoginHandler instance>)
         1. 59 error = _("Sorry, login failed.", formatted=False)
         2. 60
         3. 61 return self.page.send_page(msg=error)
         4. 62
         5. 63 else: # show login form
          * self = <MoinMoin.action.login.LoginHandler instance>
          * self.page = <MoinMoin.Page.Page object>
          * self.page.send_page = <bound method Page.send_page of <MoinMoin.Page.Page object>>
          * msg undefined
          * error = None
   4.

      /usr/lib/python2.4/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object>, msg='', **keywords={})
         1. 1140 print_mode=print_mode,
         2. 1141 media=media, pi_refresh=pi.get('refresh'),
         3. 1142 allow_doubleclick=1, trail=trail,
         4. 1143 )
         5. 1144
          * allow_doubleclick undefined
          * trail = [u'EreWiki:ERE_FrontPage']
   5.

      /usr/lib/python2.4/site-packages/MoinMoin/theme/__init__.py in send_title (self=<ere-wiki.plugin.theme.explorer.Theme instance>, text=u'ERE_FrontPage', **keywords={'allow_doubleclick': 1, 'media': 'screen', 'msg': '', 'page': <MoinMoin.Page.Page object>, 'pi_refresh': None, 'print_mode': 0, 'trail': [u'EreWiki:ERE_FrontPage']})
         1. 1675 output.append(self.editorheader(d))
         2. 1676 else:
         3. 1677 output.append(self.header(d))
         4. 1678
         5. 1679 # emit it
          * output = [u'\n<body lang="de" dir="ltr">\n']
          * output.append = <built-in method append of list object>
          * self = <ere-wiki.plugin.theme.explorer.Theme instance>
          * self.header = <bound method Theme.header of <ere-wiki.plugin.theme.explorer.Theme instance>>
          * d = {'available_actions': ['use self.request.availableActions(page)'], 'home_page': ('UserWiki', u'RalfGross'), 'last_edit_info': {'editor': u'<span title="RalfGross @ C59VRSBB.rd.corpintra.n...orpintra.net[53.61.212.243]">RalfGross</a></span>', 'time': '2008-02-07 11:07:11'}, 'logo_string': u'<img src="/wikifarm/common/moinmoin.png" alt="MoinMoin Logo">', 'msg': '', 'navibar': ['use self.navibar(d)'], 'page': <MoinMoin.Page.Page object>, 'page_find_page': u'SeiteFinden', 'page_front_page': u'ERE_FrontPage', 'page_help_contents': u'HilfeInhalt', ...}
   6.

      /server/wikis/farm/ere-wiki/data/plugin/theme/explorer.py in header (self=<ere-wiki.plugin.theme.explorer.Theme instance>, d={'available_actions': ['use self.request.availableActions(page)'], 'home_page': ('UserWiki', u'RalfGross'), 'last_edit_info': {'editor': u'<span title="RalfGross @ C59VRSBB.rd.corpintra.n...orpintra.net[53.61.212.243]">RalfGross</a></span>', 'time': '2008-02-07 11:07:11'}, 'logo_string': u'<img src="/wikifarm/common/moinmoin.png" alt="MoinMoin Logo">', 'msg': '', 'navibar': ['use self.navibar(d)'], 'page': <MoinMoin.Page.Page object>, 'page_find_page': u'SeiteFinden', 'page_front_page': u'ERE_FrontPage', 'page_help_contents': u'HilfeInhalt', ...}, **kw={})
         1. 175 """
         2. 176 # Init the wiki tree
         3. 177 self.wiki_tree = WikiTree(self, d)
         4. 178 self.page = d['page']
         5. 179 self.page_name = d['page_name']
          * self = <ere-wiki.plugin.theme.explorer.Theme instance>
          * self.wiki_tree undefined
          * global WikiTree = <class ere-wiki.plugin.theme.explorer.WikiTree>
          * d = {'available_actions': ['use self.request.availableActions(page)'], 'home_page': ('UserWiki', u'RalfGross'), 'last_edit_info': {'editor': u'<span title="RalfGross @ C59VRSBB.rd.corpintra.n...orpintra.net[53.61.212.243]">RalfGross</a></span>', 'time': '2008-02-07 11:07:11'}, 'logo_string': u'<img src="/wikifarm/common/moinmoin.png" alt="MoinMoin Logo">', 'msg': '', 'navibar': ['use self.navibar(d)'], 'page': <MoinMoin.Page.Page object>, 'page_find_page': u'SeiteFinden', 'page_front_page': u'ERE_FrontPage', 'page_help_contents': u'HilfeInhalt', ...}
   7.

      /server/wikis/farm/ere-wiki/data/plugin/theme/explorer.py in __init__ (self=<ere-wiki.plugin.theme.explorer.WikiTree instance>, theme=<ere-wiki.plugin.theme.explorer.Theme instance>, d={'available_actions': ['use self.request.availableActions(page)'], 'home_page': ('UserWiki', u'RalfGross'), 'last_edit_info': {'editor': u'<span title="RalfGross @ C59VRSBB.rd.corpintra.n...orpintra.net[53.61.212.243]">RalfGross</a></span>', 'time': '2008-02-07 11:07:11'}, 'logo_string': u'<img src="/wikifarm/common/moinmoin.png" alt="MoinMoin Logo">', 'msg': '', 'navibar': ['use self.navibar(d)'], 'page': <MoinMoin.Page.Page object>, 'page_find_page': u'SeiteFinden', 'page_front_page': u'ERE_FrontPage', 'page_help_contents': u'HilfeInhalt', ...})
         1. 745 self.lock.acquire()
         2. 746 try:
         3. 747 self.refresh_wiki_tree()
         4. 748 finally:
         5. 749 self.lock.release()
          * self = <ere-wiki.plugin.theme.explorer.WikiTree instance>
          * self.refresh_wiki_tree = <bound method WikiTree.refresh_wiki_tree of <ere-wiki.plugin.theme.explorer.WikiTree instance>>
   8.

      /server/wikis/farm/ere-wiki/data/plugin/theme/explorer.py in refresh_wiki_tree (self=<ere-wiki.plugin.theme.explorer.WikiTree instance>)
         1. 771 for item in items:
         2. 772 self.add_page(item)
         3. 773 self.finalize_touched()
         4. 774 self.log_pos = new_pos # important to do this at the end -
         5. 775 # avoids threading race conditions
          * self = <ere-wiki.plugin.theme.explorer.WikiTree instance>
          * self.finalize_touched = <bound method WikiTree.finalize_touched of <ere-wiki.plugin.theme.explorer.WikiTree instance>>
   9.

      /server/wikis/farm/ere-wiki/data/plugin/theme/explorer.py in finalize_touched (self=<ere-wiki.plugin.theme.explorer.WikiTree instance>)
         1. 936 self.touched = set([])
         2. 937 for node_name in first_step_touched:
         3. 938 self.finalize_node(node_name)
         4. 939 second_step_touched = self.touched
         5. 940 self.touched = set([])
          * self = <ere-wiki.plugin.theme.explorer.WikiTree instance>
          * self.finalize_node = <bound method WikiTree.finalize_node of <ere-wiki.plugin.theme.explorer.WikiTree instance>>
          * node_name = u'CategoryMks'
  10.

      /server/wikis/farm/ere-wiki/data/plugin/theme/explorer.py in finalize_node (self=<ere-wiki.plugin.theme.explorer.WikiTree instance>, node_name=u'CategoryMks')
         1. 977 self.add_to_parent(node_name, node, self.root)
         2. 978 # Build the html code for the link
         3. 979 title = self.node_description(node)
         4. 980 link_html = u'<a class="node" href="%s" title="%s">%s</a>' % (node.url, title, node.display_name)
         5. 981 node.html = self.node_icon_html[icon_type] + link_html
          * title undefined
          * self = <ere-wiki.plugin.theme.explorer.WikiTree instance>
          * self.node_description = <bound method WikiTree.node_description of <ere-wiki.plugin.theme.explorer.WikiTree instance>>
          * node = <ere-wiki.plugin.theme.explorer.WikiNode instance>
  11.

      /server/wikis/farm/ere-wiki/data/plugin/theme/explorer.py in node_description (self=<ere-wiki.plugin.theme.explorer.WikiTree instance>, node=<ere-wiki.plugin.theme.explorer.WikiNode instance>, include_name=1, separator=u', ')
         1. 1003 _ = self.ui_text
         2. 1004 # if (categories_count + pages_count + attachments_count): # Are there sub nodes?
         3. 1005 description = u'%s%i&nbsp;%s%s%i&nbsp;%s%s%i&nbsp;%s%s%s:&nbsp;%s' % (
         4. 1006 description,
         5. 1007 pages_count, _['pages'], separator,
          * description = u'CategoryMks: '
          * pages_count = 3
          * _ = {'attachments': 'attachments', 'categories': 'categories', 'pages': 'pages', 'size': 'size', 'toggle_title': 'Toggle display'}
          * separator = u', '
          * categories_count = 0
          * attachments_count = 0
          * self = <ere-wiki.plugin.theme.explorer.WikiTree instance>
          * self.human_readable_size = <bound method WikiTree.human_readable_size of <ere-wiki.plugin.theme.explorer.WikiTree instance>>
          * total_size = -113961
  12.

      /server/wikis/farm/ere-wiki/data/plugin/theme/explorer.py in human_readable_size (self=<ere-wiki.plugin.theme.explorer.WikiTree instance>, size=-113961)
         1. 1024 return u'0&nbsp;Bytes'
         2. 1025 file_size_name = [u'Bytes', u'KB', u'MB', u'GB', u'TB', u'PB', u'EB', u'ZB', u'YB']
         3. 1026 i = int(self.math.log(size, 1024))
         4. 1027 if i:
         5. 1028 return u'%.2f&nbsp;%s' % (round(size/pow(1024, i), 2), file_size_name[i])
          * i undefined
          * builtin int = <type 'int'>
          * self = <ere-wiki.plugin.theme.explorer.WikiTree instance>
          * self.math = <module 'math' from '/usr/lib/python2.4/lib-dynload/math.so'>
          * self.math.log = <built-in function log>
          * size = -113961

ValueError

math domain error

    * args = ('math domain error',)

System Details

    * Date: Thu, 13 Mar 2008 13:20:14 +0000
    * Platform: Linux VU0EM003 2.6.18-6-amd64 #1 SMP Sun Feb 10 17:50:19 UTC 2008 x86_64
    * Python: Python 2.4.4 (/server/wikis/cgi-bin/)
    * MoinMoin: Release 1.6.0 (release)

Some additional information from moin.log

2008-03-14 12:19:00,938 ERROR ValueError: math domain error
Traceback (most recent call last):
  File "/usr//lib/python2.4/site-packages/MoinMoin/request/__init__.py", line 1283, in run
    handler(self.page.page_name, self)
  File "/usr//lib/python2.4/site-packages/MoinMoin/action/__init__.py", line 239, in do_show
    content_only=content_only,
  File "/usr//lib/python2.4/site-packages/MoinMoin/Page.py", line 1142, in send_page
    allow_doubleclick=1, trail=trail,
  File "/usr//lib/python2.4/site-packages/MoinMoin/theme/__init__.py", line 1677, in send_title
    output.append(self.header(d))
  File "/server/wikis/farm/ere-wiki/data/plugin/theme/explorer.py", line 170, in header
    self.wiki_tree = WikiTree(self, d)
  File "/server/wikis/farm/ere-wiki/data/plugin/theme/explorer.py", line 741, in __init__
    self.refresh_wiki_tree()
  File "/server/wikis/farm/ere-wiki/data/plugin/theme/explorer.py", line 768, in refresh_wiki_tree
    self.finalize_touched()
  File "/server/wikis/farm/ere-wiki/data/plugin/theme/explorer.py", line 933, in finalize_touched
    self.finalize_node(node_name)
  File "/server/wikis/farm/ere-wiki/data/plugin/theme/explorer.py", line 974, in finalize_node
    title = self.node_description(node)
  File "/server/wikis/farm/ere-wiki/data/plugin/theme/explorer.py", line 1000, in node_description
    description = u'%s%i&nbsp;%s%s%i&nbsp;%s%s%i&nbsp;%s%s%s:&nbsp;%s' % (
  File "/server/wikis/farm/ere-wiki/data/plugin/theme/explorer.py", line 1021, in human_readable_size
    i = int(self.math.log(size, 1024))
ValueError: math domain error


See ../TypeError for a temporary solution. -- WolfgangFischer 2008-03-14 14:16:00


Sorry, got an other 'math domain error' message today:

 --> -->
ValueError

math domain error

If you want to report a bug, please save this page and attach it to your bug report.

    * Show debugging information
    * Report bug
    * Visit MoinMoin wiki

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.

   1.

      /usr/lib/python2.4/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_fcgi.Request object>)
         1. 1281 self.page.send_page(msg=msg)
         2. 1282 else:
         3. 1283 handler(self.page.page_name, self)
         4. 1284
         5. 1285 # every action that didn't use to raise MoinMoinNoFooter must call this now:
          * handler = <function execute>
          * self = <MoinMoin.request.request_fcgi.Request object>
          * self.page = <MoinMoin.Page.Page object>
          * self.page.page_name = u'Dokumentation/Anwendungen/SSL'
   2.

      /usr/lib/python2.4/site-packages/MoinMoin/action/edit.py in execute (pagename=u'Dokumentation/Anwendungen/SSL', request=<MoinMoin.request.request_fcgi.Request object>)
         1. 187
         2. 188 # sets revision number to default for further actions
         3. 189 request.rev = 0
         4. 190 pg.send_page(msg=savemsg)
         5. 191
          * pg = <MoinMoin.Page.Page object>
          * pg.send_page = <bound method Page.send_page of <MoinMoin.Page.Page object>>
          * msg undefined
          * savemsg = u'Danke f\xfcr die \xc4nderung und die Sorgfalt beim Edi...Cervicek: E-Mail wurde erfolgreich versandt\n</p> '
   3.

      /usr/lib/python2.4/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object>, msg=u'Danke f\xfcr die \xc4nderung und die Sorgfalt beim Edi...Cervicek: E-Mail wurde erfolgreich versandt\n</p> ', **keywords={})
         1. 1140 print_mode=print_mode,
         2. 1141 media=media, pi_refresh=pi.get('refresh'),
         3. 1142 allow_doubleclick=1, trail=trail,
         4. 1143 )
         5. 1144
          * allow_doubleclick undefined
          * trail = [u'StzSWT:STZ-Softwaretechnik', u'StzSWT:Dokumentation', u'StzSWT:Dokumentation/Anwendungen/LotusNotes', u'StzSWT:Dokumentation/Anwendungen', u'StzSWT:Dokumentation/Anwendungen/SSL']
   4.

      /usr/lib/python2.4/site-packages/MoinMoin/theme/__init__.py in send_title (self=<stz-swt.plugin.theme.explorer.Theme instance>, text=u'Dokumentation/Anwendungen/SSL', **keywords={'allow_doubleclick': 1, 'media': 'screen', 'msg': u'Danke f\xfcr die \xc4nderung und die Sorgfalt beim Edi...Cervicek: E-Mail wurde erfolgreich versandt\n</p> ', 'page': <MoinMoin.Page.Page object>, 'pi_refresh': None, 'print_mode': 0, 'trail': [u'StzSWT:STZ-Softwaretechnik', u'StzSWT:Dokumentation', u'StzSWT:Dokumentation/Anwendungen/LotusNotes', u'StzSWT:Dokumentation/Anwendungen', u'StzSWT:Dokumentation/Anwendungen/SSL']})
         1. 1675 output.append(self.editorheader(d))
         2. 1676 else:
         3. 1677 output.append(self.header(d))
         4. 1678
         5. 1679 # emit it
          * output = [u'\n<body lang="de" dir="ltr">\n']
          * output.append = <built-in method append of list object>
          * self = <stz-swt.plugin.theme.explorer.Theme instance>
          * self.header = <bound method Theme.header of <stz-swt.plugin.theme.explorer.Theme instance>>
          * d = {'available_actions': ['use self.request.availableActions(page)'], 'home_page': ('UserWiki', u'RalfGross'), 'last_edit_info': {'editor': u'<span title="RalfGross @ C59VRSBB.rd.corpintra.n...orpintra.net[53.61.212.243]">RalfGross</a></span>', 'time': '2008-03-20 11:29:29'}, 'logo_string': u'<img src="/wikifarm/common/stzLogo.png" alt="STZ-SWT" Logo">', 'msg': u'Danke f\xfcr die \xc4nderung und die Sorgfalt beim Edi...Cervicek: E-Mail wurde erfolgreich versandt\n</p> ', 'navibar': ['use self.navibar(d)'], 'page': <MoinMoin.Page.Page object>, 'page_find_page': u'SeiteFinden', 'page_front_page': u'STZ-Softwaretechnik', 'page_help_contents': u'HilfeInhalt', ...}
   5.

      /server/wikis/farm/stz-swt/data/plugin/theme/explorer.py in header (self=<stz-swt.plugin.theme.explorer.Theme instance>, d={'available_actions': ['use self.request.availableActions(page)'], 'home_page': ('UserWiki', u'RalfGross'), 'last_edit_info': {'editor': u'<span title="RalfGross @ C59VRSBB.rd.corpintra.n...orpintra.net[53.61.212.243]">RalfGross</a></span>', 'time': '2008-03-20 11:29:29'}, 'logo_string': u'<img src="/wikifarm/common/stzLogo.png" alt="STZ-SWT" Logo">', 'msg': u'Danke f\xfcr die \xc4nderung und die Sorgfalt beim Edi...Cervicek: E-Mail wurde erfolgreich versandt\n</p> ', 'navibar': ['use self.navibar(d)'], 'page': <MoinMoin.Page.Page object>, 'page_find_page': u'SeiteFinden', 'page_front_page': u'STZ-Softwaretechnik', 'page_help_contents': u'HilfeInhalt', ...}, **kw={})
         1. 168 """
         2. 169 # Init the wiki tree
         3. 170 self.wiki_tree = WikiTree(self, d)
         4. 171 self.page = d['page']
         5. 172 self.page_name = d['page_name']
          * self = <stz-swt.plugin.theme.explorer.Theme instance>
          * self.wiki_tree undefined
          * global WikiTree = <class stz-swt.plugin.theme.explorer.WikiTree>
          * d = {'available_actions': ['use self.request.availableActions(page)'], 'home_page': ('UserWiki', u'RalfGross'), 'last_edit_info': {'editor': u'<span title="RalfGross @ C59VRSBB.rd.corpintra.n...orpintra.net[53.61.212.243]">RalfGross</a></span>', 'time': '2008-03-20 11:29:29'}, 'logo_string': u'<img src="/wikifarm/common/stzLogo.png" alt="STZ-SWT" Logo">', 'msg': u'Danke f\xfcr die \xc4nderung und die Sorgfalt beim Edi...Cervicek: E-Mail wurde erfolgreich versandt\n</p> ', 'navibar': ['use self.navibar(d)'], 'page': <MoinMoin.Page.Page object>, 'page_find_page': u'SeiteFinden', 'page_front_page': u'STZ-Softwaretechnik', 'page_help_contents': u'HilfeInhalt', ...}
   6.

      /server/wikis/farm/stz-swt/data/plugin/theme/explorer.py in __init__ (self=<stz-swt.plugin.theme.explorer.WikiTree instance>, theme=<stz-swt.plugin.theme.explorer.Theme instance>, d={'available_actions': ['use self.request.availableActions(page)'], 'home_page': ('UserWiki', u'RalfGross'), 'last_edit_info': {'editor': u'<span title="RalfGross @ C59VRSBB.rd.corpintra.n...orpintra.net[53.61.212.243]">RalfGross</a></span>', 'time': '2008-03-20 11:29:29'}, 'logo_string': u'<img src="/wikifarm/common/stzLogo.png" alt="STZ-SWT" Logo">', 'msg': u'Danke f\xfcr die \xc4nderung und die Sorgfalt beim Edi...Cervicek: E-Mail wurde erfolgreich versandt\n</p> ', 'navibar': ['use self.navibar(d)'], 'page': <MoinMoin.Page.Page object>, 'page_find_page': u'SeiteFinden', 'page_front_page': u'STZ-Softwaretechnik', 'page_help_contents': u'HilfeInhalt', ...})
         1. 739 [ self.log_pos, self.wiki_tree, self.type_counts, self.total_size,
         2. 740 self.root, self.root_category,
         3. 741 self.orphaned, self.orphaned_category,
         4. 742 self.missing, self.missing_category,
         5. 743 self.underlay, self.underlay_category,
          * self = <stz-swt.plugin.theme.explorer.WikiTree instance>
          * self.orphaned = u'CategoryOrphaned'
          * self.orphaned_category = <stz-swt.plugin.theme.explorer.WikiNode instance>
   7.

      /server/wikis/farm/stz-swt/data/plugin/theme/explorer.py in refresh_wiki_tree (self=<stz-swt.plugin.theme.explorer.WikiTree instance>)
         1. 766 elog = self.request.editlog
         2. 767 old_pos = self.log_pos
         3. 768 new_pos, items = elog.news(old_pos)
         4. 769 if self.request.action == 'refresh':
         5. 770 if self.page_name not in items:
          * new_pos = 18772
          * items = [u'Intern/Besprechungen/2008-03-19_WikiAnregungen', u'Dokumentation/Anwendungen', u'Dokumentation/Anwendungen/SSL', u'Dokumentation/Anwendungen/SSL']
          * elog = <MoinMoin.logfile.editlog.EditLog instance>
          * elog.news = <bound method EditLog.news of <MoinMoin.logfile.editlog.EditLog instance>>
          * old_pos = 18197
   8.

      /server/wikis/farm/stz-swt/data/plugin/theme/explorer.py in finalize_touched (self=<stz-swt.plugin.theme.explorer.WikiTree instance>)
         1. 931 """ Calculate totals, prepare the html code for each node
         2. 932 that has changed (these nodes are stored in the touched set)
         3. 933 """
         4. 934 first_step_touched = self.touched
         5. 935 self.touched = set([])
          * Finalize undefined
          * the undefined
          * wiki undefined
          * tree undefined
          * node undefined
   9.

      /server/wikis/farm/stz-swt/data/plugin/theme/explorer.py in finalize_node (self=<stz-swt.plugin.theme.explorer.WikiTree instance>, node_name=u'Intern/Besprechungen')
         1. 972 # Page is orphaned but not root, add it to orphaned category
         2. 973 self.add_to_parent(node, self.orphaned)
         3. 974 if node_name == self.orphaned:
         4. 975 # If orphaned category is orphaned add it to root
         5. 976 self.add_to_parent(node, self.root)
          * node_name = u'Intern/Besprechungen'
          * self = <stz-swt.plugin.theme.explorer.WikiTree instance>
          * self.orphaned = u'CategoryOrphaned'
  10.

      /server/wikis/farm/stz-swt/data/plugin/theme/explorer.py in node_description (self=<stz-swt.plugin.theme.explorer.WikiTree instance>, node=<stz-swt.plugin.theme.explorer.WikiNode instance>, include_name=1, separator=u', ')
         1. 998 attachments_count = node.attachments_count
         2. 999 total_size = node.subnodes_size + node.size
         3. 1000 if include_name: # Should the node name be displayed?
         4. 1001 description = u'%s: ' % node.display_name
         5. 1002 _ = self.ui_text
          * include_name = 1
  11.

      /server/wikis/farm/stz-swt/data/plugin/theme/explorer.py in human_readable_size (self=<stz-swt.plugin.theme.explorer.WikiTree instance>, size=-3185)
         1. 1019 @rtype: unicode
         2. 1020 @return: html describing the file size
         3. 1021 """
         4. 1022 if size == 0:
         5. 1023 return u'0&nbsp;Bytes'
          * Build undefined
          * the undefined
          * html undefined
          * code undefined
          * of undefined
          * wiki undefined
          * tree undefined

ValueError

math domain error

    * args = ('math domain error',)

System Details

    * Date: Thu, 20 Mar 2008 11:29:29 +0000
    * Platform: Linux VU0EM003 2.6.18-6-amd64 #1 SMP Sun Feb 10 17:50:19 UTC 2008 x86_64
    * Python: Python 2.4.4 (/server/wikis/cgi-bin/)
    * MoinMoin: Release 1.6.0 (release)

-- Ralf Groß 2008-03-20 12:35:00

MoinMoin: ThemeMarket/Explorer/Fixed/math domain error (last edited 2008-03-21 13:01:26 by WolfgangFischer)