Opened 7 years ago

Closed 7 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


I have saved 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:1 Changed 7 years ago by arkemp

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

I have saved DiaView?.py into my /usr/share/trac/wiki-macros directory.

DiaView is a plugin, rather than a Macro (I think). You should probably put into (on your machine) /usr/share/trac/plugins.

comment:2 Changed 7 years ago by Aramen

  • Resolution fixed deleted
  • Status changed from closed to reopened

I try to put in /usr/local/share/trac/plugins /usr/local/share/trac/wiki-macros

restart web server

by always see

Error: Failed to load processor DiaView

No macro named DiaView? found

comment:3 Changed 7 years ago by arkemp

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 7 years ago by anonymous

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

Add Comment

Modify Ticket

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

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

Note: See TracTickets for help on using tickets.