Edgewall Software

Opened 6 years ago

Closed 6 years ago

#12800 closed defect (fixed)

AttributeError: 'int' object has no attribute 'upper'

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


Regression in r15812, I overlooked a non-dictionary use of keys in my global search and delete. I'll add test coverage.

[pid 13869 140669748643584] 2017-05-08 08:11:15,519 Trac[formatter] ERROR: Macro InterWiki(None) failed:
Traceback (most recent call last):
  File "/usr/local/virtualenv/1.3dev/lib/python2.7/site-packages/trac/wiki/formatter.py", line 796, in _macro_formatter
    return macro.ensure_inline(macro.process(args))
  File "/usr/local/virtualenv/1.3dev/lib/python2.7/site-packages/trac/wiki/formatter.py", line 372, in process
    text = self.processor(text)
  File "/usr/local/virtualenv/1.3dev/lib/python2.7/site-packages/trac/wiki/formatter.py", line 344, in _macro_processor
  File "/usr/local/virtualenv/1.3dev/lib/python2.7/site-packages/trac/wiki/interwiki.py", line 170, in expand_macro
    for k in sorted(self):
  File "/usr/local/virtualenv/1.3dev/lib/python2.7/site-packages/trac/wiki/interwiki.py", line 61, in __getitem__
    return self.interwiki_map[ns.upper()]
AttributeError: 'int' object has no attribute 'upper'

Attachments (0)

Change History (1)

comment:1 by Ryan J Ollos, 6 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r15878.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Ryan J Ollos to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.