Modify

Opened 5 years ago

Closed 5 years ago

#13546 closed defect (fixed)

Error: int object has no attribute replace

Reported by: anonymous Owned by: tkob-trac
Priority: normal Component: MermaidMacro
Severity: normal Keywords:
Cc: Trac Release:

Description (last modified by Jun Omae)

72.22.109.171 - - [28/Mar/2019 13:43:47] "POST /login HTTP/1.1" 303 -
:43:47 PM Trac[formatter] ERROR: Processor Mermaid failed for <Resource u'wiki:Prog18q1@2'>

Traceback (most recent call last):
  File "c:\python27\lib\site-packages\trac\wiki\formatter.py", line 1201, in _exec_processor
    return processor.process(text)
  File "c:\python27\lib\site-packages\trac\wiki\formatter.py", line 382, in process
    text = self.processor(text)
  File "c:\python27\lib\site-packages\trac\wiki\formatter.py", line 351, in _macro_processor
    text, self.args)
  File "build\bdist.win-amd64\egg\tracmermaid\mermaid.py", line 66, in expand_macro
    escape(context.resource.version or ''),
  File "c:\python27\lib\site-packages\genshi\core.py", line 519, in escape
    text = text.replace('&', '&amp;') \
AttributeError: 'int' object has no attribute 'replace'

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by Jun Omae

Description: modified (diff)

comment:2 Changed 5 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

In 17355:

Fix Error: int object has no attribute replace

Fixes #13546.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain tkob-trac.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.