id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release 1773,Newer Versions Of Dia Need Different Options,bram@…,arkemp,"I use Ubuntu Server Feisty, Trac 0.10.3 and Dia version 0.96.1. Once I installed DiaViewPlugin and modified the TODO for the dia path my pages with dia attachments and Macro usage would only show the HTML image tag ""alt"" attribute text: {{{ JPG render of a DIA file. }}} In my trac.log file I would get the following: {{{ 2007-07-11 19:15:06,947 Trac[DiaView] INFO: New attachment: TracTest.png 2007-07-11 19:15:12,228 Trac[DiaView] INFO: Getting file modification times. 2007-07-11 19:15:12,229 Trac[DiaView] INFO: Comparing dia and png file modification times : 1184197913.0, 0 2007-07-11 19:15:12,229 Trac[DiaView] INFO: Running Dia : /usr/bin/dia -l --export-to-format=png --export=/home/trac/qcard/attachments/wiki/QcardAgi/TracTest.png /home/trac/qcard/attachments/wiki/QcardAgi/TracTest.dia 2007-07-11 19:15:12,249 Trac[DiaView] INFO: Exiting Dia 2007-07-11 19:15:12,760 Trac[main] WARNING: 500 Internal Server Error (500 Internal Server Error (Attachment TracTest.png not found)) }}} I decided to try the dia command from the command line and it failed as follows: {{{ bram@pyfool:/home/trac/qcard/plugins$ /usr/bin/dia -l --export-to-format=png --export=/home/trac/qcard/attachments/wiki/QcardAgi/TracTest.png /home/trac/qcard/attachments/wiki/QcardAgi/TracTest.dia Unknown option --export-to-format=png }}} This prompted me to /usr/bin/dia --help which pointed out an option change to replace {{{ --export-to-format=png }}} with {{{ --filter=png }}} After making this change things worked perfectly...well as far as I have tested. Maybe some type of dia version testing should be done to determine exactly which options should be used for the export. Thanks for the great plugin!",defect,closed,normal,DiaViewPlugin,normal,fixed,,,0.10