Modify

Opened 12 years ago

Last modified 10 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 Ryan J Ollos)

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!

Attachments (2)

net_diagram.dia (797 bytes) - added by anonymous 12 years ago.
net_diagram2.dia (4.1 KB) - added by anonymous 12 years ago.

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by anonymous

Attachment: net_diagram.dia added

Changed 12 years ago by anonymous

Attachment: net_diagram2.dia added

comment:1 Changed 12 years ago by anonymous

Cc: anonymous added; manolowolder removed

comment:2 Changed 12 years ago by Ryan J Ollos

Description: modified (diff)

comment:3 Changed 12 years ago by alillards

Cc: alillards added; anonymous removed

comment:4 Changed 10 years ago by Ryan J Ollos

Owner: robert_martin deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


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

 
Note: See TracTickets for help on using tickets.