Collections of Problems found when playing with moin/2.0-storage-dom-bblank:

Traceback when rendering HelpOnMoinWikiSyntax

  File "/home/tw/w/mm20storagedom/MoinMoin/converter2/moinwiki_in.py", line 184, in __call__
    body = self.parse_block(iter_content, arguments)
  File "/home/tw/w/mm20storagedom/MoinMoin/converter2/moinwiki_in.py", line 951, in parse_block
    self.indent_repl(iter_content, stack, line, **data)
  File "/home/tw/w/mm20storagedom/MoinMoin/converter2/moinwiki_in.py", line 529, in indent_repl
    self._apply(match, 'block', it, new_stack)
  File "/home/tw/w/mm20storagedom/MoinMoin/converter2/moinwiki_in.py", line 934, in _apply
    getattr(self, '%s_%s_repl' % (prefix, match.lastgroup))(*args, **data)
  File "/home/tw/w/mm20storagedom/MoinMoin/converter2/moinwiki_in.py", line 338, in block_nowiki_repl
    doc = converter(self.request)(lines, args)
TypeError: __call__() takes exactly 2 arguments (3 given)

Traceback when saving contents of HelpOnCreoleSyntax into a new creole-type item

  File "/home/tw/w/mm20storagedom/MoinMoin/items/__init__.py", line 549, in do_show
    data_rendered=self._render_data()
  File "/home/tw/w/mm20storagedom/MoinMoin/items/__init__.py", line 1034, in _render_data
    doc = InputConverter(request)(self.data_storage_to_internal(self.data).split(u'\n'))
  File "/home/tw/w/mm20storagedom/MoinMoin/converter2/creole_in.py", line 117, in __call__
    body = self.parse_block(iter_content, arguments)
  File "/home/tw/w/mm20storagedom/MoinMoin/converter2/creole_in.py", line 677, in parse_block
    self._apply(match, 'block', iter_content, stack)
  File "/home/tw/w/mm20storagedom/MoinMoin/converter2/creole_in.py", line 655, in _apply
    getattr(self, '%s_%s_repl' % (prefix, match.lastgroup))(*args, **data)
  File "/home/tw/w/mm20storagedom/MoinMoin/converter2/creole_in.py", line 354, in block_text_repl
    self.parse_inline(text, stack)
  File "/home/tw/w/mm20storagedom/MoinMoin/converter2/creole_in.py", line 690, in parse_inline
    self._apply(match, 'inline', stack)
  File "/home/tw/w/mm20storagedom/MoinMoin/converter2/creole_in.py", line 655, in _apply
    getattr(self, '%s_%s_repl' % (prefix, match.lastgroup))(*args, **data)
  File "/home/tw/w/mm20storagedom/MoinMoin/converter2/creole_in.py", line 444, in inline_macro_repl
    elem = self.macro(macro_name, macro_args, macro)
  File "/home/tw/w/mm20storagedom/MoinMoin/converter2/_wiki_macro.py", line 114, in macro
    return func(args, text, context_block)
  File "/home/tw/w/mm20storagedom/MoinMoin/converter2/_wiki_macro.py", line 29, in _FootNote_repl
    text = self.macro_text(' '.join(args.positional))
  File "/home/tw/w/mm20storagedom/MoinMoin/converter2/creole_in.py", line 658, in macro_text
    conv = self.__class__(self.request, None)

Anchor macro

<<Anchor: execution failed [macro() takes at most 2 arguments (5 given)] (see also the log)>>

Traceback (most recent call last):
  File "/home/tw/w/mm20storagedom/MoinMoin/converter2/macro.py", line 108, in _handle_macro_new
    ret = macro((), args, page, alt, context_block)
  File "/home/tw/w/mm20storagedom/MoinMoin/macro2/_base.py", line 48, in __call__
    ret = self.macro(content, arguments, page_url, alternative)
TypeError: macro() takes at most 2 arguments (5 given)

Smileys

Doesn't work:

/!\ Alert

Traceback on HelpOnMacros

  File "/home/tw/w/mm20storagedom/MoinMoin/items/__init__.py", line 1034, in _render_data
    doc = InputConverter(request)(self.data_storage_to_internal(self.data).split(u'\n'))
  File "/home/tw/w/mm20storagedom/MoinMoin/converter2/moinwiki_in.py", line 184, in __call__
    body = self.parse_block(iter_content, arguments)
  File "/home/tw/w/mm20storagedom/MoinMoin/converter2/moinwiki_in.py", line 951, in parse_block
    self.indent_repl(iter_content, stack, line, **data)
  File "/home/tw/w/mm20storagedom/MoinMoin/converter2/moinwiki_in.py", line 529, in indent_repl
    self._apply(match, 'block', it, new_stack)
  File "/home/tw/w/mm20storagedom/MoinMoin/converter2/moinwiki_in.py", line 934, in _apply
    getattr(self, '%s_%s_repl' % (prefix, match.lastgroup))(*args, **data)
  File "/home/tw/w/mm20storagedom/MoinMoin/converter2/moinwiki_in.py", line 256, in block_macro_repl
    elem = self.macro(macro_name, macro_args, macro, True)
  File "/home/tw/w/mm20storagedom/MoinMoin/converter2/_wiki_macro.py", line 114, in macro
    return func(args, text, context_block)
  File "/home/tw/w/mm20storagedom/MoinMoin/converter2/_wiki_macro.py", line 29, in _FootNote_repl
    text = self.macro_text(' '.join(args.positional))
AttributeError: 'unicode' object has no attribute 'positional'

MoinMoin: 2.0DomBugs (last edited 2009-12-28 15:37:27 by ThomasWaldmann)