id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
10859	Error: Macro DiaVisView(net_diagram2.2.dia) failed No such file or directory	anonymous	robert_martin	Hi.\r\n\r\nFirst of all, congrats for this great pugin\r\nI just installed the plugin, but cannot make it work.\r\n\r\nWhen I try to insert a diagram using this macro:\r\n{{{\r\n{{{\r\n[[DiaVisView(net_diagram.dia)]]\r\n}}}\r\n}}}\r\nInstead of the diagram image I get a Red-box error saying:\r\n\r\n{{{\r\n#!html\r\n<div class="system-message">\r\nError: Macro DiaVisView(net_diagram2.2.dia) failed\r\nNo such file or directory\r\n</div>\r\n}}}\r\n\r\nI also get this log:\r\n\r\n{{{\r\nOSError: [Errno 2] No such file or directory: 'TRACPATH/attachments/wiki/Name/net_diagram.png'\r\n2013-02-07 18:13:55,094 Trac[formatter] ERROR: Macro DiaVisView(net_diagram.dia) failed: \r\nTraceback (most recent call last):\r\n  File "build/bdist.linux-i686/egg/trac/wiki/formatter.py", line 717, in _macro_formatter\r\n    return macro.process(args, in_paragraph=True)\r\n  File "build/bdist.linux-i686/egg/trac/wiki/formatter.py", line 304, in process\r\n    text = self.processor(text)\r\n  File "build/bdist.linux-i686/egg/trac/wiki/formatter.py", line 291, in _macro_processor\r\n    text)\r\n  File "build/bdist.linux-i686/egg/DiaVisView/DiaVisView.py", line 173, in expand_macro\r\n    (png_file_size, png_file_time) = os.stat(png_path)[6:8]\r\nOSError: [Errno 2] No such file or directory: 'TRACPATH/attachments/wiki/Name/net_diagram.png'\r\n}}}\r\n\r\nI have looked in the attachment path, TRACPATH/attachments/wiki/Name/, but only the dia files are present.\r\n\r\nPlease see the attached dia files, both with and without compression.\r\n\r\nI have installed dia-0.97-2 and python-imaging-1.1.6-12.\r\n\r\nThanks!\r\n	defect	new	normal	DiaVisViewPlugin	normal			alillards	0.12
