Opened 12 years ago

Closed 11 years ago

#484 closed defect (wontfix)

AttributeError: href in during wiki view with LotusNotesPlugin

Reported by: uwe.belde@… Owned by: BryanTsai
Priority: normal Component: LotusNotesParserMacro
Severity: normal Keywords:
Cc: Trac Release: 0.10


I've got following tracebacl during wiki view:

Python Traceback

Traceback (most recent call last):
  File "c:\python23\Lib\site-packages\trac\web\", line 314, in dispatch_request
  File "c:\python23\Lib\site-packages\trac\web\", line 199, in dispatch
    resp = chosen_handler.process_request(req)
  File "build\bdist.win32\egg\tractags\", line 63, in process_request
  File "c:\python23\Lib\site-packages\trac\wiki\", line 133, in process_request
    self._render_view(req, db, page)
  File "c:\python23\Lib\site-packages\trac\wiki\", line 445, in _render_view
    req.hdf['wiki'] = {
  File "c:\python23\Lib\site-packages\trac\wiki\", line 987, in wiki_to_html
    Formatter(env, req, absurls, db).format(wikitext, out, escape_newlines)
  File "c:\python23\Lib\site-packages\trac\wiki\", line 784, in format
  File "c:\python23\Lib\site-packages\trac\wiki\", line 723, in handle_code_block
  File "c:\python23\Lib\site-packages\trac\wiki\", line 112, in process
    text = self.processor(req, text)
  File "c:\python23\Lib\site-packages\trac\wiki\", line 100, in _macro_processor
    return self.macro_provider.render_macro(req,, text)
  File "c:\python23\Lib\site-packages\trac\wiki\", line 481, in render_macro
    return module.execute(req and req.hdf, content, self.env)
  File "c:\python23\share\trac\wiki-macros\", line 13, in execute
    return parse(hdf, txt, env)
  File "c:\python23\share\trac\wiki-macros\", line 37, in parse
    return wiki_to_html(txt, env, hdf, env.get_db_cnx(), escape_newlines=True)
  File "c:\python23\Lib\site-packages\trac\wiki\", line 987, in wiki_to_html
    Formatter(env, req, absurls, db).format(wikitext, out, escape_newlines)
  File "c:\python23\Lib\site-packages\trac\wiki\", line 232, in __init__
    self.href = absurls and (req or env).abs_href or (req or env).href
  File "c:\python23\Lib\site-packages\trac\web\", line 140, in __getattr__
    return getattr(self.hdf, name)
AttributeError: href

Attachments (0)

Change History (3)

comment:1 Changed 12 years ago by BryanTsai

Status: newassigned

This error probably does not related to my code, but clearsilver. Could you provide the source text you're using?

comment:2 Changed 12 years ago by anonymous

Hi, this error reproduceable with any kind of text in braces, but this is ok:


Perhaps it is an issue with a modified prepocessor/mimeviewer in 0.10?
PS.: with version 0.10dev of april this year it was running ok.

comment:3 Changed 11 years ago by BryanTsai

Resolution: wontfix
Status: assignedclosed

I guess it is working for 0.10 release now.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain BryanTsai.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.