GNOME Bugzilla – Bug 172682
Directory for temporary files not created
Last modified: 2008-01-15 12:51:28 UTC
Please describe the problem: Windows XP, Dutch version: Niet in staat een testwisselbestand te openen. Voorkom gegevensverlies en controleer a.u.b. de lokatie en rechten van de wisselmap die in uw Voorkeuren staan ingesteld (op dit moment "D:\gimp-2.2"). The directory D:\gimp-2.2 was not created in the install process, though it should have been. I didn't have enough space for temporary files at the c drive, so I typed a directory name on the d drive. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Where exactly did you specify the temporary directory? During the system-wide installation process or in the user installation (the orange dialogs)?
User installation. It is split in two parts. The first was the creation of a number of files in: C:\Documents and Settings\Segg\.gimp-2.2 The second part wanted a 'scratch disk' directory. I put that on: D:\gimp-2.2
Well, you are supposed to enter an existing directory there. GIMP isn't going to create it for you if you change the default value.
That's simply not true, and incorrect behaviour. Nowhere is it said that an existing directory is needed, and no user would expect that to be the case. All installers I'm familiar with create directories. Most warn/ask before creating missing directories, but simply accepting a choice and then putting up an error message much later is unacceptable. The problem is detectable in the installer and should be solved there.
The problem does not even exist in the installer. The term installer refers to the binary that does the GIMP installation on your system. The GIMP user installation is not related to this process. Anyway, since we already do a similar thing for the swap-directory, we can as well create the temp direcory at startup. I am however not going to merge this change back into gimp-2.2:
2005-04-06 Sven Neumann <sven@gimp.org> * app/config/gimpbaseconfig.[ch]: gives access to the default values for temp and swap path. * app/base/base.c (base_init): create the temp directory if it doesn't exist (bug #172682).
*** Bug 351447 has been marked as a duplicate of this bug. ***