New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #2249 (closed defect: worksforme)

Opened 9 years ago

Last modified 8 years ago

BUG: gtk2

Reported by: ndqc5d702@… Owned by: mij@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

After installing darwinports as described in http://darwinports.opendarwin.org/docs/ch01s03.html I did a `sudo port install etheral' and got no error message. But when i tried to launch ethereal from a xterm window it didn't work:

--<--<-- ~$ ethereal

(ethereal:6042): GdkPixbuf-WARNING : Can not open pixbuf loader module file '/opt/local/etc/gtk-2.0/gdk-pixbuf.loaders': Permission denied

(ethereal:6042): GdkPixbuf-WARNING : Error loading XPM image loader: Image type 'xpm' is not supported

(ethereal:6042): Gdk-CRITICAL : file gdkpixbuf-render.c: line 293 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): assertion `GDK_IS_PIXBUF (pixbuf)' failed

(ethereal:6042): Gtk-CRITICAL : file gtkimage.c: line 615

(gtk_image_set_from_pixmap): assertion `pixmap == NULL
GDK_IS_PIXMAP

(pixmap)' failed

(ethereal:6042): GdkPixbuf-WARNING : Can not open pixbuf loader module file '/opt/local/etc/gtk-2.0/gdk-pixbuf.loaders': Permission denied

(ethereal:6042): GdkPixbuf-WARNING : Error loading XPM image loader: Image type 'xpm' is not supported

ERROR : file toolbar.c: line 191 (ethereal_stock_icons): assertion failed: (pixbuf) aborting... Abort trap ~$ --<--<--

It looks like the permissions on gdk-pixbuf.loaders are wrong:

--<--<-- ~$ ll /opt/local/etc/gtk-2.0/ total 16 -rw------- 2 root admin 2522 27 Sep 00:43 gdk-pixbuf.loaders -rw-r--r-- 2 root admin 473 27 Sep 00:43 gtk.immodules ~$ --<--<--

After doing a `sudo chmod go+r /opt/local/etc/gtk-2.0/gdk-pixbuf.loaders' everything seems to work now.

I'm using Apple's X11 from http://www.apple.com/macosx/features/x11/, sw_vers says: ~$ sw_vers ProductName: Mac OS X ProductVersion: 10.3.5 BuildVersion: 7M34 ~$

gtk2 version is 2.4.9

Change History

comment:1 Changed 8 years ago by snu@…

  • Owner changed from darwinports-bugs@… to mij@…
  • Summary changed from wrong permissions on gdk-pixbuf.loaders? to BUG: gtk2

comment:2 Changed 8 years ago by mij@…

  • Status changed from new to assigned

Does this still happen with 2.6.0? I did a clean install the other day and the permissions are correct:

-rw-r--r-- 2 root admin 2K 29 Jan 15:34 gdk-pixbuf.loaders

comment:3 Changed 8 years ago by Piers.Walter@…

(In reply to comment #1)

Does this still happen with 2.6.0? I did a clean install the other day and the permissions are correct:

-rw-r--r-- 2 root admin 2K 29 Jan 15:34 gdk-pixbuf.loaders

I just went through the same procedure as the original poster (installed darwinports on a new machine, sudo port install ethereal). gtk2 version 2.6.2 was installed. While the permissions have changed since the initial bug report, they are still wrong and have to be manually fixed before ethereal will run:

-rw-r----- 2 root admin 2522 24 Feb 23:44 gdk-pixbuf.loaders

comment:4 Changed 8 years ago by mij@…

I still can't reproduce this. Are you setting a default umask in your shell's configuration (.zshrc, .bashrc, .tcshrc, etc.) somewhere? My permissions are (this was installed about a week and a half ago or so):

-rw-r--r-- 2 root admin 2K 19 Feb 19:23 gdk-pixbuf.loaders

  • jim

comment:5 Changed 8 years ago by mij@…

  • Status changed from assigned to closed
  • Resolution set to worksforme
Note: See TracTickets for help on using tickets.