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
