Opened 7 years ago

Last modified 7 years ago

#13195 closed defect

TypeError: startswith first arg must be str, unicode, or tuple, not bool — at Version 1

Reported by: Ryan J Ollos Owned by: Mikael Relbe
Priority: normal Component: WikiExtrasPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description (last modified by Ryan J Ollos)

Found in the logs:

2017-05-26 21:49:07,053 Trac[formatter] ERROR: Processor box failed:
Traceback (most recent call last):
  File "/srv/trac-hacks.org/pve/local/lib/python2.7/site-packages/trac/wiki/formatter.py", line 1197, in _exec_processor
    return processor.process(text)
  File "/srv/trac-hacks.org/pve/local/lib/python2.7/site-packages/trac/wiki/formatter.py", line 379, in process
    text = self.processor(text)
  File "/srv/trac-hacks.org/pve/local/lib/python2.7/site-packages/trac/wiki/formatter.py", line 348, in _macro_processor
    text, self.args)
  File "/srv/trac-hacks.org/pve/local/lib/python2.7/site-packages/tracwikiextras/boxes.py", line 385, in expand_macro
    type = self._get_type(type)
  File "/srv/trac-hacks.org/pve/local/lib/python2.7/site-packages/tracwikiextras/boxes.py", line 340, in _get_type
    if w.startswith(word):
TypeError: startswith first arg must be str, unicode, or tuple, not bool

Change History (1)

comment:1 Changed 7 years ago by Ryan J Ollos

Description: modified (diff)
Note: See TracTickets for help on using tickets.