Modify

Opened 5 years ago

Closed 4 years ago

#6247 closed defect (fixed)

Exception upon execution of macro tracflashembed

Reported by: anonymous Owned by: rudyryk
Priority: normal Component: FlashEmbedMacro
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Using Trac 0.11.5 under Mac OS X 10.5.8, Python 2.5.1.

2009-11-23 20:08:47,643 Trac[formatter] DEBUG: Executing Wiki macro Embed by provider <tracflashembed.macros.EmbedMacro object at 0x29dacd0>
2009-11-23 20:08:47,647 Trac[formatter] ERROR: Macro Embed(swf=checkout.swf,w=500,h=400) failed: 
Traceback (most recent call last):
  File "/Library/Python/2.5/site-packages/Trac-0.11.5-py2.5.egg/trac/wiki/formatter.py", line 480, in _macro_formatter
    return macro.process(args, in_paragraph=True)
  File "/Library/Python/2.5/site-packages/Trac-0.11.5-py2.5.egg/trac/wiki/formatter.py", line 180, in process
    text = self.processor(text)
  File "/Library/Python/2.5/site-packages/Trac-0.11.5-py2.5.egg/trac/wiki/formatter.py", line 167, in _macro_processor
    text)
  File "build/bdist.macosx-10.5-i386/egg/tracflashembed/macros.py", line 55, in expand_macro
    return embed_swf(formatter, params)
  File "build/bdist.macosx-10.5-i386/egg/tracflashembed/macros.py", line 101, in embed_swf
    url = '/raw-' + url.attrib.get('href')[1:]
AttributeError: 'Fragment' object has no attribute 'attrib'
2009-11-23 20:08:47,658 Trac[api] DEBUG: Updating wiki page index

Attachments (0)

Change History (2)

comment:1 Changed 4 years ago by rudyryk

fixed. patch provided in #6258, applied in r7800

comment:2 Changed 4 years ago by rudyryk

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from rudyryk. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.