Opened 18 years ago
Closed 18 years ago
#1264 closed defect (fixed)
module' object has no attribute 'execute'
Reported by: | anonymous | Owned by: | arkemp |
---|---|---|---|
Priority: | normal | Component: | DiaViewPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
I have saved DiaView.py into my /usr/share/trac/wiki-macros directory. I attached TracTest.dia to a page but [DiaView(TracTest.dia)]]]
generates the following error:
Error: Macro DiaView(TracTest.dia) failed 'module' object has no attribute 'execute'
I am using Trac 0.10.2.
Attachments (0)
Change History (4)
comment:2 Changed 18 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
I try to put DiaView.py in /usr/local/share/trac/plugins /usr/local/share/trac/wiki-macros projectdir/plugins projectdir/wiki-macros
restart web server
by always see
Error: Failed to load processor DiaView
No macro named DiaView? found
comment:3 Changed 18 years ago by
hmmm... On my machine (CentOS/RHEL), contrary to my prior statement, DiaView is in /opt/web/trac/plugins, not in /usr/local/trac/share/.../plugins. Sorry for the misdirection...
FYI: I'm on Trac 10.3.
comment:4 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |