RSS/Atom feed Twitter
Site is read-only, email is disabled

gimprc confusion

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

7 of 7 messages available
Toggle history

Please log in to manage your subscriptions.

gimprc confusion gg@catking.net 15 Nov 07:36
  gimprc confusion gg@catking.net 15 Nov 11:10
   gimprc confusion Michael Schumacher 15 Nov 11:29
  gimprc confusion Sven Neumann 15 Nov 18:47
   gimprc confusion gg@catking.net 15 Nov 23:21
    gimprc confusion Sven Neumann 17 Nov 08:35
     gimprc confusion gg@catking.net 17 Nov 09:08
gg@catking.net
2006-11-15 07:36:53 UTC (over 17 years ago)

gimprc confusion

Hi,

I had gimp-cvs installed in /opt/gimp and wanted to use gimp-2.2 to print some photos. I was getting errors starting gimp-2.2 so I ran make install on gimp-cvs but 2.2. failed to start thowing up half a dozen errors.

$ gimp GIMP: Error while parsing '/home/prof/.gimp-2.3/gimprc' in line 11: invalid valu
e 'lanczos' for token interpolation-type

GIMP: There was an error parsing your 'gimprc' file. Default values will be used
. A backup of your configuration has been created at '/home/prof/.gimp-2.3/gimpr
c~'.

(gimp:23640): GLib-GObject-WARNING **: cannot register existing type `GimpConfig
Interface'

(gimp:23640): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: asser
tion `G_TYPE_IS_INTERFACE (interface_type)' failed

(gimp:23640): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `
g_type_parent (interface_type) == G_TYPE_INTERFACE' failed

(gimp:23640): GLib-GObject-WARNING **: cannot register existing type `GimpConfig
Interface'

etc.

The cause is pretty clear but why is it using the gimprc in .gimp-2.3 ?! There is alsa a .gimp-2.2 for this user but it taking a directory specifically named as another version.

Having deleted both the .gimp* configs I restart 2.2 and get the orange dlg "Gimp user installation" that tells me it needs create "a folder named /home/user/.gimp-2.3" . YES gimp 2.2 wants to install it's config as gimp-2.3 .

What is the mechanism leading to this error?

Thanks for any clarification.

gg@catking.net
2006-11-15 11:10:57 UTC (over 17 years ago)

gimprc confusion

On Wed, 15 Nov 2006 07:36:53 +0100, wrote:

Hi,

I had gimp-cvs installed in /opt/gimp and wanted to use gimp-2.2 to print some photos. I was getting errors starting gimp-2.2 so I ran make install on gimp-cvs but 2.2. failed to start thowing up half a dozen errors.

$ gimp
GIMP: Error while parsing '/home/prof/.gimp-2.3/gimprc' in line 11: invalid valu
e 'lanczos' for token interpolation-type

GIMP: There was an error parsing your 'gimprc' file. Default values will be used
. A backup of your configuration has been created at '/home/prof/.gimp-2.3/gimpr
c~'.

(gimp:23640): GLib-GObject-WARNING **: cannot register existing type `GimpConfig
Interface'

(gimp:23640): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: asser tion `G_TYPE_IS_INTERFACE (interface_type)' failed

(gimp:23640): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `
g_type_parent (interface_type) == G_TYPE_INTERFACE' failed

(gimp:23640): GLib-GObject-WARNING **: cannot register existing type `GimpConfig
Interface'

etc.

The cause is pretty clear but why is it using the gimprc in .gimp-2.3 ?! There is alsa a .gimp-2.2 for this user but it taking a directory specifically named as another version.

Having deleted both the .gimp* configs I restart 2.2 and get the orange dlg "Gimp user installation" that tells me it needs create "a folder named /home/user/.gimp-2.3" . YES gimp 2.2 wants to install it's config as gimp-2.3 .

What is the mechanism leading to this error?

Thanks for any clarification.

Michael Schumacher
2006-11-15 11:29:20 UTC (over 17 years ago)

gimprc confusion

Von: gg@catking.net

What do I need to clean out to be able to run gimp-2.2 ?

You should start by confirming what exactly

$ gimp

is and what it does run.

HTH, Michael

Sven Neumann
2006-11-15 18:47:54 UTC (over 17 years ago)

gimprc confusion

Hi,

On Wed, 2006-11-15 at 07:36 +0100, gg@catking.net wrote:

I had gimp-cvs installed in /opt/gimp and wanted to use gimp-2.2 to print some photos. I was getting errors starting gimp-2.2 so I ran make install on gimp-cvs but 2.2. failed to start thowing up half a dozen errors.

gimp-2.2 is picking up the libraries from gimp-2.3. That is exactly why the release notes ask you to install into a separate prefix which is not in your library search path. Just make sure that 2.2 isn't started with a library search path that includes the location where you installed gimp-2.3.

The cause is pretty clear but why is it using the gimprc in .gimp-2.3 ?! There is alsa a .gimp-2.2 for this user but it taking a directory specifically named as another version.

Because the version number is in the library. You also would want your plug-ins to use ~/.gimp-2.3 when you are running gimp-2.3. Even plug-ins that were compiled against an older version of the gimp libraries.

Sven

gg@catking.net
2006-11-15 23:21:06 UTC (over 17 years ago)

gimprc confusion

On Wed, 15 Nov 2006 18:47:54 +0100, Sven Neumann wrote:

Because the version number is in the library. You also would want your plug-ins to use ~/.gimp-2.3 when you are running gimp-2.3. Even plug-ins that were compiled against an older version of the gimp libraries.

Still can't clear this out.

I have run make uninstall on 2.3.13 , uninstalled the distro pkg 2.2.12 and gimp-print-4.7

then I went through the whole system with a file browser and removed anything remotely looking to be gimp related.

Then rebuild distro package from source , but when I run it , it still wants to set up the configs in ~/.gimp-2.3

What is "the library" refered to above? Can someone suggest something I can run through 'find' to locate whatever cruft is lying around on this system?

TIA.

Sven Neumann
2006-11-17 08:35:29 UTC (over 17 years ago)

gimprc confusion

Hi,

On Wed, 2006-11-15 at 23:21 +0100, gg@catking.net wrote:

What is "the library" refered to above? Can someone suggest something I can run through 'find' to locate whatever cruft is lying around on this system?

There's 'ldd' to check what libs a binary is picking up. That should help you to figure it out.

Sven

gg@catking.net
2006-11-17 09:08:15 UTC (over 17 years ago)

gimprc confusion

On Fri, 17 Nov 2006 08:35:29 +0100, Sven Neumann wrote:

Hi,

On Wed, 2006-11-15 at 23:21 +0100, gg@catking.net wrote:

What is "the library" refered to above? Can someone suggest something I can run through 'find' to locate whatever cruft is lying around on this system?

There's 'ldd' to check what libs a binary is picking up. That should help you to figure it out.

Sven

yes , got that cleared up now . Many thx.