Modify ↓
Opened 13 years ago
Last modified 11 years ago
#10859 new defect
Error: Macro DiaVisView(net_diagram2.2.dia) failed No such file or directory
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | DiaVisViewPlugin |
| Severity: | normal | Keywords: | |
| Cc: | alillards | Trac Release: | 0.12 |
Description (last modified by )
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:
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!
Attachments (2)
Change History (6)
Changed 13 years ago by
| Attachment: | net_diagram.dia added |
|---|
Changed 13 years ago by
| Attachment: | net_diagram2.dia added |
|---|
comment:1 Changed 13 years ago by
| Cc: | anonymous added; manolowolder removed |
|---|
comment:2 Changed 13 years ago by
| Description: | modified (diff) |
|---|
comment:3 Changed 13 years ago by
| Cc: | alillards added; anonymous removed |
|---|
comment:4 Changed 11 years ago by
| Owner: | robert_martin deleted |
|---|
Note: See
TracTickets for help on using
tickets.


