[Tilesathome] tah on WinXP Rev. 5714: Error deleting TempDir

Dirk-Lüder Kreie osm-list at deelkar.net
Mon Nov 26 11:48:23 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Florian Schmitt schrieb:
> Hi,
> 
> after updating my t at h installation on WinXP, tilesGen.pl fails when
> trying to delete the $tempdir on Line 1220 of tilesGen.pl. This seems to
> be caused by the failure to delete the $tempfile in Line 1219 / 215ff of
> tahlib.pm <http://tahlib.pm>. I wasn't able to find out why the
> temporary file isnt deleted with unlink, and i didn't find a way to
> force perl to delete the tempdir even when there's still a file there.
> Could anyone give me a hint how to do this on Windows? Thanks a lot!

Can you retry with current from svn? I added an explicit "OPEN => 0" to
the tempfile() call, to prevent auto-opening of the file, which might
have prevented proper deletion on windows, while on linux it seems it
was not auto-opened due to the "undef" in the call.

- --

Dirk-Lüder "Deelkar" Kreie
Bremen - 53.0952°N 8.8652°E

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHSrKHFUbODdpRVDwRAk9fAJ4+5oX2oc6cxImY0S2D3WqXggL5vACgjzx6
ahIcZHT7ozJCNhZgv6Ws1BQ=
=K6sZ
-----END PGP SIGNATURE-----




More information about the Tilesathome mailing list