Edgewall Software

Opened 7 years ago

Last modified 5 years ago

#12673 closed defect

AttributeError: 'NoneType' object has no attribute 'upper' — at Initial Version

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: 1.0.14
Component: wiki system Version:
Severity: normal Keywords: imagemacro
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

2017-01-25 23:39:27,421 Trac[formatter] ERROR: Macro Image( ) failed:
Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/trac/wiki/formatter.py", line 802, in _macro_formatter
    return macro.ensure_inline(macro.process(args))
  File "build/bdist.linux-x86_64/egg/trac/wiki/formatter.py", line 379, in process
    text = self.processor(text)
  File "build/bdist.linux-x86_64/egg/trac/wiki/formatter.py", line 351, in _macro_processor
    text)
  File "build/bdist.linux-x86_64/egg/trac/wiki/macros.py", line 622, in expand_macro
    elif realm in interwikimap:
  File "build/bdist.linux-x86_64/egg/trac/wiki/interwiki.py", line 59, in __contains__
    return ns.upper() in self.interwiki_map
AttributeError: 'NoneType' object has no attribute 'upper'

Issue confirmed to exist on trunk with [[Image( )]].

Change History (0)

Note: See TracTickets for help on using tickets.