You are not logged in.

#1 2014-12-02 02:51:58

jwhendy
Member
Registered: 2010-04-01
Posts: 621

[SOLVED] Unable to view .dng images with geeqie

Both my work computer and home computer have geeqie installed, running 1.1-3. I recently attempted to view a .dng file on my work computer and it briefly opened and then closed. I've been able to do so before, and my home computer is able to view them just fine. I just installed f-spot (googled around for other .dng-capable viewers), and can successfully open a .dng file with it. I can open them as usual with darktable as well; so I don't think it's something inherently missing regarding dealing with digital negatives, or at least that's the theory.

Starting geeqie from the command line yields:

$ geeqie /path/to/file.DNG
**
ERROR:filedata.c:1101:file_data_new_group: assertion failed: (fd)
Aborted (core dumped)

I get some pretty old bugs when googling that error. I installed geeqie-git just to check, and it opens the file, but with a ridiculously small resolution, despite it being a ~13mb digital negative.

Something seems borked, but I'm at a loss about what it is, especially since f-spot seems to work and geeqie is doing fine on another computer. Suggestions of what to check?

Last edited by jwhendy (2014-12-31 02:47:00)

Offline

#2 2014-12-02 21:04:24

jwhendy
Member
Registered: 2010-04-01
Posts: 621

Re: [SOLVED] Unable to view .dng images with geeqie

If it helps, I found geeqie has a debug option. Here's some output if it offers any assistance:

Non-functioning laptop

$ geeqie --debug ~/Downloads/IMGP6063.DNG
debugging output enabled (level 1)
    0.003009 (+00000.003009) main: gtk_init
    0.008827 (+00000.005818) main: pixbuf_inline_register_stock_icons
    0.009370 (+00000.000543) main: setting default options before
commandline handling
    0.009440 (+00000.000070) main: parse_command_line
    0.009874 (+00000.000434) main: mkdir_if_not_exists
    0.010353 (+00000.000479) main: load_options
unknown attribute image.use_clutter_renderer = false
loader reported [GdkPixdata] [The GdkPixdata format] [.gdkp]
loader reported [png] [The PNG image format] [.png]
loader reported [gif] [The GIF image format] [.gif]
loader reported [pcx] [The PCX image format] [.pcx]
loader reported [ani] [The ANI image format] [.ani]
loader reported [svg] [Scalable Vector Graphics] [.svg;.svgz;.svg.gz]
loader reported [xbm] [The XBM image format] [.xbm]
loader reported [qtif] [The QTIF image format] [.qtif;.qif]
loader reported [ico] [The ICO image format] [.ico;.cur]
loader reported [jpeg2000] [The JPEG 2000 image format]
[.jp2;.jpc;.jpx;.j2k;.jpf]
loader reported [wbmp] [The WBMP image format] [.wbmp]
loader reported [ras] [The Sun raster image format] [.ras]
loader reported [jpeg] [The JPEG image format] [.jpeg;.jpe;.jpg]
loader reported [tga] [The Targa image format] [.tga;.targa]
loader reported [xpm] [The XPM image format] [.xpm]
loader reported [tiff] [The TIFF image format] [.tiff;.tif]
loader reported [pnm] [The PNM/PBM/PGM/PPM image format family]
[.pnm;.pbm;.pgm;.ppm]
loader reported [bmp] [The BMP image format] [.bmp]
loader reported [icns] [The ICNS image format] [.icns]
    0.012899 (+00000.002546) layout_new: start
    0.019859 (+00000.006960) layout_actions_setup: start
    0.087028 (+00000.067169) layout_actions_setup: add menu
    0.087256 (+00000.000228) layout_actions_setup: add toolbar
    0.087287 (+00000.000031) layout_actions_setup: marks
    0.088005 (+00000.000718) layout_actions_setup: editors
    0.088044 (+00000.000039) layout_actions_setup: status_update_write
    0.088059 (+00000.000015) layout_actions_setup: actions_add_window
    0.088074 (+00000.000015) layout_actions_setup: end
Setting stereo mode 0000 for imd 0x1358c70
    0.121302 (+00000.033228) pixbuf renderer updated - started drawing
0x18fc180, img: 200x70
    0.121332 (+00000.000030) pixbuf renderer updated - started drawing
0x18fc180, img: 200x70
    0.121343 (+00000.000011) pixbuf renderer updated - started drawing
0x18fc180, img: 200x70
    0.121353 (+00000.000010) pixbuf renderer updated - started drawing
0x18fc180, img: 200x70
update size: 0x18fb3c0  0 0   499 498
    0.132118 (+00000.010765) pixbuf renderer updated - started drawing
0x18fc180, img: 200x70
    0.135638 (+00000.003520) layout_new: end
**
ERROR:filedata.c:1101:file_data_new_group: assertion failed: (fd)
Aborted (core dumped)

Functioning laptop, same file

$ geeqie --debug ~/Downloads/IMGP6063.DNG
debugging output enabled (level 1)
    0.001597 (+00000.001597) main: gtk_init
    0.005138 (+00000.003541) main: pixbuf_inline_register_stock_icons
    0.005524 (+00000.000386) main: setting default options before
commandline handling
    0.005574 (+00000.000050) main: parse_command_line
    0.005915 (+00000.000341) main: mkdir_if_not_exists
    0.006295 (+00000.000380) main: load_options
loader reported [GdkPixdata] [The GdkPixdata format] [.gdkp]
loader reported [png] [The PNG image format] [.png]
loader reported [xbm] [The XBM image format] [.xbm]
loader reported [ani] [The ANI image format] [.ani]
loader reported [icns] [The ICNS image format] [.icns]
loader reported [wbmp] [The WBMP image format] [.wbmp]
loader reported [svg] [Scalable Vector Graphics] [.svg;.svgz;.svg.gz]
loader reported [bmp] [The BMP image format] [.bmp]
loader reported [ras] [The Sun raster image format] [.ras]
loader reported [xpm] [The XPM image format] [.xpm]
loader reported [jpeg] [The JPEG image format] [.jpeg;.jpe;.jpg]
loader reported [pnm] [The PNM/PBM/PGM/PPM image format family]
[.pnm;.pbm;.pgm;.ppm]
loader reported [tiff] [The TIFF image format] [.tiff;.tif]
loader reported [pcx] [The PCX image format] [.pcx]
loader reported [gif] [The GIF image format] [.gif]
loader reported [ico] [The ICO image format] [.ico;.cur]
loader reported [tga] [The Targa image format] [.tga;.targa]
loader reported [jpeg2000] [The JPEG 2000 image format]
[.jp2;.jpc;.jpx;.j2k;.jpf]
loader reported [qtif] [The QTIF image format] [.qtif;.qif]
    0.008107 (+00000.001812) layout_new: start
    0.015016 (+00000.006909) layout_actions_setup: start
    0.097918 (+00000.082902) layout_actions_setup: add menu
    0.098246 (+00000.000328) layout_actions_setup: add toolbar
    0.098305 (+00000.000059) layout_actions_setup: marks
    0.099741 (+00000.001436) layout_actions_setup: editors
    0.099794 (+00000.000053) layout_actions_setup: status_update_write
    0.099827 (+00000.000033) layout_actions_setup: actions_add_window
    0.099856 (+00000.000029) layout_actions_setup: end
Setting stereo mode 0000 for imd 0x215c050
    0.152497 (+00000.052641) pixbuf renderer updated - started drawing
0x270c150, img: 200x70
    0.152544 (+00000.000047) pixbuf renderer updated - started drawing
0x270c150, img: 200x70
    0.152566 (+00000.000022) pixbuf renderer updated - started drawing
0x270c150, img: 200x70
    0.152588 (+00000.000022) pixbuf renderer updated - started drawing
0x270c150, img: 200x70
update size: 0x270a7c0  0 0   467 500
    0.169640 (+00000.017052) pixbuf renderer updated - started drawing
0x270c150, img: 200x70
    0.176282 (+00000.006642) layout_new: end
Register realtime 0 /home/jwhendy/Downloads
    0.178768 (+00000.002486) vflist_refresh: read dir
    0.178922 (+00000.000154) vflist_refresh: sort
    0.178943 (+00000.000021) vflist_refresh: populate view
    0.179287 (+00000.000344) vflist_refresh: done
    0.179347 (+00000.000060) image reset
    0.179376 (+00000.000029) image begin
new image loader 0x289b240, bufsize=4096 idle_loop=1
exif read /home/jwhendy/Downloads/IMGP6063.DNG, sidecar: -
Usable reduced size (preview) image loaded from file
/home/jwhendy/Downloads/IMGP6063.DNG
Thread pool num threads: 1
Using custom tiff loader
Register realtime 0 /home/jwhendy/Downloads/IMGP6063.DNG
    0.256969 (+00000.077593) read ahead cancelled for :null
added Xmp.dc.subject /home/jwhendy/Downloads/IMGP6063.DNG

Loading options from /home/jwhendy/.config/geeqie/geeqierc.xml ... done
    0.292692 (+00000.035723) layout_editors_reload_start
    0.292810 (+00000.000118) main: gtk_main
image_load_size_cb: 4288x2848
image activate focus_in 0
update size: 0x270a7c0  0 0   1027 699
    0.297291 (+00000.004481) pixbuf renderer updated - started drawing
0x270c150, img: 4288x2848
    0.327126 (+00000.029835) image load completed
"/home/jwhendy/Downloads/IMGP6063.DNG" (current)
    0.327167 (+00000.000041) pixbuf renderer done 0x270c150
    0.342615 (+00000.015448) layout_editors_reload_idle_cb: get_desktop_files
Couldn't load icon /usr/share/feh/images/feh.png: Icon
'/usr/share/feh/images/feh.png' not present in theme
Couldn't load icon /usr/share/feh/images/feh: Icon
'/usr/share/feh/images/feh' not present in theme
    0.360668 (+00000.018053) layout_editors_reload_idle_cb: setup_editors
    0.361192 (+00000.000524) layout_editors_reload_idle_cb: setup_editors done
    0.421111 (+00000.059919) pixbuf renderer updated - started drawing
0x270c150, img: 4288x2848
    0.421162 (+00000.000051) pixbuf renderer updated - started drawing
0x270c150, img: 4288x2848
    0.435589 (+00000.014427) image done
freeing image loader 0x289b240 bytes_read=1174512
Notify pane_histogram: /home/jwhendy/Downloads/IMGP6063.DNG 0004
    0.640242 (+00000.204653) pixbuf renderer done 0x270c150
collection manager flushing
collection manager is up to date
Unregister realtime 1 /home/jwhendy/Downloads/IMGP6063.DNG
    1.737830 (+00001.097588) image reset
    1.737857 (+00000.000027) read ahead cancelled for :null
Unregister realtime 1 /home/jwhendy/Downloads

Miscellaneous info:

$ uname -a
Linux arch_840 3.17.4-1-ARCH #1 SMP PREEMPT Fri Nov 21 21:14:42 CET 2014 x86_64 GNU/Linux

$ pacman -Qi geeqie
Name           : geeqie
Version        : 1.1-3
Description    : A lightweight image browser and viewer
Architecture   : x86_64
URL            : http://geeqie.sourceforge.net/
Licenses       : GPL2
Groups         : None
Provides       : None
Depends On     : exiv2  gtk2  lcms  desktop-file-utils
Optional Deps  : librsvg: SVG rendering [installed]
Required By    : None
Optional For   : None
Conflicts With : None
Replaces       : None
Installed Size : 5106.00 KiB
Packager       : Andreas Radke <andyrtr@archlinux.org>
Build Date     : Fri 24 Jan 2014 05:48:31 AM CST
Install Date   : Mon 01 Dec 2014 09:11:28 PM CST
Install Reason : Explicitly installed
Install Script : Yes
Validated By   : Signature

Some of the post-failure debug stuff on the successful computer mentions pixbuf; both have the same version installed: gdk-pixbuf2 2.31.1-1. Checked other gtk/gnome/icon related libraries and they appear to match. Lastly, I freshly updated both and rebooted just to check that my home computer wasn't lagging behind on some library that might have caused the issue.

I'm happy to try more things/post more information as needed.

The test picture is here if anyone would like to try it:
- https://www.dropbox.com/s/d7zvnjm2duapv … 3.DNG?dl=0

Offline

#3 2014-12-31 02:49:58

jwhendy
Member
Registered: 2010-04-01
Posts: 621

Re: [SOLVED] Unable to view .dng images with geeqie

Found this bug, which solved my problem. I actually found it the first time I was searching around but assumed it didn't apply since I took the gist of it to be geeqie looking for a non-existing file... but I was directly opening a file known to exist. The second time around, mention of the .config directly struck me, so I deleted ~/.config/geeqie/* just to try something, and could open the file successfully again.

I'm still not sure why this only seemed to affect .dng files and not any other files (.png, .jpg, etc.) I tested with. Either way, I'm a happy camper again!

Offline

Board footer

Powered by FluxBB