After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 172682 - Directory for temporary files not created
Directory for temporary files not created
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: General
2.2.x
Other All
: Normal minor
: 2.4
Assigned To: Jernej Simončič
Jernej Simončič
: 351447 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-04-05 07:07 UTC by Stephan Eggermont
Modified: 2008-01-15 12:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stephan Eggermont 2005-04-05 07:07:12 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:
Comment 1 Sven Neumann 2005-04-05 08:31:09 UTC
Where exactly did you specify the temporary directory? During the system-wide
installation process or in the user installation (the orange dialogs)?
Comment 2 Stephan Eggermont 2005-04-05 08:35:26 UTC
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
Comment 3 Sven Neumann 2005-04-05 11:20:24 UTC
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.
Comment 4 Stephan Eggermont 2005-04-05 11:28:55 UTC
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. 
Comment 5 Sven Neumann 2005-04-06 15:13:51 UTC
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:


Comment 6 Sven Neumann 2005-04-06 15:15:28 UTC
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).

Comment 7 Sven Neumann 2006-08-15 13:41:40 UTC
*** Bug 351447 has been marked as a duplicate of this bug. ***