My fix for all this was to change the entries in tilesathome.conf to their 8.3 counterparts. So c:\program files\inkscape\ becomes c:\progra~1\inkscape\.
If there aren't any spaces in the directory structure, then you don't need any quotes so you could install the necessary programs into directories that don't contain spaces as well. -Jeremy ----- Original Message ----- From: "Rob Reid" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, November 28, 2007 6:49 PM Subject: [Tilesathome] Possible inconsistency in handling of double quotes in tilesAtHome.conf on windows. > When recently installing [EMAIL PROTECTED] on Win XP, I encountered the > following problem with the handling of double quotes on the Inkscape > configuration setting in tilesATHome.conf. > > My Inkscape install is located in C:\Program Files\Inkscape\. > > From what I can work out with my non existent perl skills is that the > 'Inkscape=' conf setting is referenced twice. > > - Firstly in tahconfig.pm where its making sure Inkscape is available > and outputing the version info: > > tahconfig.pm(154): my $InkscapeV = `$Config->{Inkscape} --version`; > > In this case if your Inkscape path contains spaces you need to use > double quotes in the conf setting (e.g Inkscape="C:\Program > Files\Inkscape\inkscape.exe"). If you don't you get the error message > > 'C:\Program' is not recognized as an internal or external > command,operable program or batch file. > Can't find inkscape (using "C:\Program Files\Inkscape\inkscape.exe") > > - Secondly in tilesGen.pl where it constructs the command line to call > Inkscape to do it's thing: > > tilesGen.pl(1201): $Config{Inkscape}, > > In this case you can't use double quotes in the conf setting (e.g > Inkscape=C:\Program Files\Inkscape\inkscape.exe) or you get the > following error > > The following command produced an error message: > ""C:\Program Files\Inkscape\inkscape.exe"" -z -w 256 -h 256 > --export-area=0.000000:0.000000:878.9 > 10000:874.412471 > --export-png="C:\tiles_at_home\temp\2772\2772_part-rHMP44.png" > "C:\tiles_at_home\te > mp\output-2772-z12.svg" > C:\tiles_at_home\temp\2772-cSW3RD.stdout > Debug output follows: > | '""C:\Program' is not recognized as an internal or external > command, > | operable program or batch file. > > My quick dirty work around to get myself rendering was to create a 2nd > Inkscape entry in the conf file (eg Inkscape1), have one with double > quotes and one without and reference them where required. > > I'm afraid my perl skills are not up to fixing this. > > In terms of the other conf settings that contain paths under windows, > what's working for me is no double quotes on the working dir and double > quotes on everything else but not all my paths have spaces in them so > have not tested all possibilities. I can do if someone wants me to. > > Sorry if I'm posting to the wrong place, was not sure if I should be > going to trac somewhere or the Usability Reports page in the wiki. Let > me know and I will cross-post if required. > > Cheers > rcr > > > > _______________________________________________ > Tilesathome mailing list > [email protected] > http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/tilesathome > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.16.9/1157 - Release Date: > 11/28/2007 12:29 PM > > _______________________________________________ Tilesathome mailing list [email protected] http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/tilesathome
