<div dir="ltr"><div>I think I have figured out what is happening (bearing in mind that I never read a perl script before a few days ago and I am not a programmer, so be indulgent!):</div>
<div> </div>
<div>In tilesgen.pl at around line 1565 it calls </div>
<div>><font color="#b22200" size="2"><font color="#b22200" size="2">(</font></font><font color="#a000f0" size="2"><font color="#a000f0" size="2">undef</font></font><font color="#b22200" size="2"><font color="#b22200" size="2">, </font></font><font size="2">$</font><font color="#a000f0" size="2"><font color="#a000f0" size="2">stdOut</font></font><font color="#b22200" size="2"><font color="#b22200" size="2">) = </font></font><font size="2">tempfile</font><font color="#b22200" size="2"><font color="#b22200" size="2">(</font></font><font color="#0000ff" size="2"><font color="#0000ff" size="2">"$PID-XXXXXX"</font></font><font color="#b22200" size="2"><font color="#b22200" size="2">, </font></font><font size="2">DIR </font><font color="#b22200" size="2"><font color="#b22200" size="2">=> </font></font><font size="2">$</font><font color="#a000f0" size="2"><font color="#a000f0" size="2">Config</font></font><font color="#b22200" size="2"><font color="#b22200" size="2">-></font></font><font size="2">get</font><font color="#b22200" size="2"><font color="#b22200" size="2">(</font></font><font color="#0000ff" size="2"><font color="#0000ff" size="2">"WorkingDirectory"</font></font><font color="#b22200" size="2"><font color="#b22200" size="2">), </font></font><font size="2">SUFFIX </font><font color="#b22200" size="2"><font color="#b22200" size="2">=> </font></font><font color="#0000ff" size="2"><font color="#0000ff" size="2">".stdout"</font></font><font color="#b22200" size="2"><font color="#b22200" size="2">, </font></font><font size="2">OPEN </font><font color="#b22200" size="2"><font color="#b22200" size="2">=> </font></font><font color="#a02000" size="2"><font color="#a02000" size="2">0</font></font><font color="#b22200" size="2"><font color="#b22200" size="2">);</font></font></div>

<div><font color="#b22200"></font> </div>
<div> </div>
<div><font color="#b22200"><font color="#000000">and we eventually end up in <a href="http://temp.pm">temp.pm</a> around line 444</font></font></div>
<div> </div>
<div>>unless (-w $parent) {</div>
<div>>                ${$options{ErrStr}} = "Parent directory ($parent) is not writable\n";</div>
<div>>                return ();</div>
<div> </div>
<div>At this point it has created a directory (c:\tahtemp\<$PID>),  this test fails and kaboom.</div>
<div> </div>
<div>Interestingly if I set "WorkingDirectory" in tilesAtHome.conf to "c:\tilesathome\temp" instead of "c:\tahtemp" it works just fine.  Although both directories appear to have the same settings.</div>

<div> </div>
<div>When I examine the $PID-directories in Windows Explorer they are set to read-only with both settings of WorkingDirectory......</div>
<div> </div>
<div>I am running Vista and tried running tilesgen.pl as administrator to no avail.</div>
<div> </div>
<div>So I have figured out how to work around the problem, don't set the workingdirectory immediately off the root.  Don't ask me why....</div>
<div> </div>
<div>Regards</div>
<div> </div>
<div>Phil</div>
<div> </div>
<div><font color="#b22200"></font> </div>
<div> </div>
<div>No the directoryhad lots of space.<br></div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Date: Sat, 26 Jul 2008 02:25:20 -0400<br>From: Matthias Julius <<a href="mailto:lists@julius-net.net" target="_blank">lists@julius-net.net</a>><br>
Subject: Re: [Tilesathome] Beziercurvehinting problem<br>To: <a href="mailto:tilesathome@openstreetmap.org" target="_blank">tilesathome@openstreetmap.org</a><br>Message-ID: <<a href="mailto:87tzedf9gv.fsf@julius-net.net" target="_blank">87tzedf9gv.fsf@julius-net.net</a>><br>
Content-Type: text/plain; charset=us-ascii<br><br>"Philip Shipley" <<a href="mailto:phil@barby.net" target="_blank">phil@barby.net</a>> writes:<br><br>>  Hi,<br>><br>> Trying to get Tah client running and having some difficulties.....  Any<br>
> ideas?<br>><br>> - Using working directory C:\tahtemp\<br>> - Using process log file tah-process.log<br>> - Uploading with username "<a href="mailto:phil@barby.net" target="_blank">phil@barby.net</a>"<br>
> - Configured Layer: captionless<br>> - Configured Layer: tile<br>> - Configured Layer: maplint<br>> - zip is present<br>> - Inkscape version 0.46<br>> - rendering using Osmarender/XSLT<br>> - xmlstarlet version 1.0.1<br>
> - going to use pngcrush<br>> - Pngcrush version 1.6.4<br>> ! Can't find pngnq (using "pngnq")<br>> - Using <a href="http://tah.openstreetmap.org/Request/take/" target="_blank">http://tah.openstreetmap.org/Request/take/</a> for Requests<br>
> This is version 9284 (Quickborn) of tilesgen running on MSWin32<br>>  [#0 0% ] Got work from the "" server module...<br>> [#1 0% jobinit] Doing tileset 2324,1025 (zoom 12) (area around<br>> 66.460657,24.301758)<br>
>  [#1 0% Preproc] Downloading: Map data for tile,maplint,captionless to<br>> C:\tahtemp\data-7020-1.osm...<br>> [#1 0% Preproc] Checking for UTF-8 errors in C:\tahtemp\data-7020.osm...<br>> [#1 0% tile] Running close-areas...<br>
> [#1 0% tile] Running attribution...<br>> [#1 0% tile] Transforming zoom level 12 with XSLT...<br>> [#1 0% tile] Beziercurvehinting zoom level 12...<br>> [#1 0% tile] Transforming zoom level 13 with XSLT...<br>
> [#1 0% tile] Beziercurvehinting zoom level 13...<br>> [#1 0% tile] Transforming zoom level 14 with XSLT...<br>> [#1 0% tile] Beziercurvehinting zoom level 14...<br>> [#1 0% tile] Transforming zoom level 15 with XSLT...<br>
> [#1 0% tile] Beziercurvehinting zoom level 15...<br>> [#1 0% tile] Transforming zoom level 16 with XSLT...<br>> [#1 0% tile] Beziercurvehinting zoom level 16...<br>> [#1 0% tile] Transforming zoom level 17 with XSLT...<br>
> [#1 0% tile] Beziercurvehinting zoom level 17... Error in tempfile() using<br>> C:\tahtemp\7020-XXXXXX.stdout: Parent directory (C:\tahtemp\) is not<br>> writable<br>> at C:/TilesAtHome/tilesAtHome/tilesGen.pl line 1565<br>
<br>Is it full?<br><br>Matthias<br><br><br><br>------------------------------<br><br>_______________________________________________<br>Tilesathome mailing list<br><a href="mailto:Tilesathome@openstreetmap.org" target="_blank">Tilesathome@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/tilesathome" target="_blank">http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/tilesathome</a><br><br><br>End of Tilesathome Digest, Vol 15, Issue 30<br>
*******************************************<br></blockquote></div><br><br clear="all"><br>-- <br>Regards<br><br>Phil<br></div>