On Tue, 2005-03-29 at 06:27 -0500, R. Alan Monroe wrote:
I tried briefly to monkey with that inx file too, on my Windows box. Do we need to do anything tricky to escape backslashes or anything? Also do you have a URL handy that breaks down what the various tags are in an inx file?
There shouldn't be any magic like escaping, atleast not more than a normal XML file. (The same XML parser is used internally for the .inx files and .svg files). Unfortunately the format is pretty immature right now. The best documentation is here:
After a little investigation, I think this is a path problem of some kind.
My %PATH% was:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared;C:\Program Files\Common Files\Adaptec Shared\System;c:\python23;C:\Program Files\Executive Software\Diskeeper;C:\PROGRA~1\CHEZSC~1\csv6.9c\i3nt; C:\PROGRA~1\Tcl\bin
I tried two approaches to see what happened. First I opened a cmd prompt and tacked on my ghostscript path (c:\utils\gs\gs8.50\bin) to the %PATH% variable.
Later I tried adding the ghostscript bin folder in the system-wide environment variables under My Computer's properties.
In both cases I tracked what inkscape did at launch time with Sysinternals Filemon. It looked for gswin32.exe in every folder EXCEPT the newly-added ghostscript folder (It stops looking, after trying the last folder in the OLD path, the TCL bin folder). I can't explain WHY this happens, but it seems repeatable. I have not yet rebooted to see if that makes a difference. Will try that next.
804 8:59:48 PM inkscape.exe:3456 QUERY INFORMATION C:\WINDOWS\system32\gswin32.exe FILE NOT FOUND Attributes: Error 805 8:59:48 PM inkscape.exe:3456 OPEN C:\WINDOWS\system32\ SUCCESS Options: Open Directory Access: All 806 8:59:48 PM inkscape.exe:3456 DIRECTORY C:\WINDOWS\system32\ NO SUCH FILE FileBothDirectoryInformation: gswin32.exe 807 8:59:48 PM inkscape.exe:3456 CLOSE C:\WINDOWS\system32\ SUCCESS 808 8:59:48 PM inkscape.exe:3456 QUERY INFORMATION C:\WINDOWS\gswin32.exe FILE NOT FOUND Attributes: Error 809 8:59:48 PM inkscape.exe:3456 OPEN C:\WINDOWS\ SUCCESS Options: Open Directory Access: All 810 8:59:48 PM inkscape.exe:3456 DIRECTORY C:\WINDOWS\ NO SUCH FILE FileBothDirectoryInformation: gswin32.exe 811 8:59:48 PM inkscape.exe:3456 CLOSE C:\WINDOWS\ SUCCESS 812 8:59:48 PM inkscape.exe:3456 QUERY INFORMATION C:\WINDOWS\System32\Wbem\gswin32.exe FILE NOT FOUND Attributes: Error 813 8:59:48 PM inkscape.exe:3456 OPEN C:\WINDOWS\System32\Wbem\ SUCCESS Options: Open Directory Access: All 814 8:59:48 PM inkscape.exe:3456 DIRECTORY C:\WINDOWS\System32\Wbem\ NO SUCH FILE FileBothDirectoryInformation: gswin32.exe 815 8:59:48 PM inkscape.exe:3456 CLOSE C:\WINDOWS\System32\Wbem\ SUCCESS 816 8:59:48 PM inkscape.exe:3456 QUERY INFORMATION C:\Program Files\Common Files\Roxio Shared\DLLShared\gswin32.exe FILE NOT FOUND Attributes: Error 817 8:59:48 PM inkscape.exe:3456 OPEN C:\Program Files\Common Files\Roxio Shared\DLLShared\ SUCCESS Options: Open Directory Access: All 818 8:59:48 PM inkscape.exe:3456 DIRECTORY C:\Program Files\Common Files\Roxio Shared\DLLShared\ NO SUCH FILE FileBothDirectoryInformation: gswin32.exe 819 8:59:48 PM inkscape.exe:3456 CLOSE C:\Program Files\Common Files\Roxio Shared\DLLShared\ SUCCESS 820 8:59:48 PM inkscape.exe:3456 QUERY INFORMATION C:\Program Files\Common Files\Adaptec Shared\System\gswin32.exe FILE NOT FOUND Attributes: Error 821 8:59:48 PM inkscape.exe:3456 OPEN C:\Program Files\Common Files\Adaptec Shared\System\ SUCCESS Options: Open Directory Access: All 822 8:59:48 PM inkscape.exe:3456 DIRECTORY C:\Program Files\Common Files\Adaptec Shared\System\ NO SUCH FILE FileBothDirectoryInformation: gswin32.exe 823 8:59:48 PM inkscape.exe:3456 CLOSE C:\Program Files\Common Files\Adaptec Shared\System\ SUCCESS 824 8:59:48 PM inkscape.exe:3456 QUERY INFORMATION C:\python23\gswin32.exe FILE NOT FOUND Attributes: Error 825 8:59:48 PM inkscape.exe:3456 OPEN C:\python23\ SUCCESS Options: Open Directory Access: All 826 8:59:48 PM inkscape.exe:3456 DIRECTORY C:\python23\ NO SUCH FILE FileBothDirectoryInformation: gswin32.exe 827 8:59:48 PM inkscape.exe:3456 CLOSE C:\python23\ SUCCESS 828 8:59:48 PM inkscape.exe:3456 QUERY INFORMATION C:\Program Files\Executive Software\Diskeeper\gswin32.exe FILE NOT FOUND Attributes: Error 829 8:59:48 PM inkscape.exe:3456 OPEN C:\Program Files\Executive Software\Diskeeper\ SUCCESS Options: Open Directory Access: All 830 8:59:48 PM inkscape.exe:3456 DIRECTORY C:\Program Files\Executive Software\Diskeeper\ NO SUCH FILE FileBothDirectoryInformation: gswin32.exe 831 8:59:48 PM inkscape.exe:3456 CLOSE C:\Program Files\Executive Software\Diskeeper\ SUCCESS 832 8:59:48 PM inkscape.exe:3456 QUERY INFORMATION C:\PROGRA~1\CHEZSC~1\csv6.9c\i3nt\gswin32.exe FILE NOT FOUND Attributes: Error 833 8:59:48 PM inkscape.exe:3456 OPEN C:\PROGRA~1\CHEZSC~1\csv6.9c\i3nt\ SUCCESS Options: Open Directory Access: All 834 8:59:48 PM inkscape.exe:3456 DIRECTORY C:\PROGRA~1\CHEZSC~1\csv6.9c\i3nt\ NO SUCH FILE FileBothDirectoryInformation: gswin32.exe 835 8:59:48 PM inkscape.exe:3456 CLOSE C:\PROGRA~1\CHEZSC~1\csv6.9c\i3nt\ SUCCESS 836 8:59:48 PM inkscape.exe:3456 QUERY INFORMATION C:\PROGRA~1\Tcl\bin\gswin32.exe FILE NOT FOUND Attributes: Error 837 8:59:48 PM inkscape.exe:3456 OPEN C:\PROGRA~1\Tcl\bin\ SUCCESS Options: Open Directory Access: All 838 8:59:48 PM inkscape.exe:3456 DIRECTORY C:\PROGRA~1\Tcl\bin\ NO SUCH FILE FileBothDirectoryInformation: gswin32.exe 839 8:59:48 PM inkscape.exe:3456 CLOSE C:\PROGRA~1\Tcl\bin\ SUCCESS 840 8:59:48 PM inkscape.exe:3456 WRITE C:\Documents and Settings\amonroe\Application Data\Inkscape\extension-errors.log SUCCESS Offset: 704 Length: 72