Hi.
First of all, congrats for this great pugin
I just installed the plugin, but cannot make it work.
When I try to insert a diagram using this macro:
{{{
[[DiaVisView(net_diagram.dia)]]
}}}
Instead of the diagram image I get a Red-box error saying:
Error: Macro DiaVisView(net_diagram2.2.dia) failed
No such file or directory
I also get this log:
OSError: [Errno 2] No such file or directory: 'TRACPATH/attachments/wiki/Name/net_diagram.png'
2013-02-07 18:13:55,094 Trac[formatter] ERROR: Macro DiaVisView(net_diagram.dia) failed:
Traceback (most recent call last):
File "build/bdist.linux-i686/egg/trac/wiki/formatter.py", line 717, in _macro_formatter
return macro.process(args, in_paragraph=True)
File "build/bdist.linux-i686/egg/trac/wiki/formatter.py", line 304, in process
text = self.processor(text)
File "build/bdist.linux-i686/egg/trac/wiki/formatter.py", line 291, in _macro_processor
text)
File "build/bdist.linux-i686/egg/DiaVisView/DiaVisView.py", line 173, in expand_macro
(png_file_size, png_file_time) = os.stat(png_path)[6:8]
OSError: [Errno 2] No such file or directory: 'TRACPATH/attachments/wiki/Name/net_diagram.png'
I have looked in the attachment path, TRACPATH/attachments/wiki/Name/, but only the dia files are present.
Please see the attached dia files, both with and without compression.
I have installed dia-0.97-2 and python-imaging-1.1.6-12.
Thanks!