Gimp does not open pdf

Bug #1330942 reported by pvanb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gimp (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Trying to open a pdf file gives the message (after selecting 'all files'):

'/home/paulo/test.pdf' failed: Unknown file type

It is possible though to export an image as pdf.

This problem started in Ubuntu 13.10 (can't remember any
specific change or update in other packages other than the regular updates from
Ubuntu repositories) and persisted after a clean install of Ubuntu 14.04 and
Gimp.

Below the console output while opening a pdf file (from the command line):

paulo@paulo-HP-Z600-Workstation:~$ gimp --verbose test.pdf
INIT: gimp_load_config
Parsing '/home/paulo/.gimp-2.8/unitrc'
Parsing '/usr/local/gimp/etc/gimp/2.0/gimprc'
Parsing '/home/paulo/.gimp-2.8/gimprc'
gimp_composite: verbose=no
Processor instruction sets: +mmx +sse +sse2 -3dnow -altivec -vis
Adding theme 'Default' (/usr/local/gimp/share/gimp/2.0/themes/Default)
Adding theme 'Small' (/usr/local/gimp/share/gimp/2.0/themes/Small)
Writing '/home/paulo/.gimp-2.8/themerc'
Trying splash '/home/paulo/.gimp-2.8/gimp-splash.png' ... failed
Trying splash '/usr/local/gimp/share/gimp/2.0/images/gimp-splash.png' ... OK
INIT: gimp_initialize
INIT: gimp_real_initialize
INIT: gui_initialize_after_callback
INIT: gimp_restore
Parsing '/home/paulo/.gimp-2.8/parasiterc'
Loading 'brush factory' data
Loading 'dynamics factory' data
Loading 'pattern factory' data
Loading 'palette factory' data
Loading 'gradient factory' data
Loading fonts
Loading 'tool preset factory' data
Parsing '/home/paulo/.gimp-2.8/templaterc'
Parsing '/home/paulo/.gimp-2.8/modulerc'
INIT: gui_restore_callback
clipboard: writable pixbuf format: image/png
clipboard: writable pixbuf format: image/x-icon
clipboard: writable pixbuf format: image/x-ico
clipboard: writable pixbuf format: image/x-win-bitmap
clipboard: writable pixbuf format: image/tiff
clipboard: writable pixbuf format: image/bmp
clipboard: writable pixbuf format: image/x-bmp
clipboard: writable pixbuf format: image/x-MS-bmp
clipboard: writable pixbuf format: image/jpeg
Parsing '/home/paulo/.gimp-2.8/sessionrc'
Parsing '/home/paulo/.gimp-2.8/dockrc'
Parsing '/home/paulo/.gimp-2.8/toolrc'
Parsing '/home/paulo/.gimp-2.8/contextrc'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-rect-select-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-ellipse-select-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-free-select-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-fuzzy-select-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-by-color-select-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-iscissors-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-foreground-select-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-vector-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-color-picker-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-zoom-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-measure-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-move-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-align-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-crop-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-rotate-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-scale-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-shear-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-perspective-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-flip-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-cage-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-text-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-bucket-fill-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-blend-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-pencil-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-paintbrush-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-eraser-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-airbrush-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-ink-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-clone-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-heal-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-perspective-clone-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-convolve-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-smudge-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-dodge-burn-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-desaturate-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-color-balance-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-hue-saturation-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-colorize-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-brightness-contrast-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-threshold-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-levels-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-curves-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-posterize-tool'
Parsing '/home/paulo/.gimp-2.8/tool-options/gimp-gegl-tool'
INIT: gimp_real_restore
Parsing '/home/paulo/.gimp-2.8/pluginrc'
Querying plug-in: '/usr/local/gimp/lib/gimp/2.0/plug-ins/file-tiff-save'
/usr/local/gimp/lib/gimp/2.0/plug-ins/file-tiff-save: error while loading shared libraries: libtiff.so.4: cannot open shared object file: No such file or directory

(gimp-2.8:9226): LibGimpBase-WARNING **: gimp-2.8: gimp_wire_read(): error
Terminating plug-in: '/usr/local/gimp/lib/gimp/2.0/plug-ins/file-tiff-save'
Querying plug-in: '/usr/local/gimp/lib/gimp/2.0/plug-ins/file-mng'
/usr/local/gimp/lib/gimp/2.0/plug-ins/file-mng: error while loading shared libraries: libmng.so.1: cannot open shared object file: No such file or directory

(gimp-2.8:9226): LibGimpBase-WARNING **: gimp-2.8: gimp_wire_read(): error
Terminating plug-in: '/usr/local/gimp/lib/gimp/2.0/plug-ins/file-mng'
Querying plug-in: '/usr/local/gimp/lib/gimp/2.0/plug-ins/file-tiff-load'
/usr/local/gimp/lib/gimp/2.0/plug-ins/file-tiff-load: error while loading shared libraries: libtiff.so.4: cannot open shared object file: No such file or directory

(gimp-2.8:9226): LibGimpBase-WARNING **: gimp-2.8: gimp_wire_read(): error
Terminating plug-in: '/usr/local/gimp/lib/gimp/2.0/plug-ins/file-tiff-load'
Writing '/home/paulo/.gimp-2.8/pluginrc'
Starting extension: 'extension-script-fu'
INIT: gui_restore_after_callback
Parsing '/home/paulo/.gimp-2.8/menurc'
Parsing '/home/paulo/.gimp-2.8/devicerc'
Parsing '/home/paulo/.gimp-2.8/controllerrc'
Parsing '/home/paulo/.gimp-2.8/colorrc'
loading menu '/usr/local/gimp/share/gimp/2.0/menus/image-menu.xml' for /image-menubar

Revision history for this message
Filip Sohajek (filip-sohajek-deactivatedaccount) wrote :

Are you sure, that the problem appeared in 13.10? I tested it on 13.10 and 14.04 without this problem. Try other PDF file, this PDF file may be corrupted.

Revision history for this message
pvanb (p-vanbreugel) wrote : Re: [Bug 1330942] Re: Gimp does not open pdf

I tried it with various pdf files, including a pdf file created in GIMP.
Never works.

And yes, I am sure, it started a few weeks ago when I was still using
Ubuntu 13.10. I only upgraded Ubuntu to 14.04 this weekend and the
problem persists.

It might be a specific problem on my system, I don't know. But I have
not clue how to find out where the problem is.

On 17-06-14 14:30, Filip Sohajek wrote:
> Are you sure, that the problem appeared in 13.10? I tested it on 13.10
> and 14.04 without this problem. Try other PDF file, this PDF file may be
> corrupted.
>

Revision history for this message
Filip Sohajek (filip-sohajek-deactivatedaccount) wrote :

Did you try reinstall GIMP? (complete purge and clean GIMP install)

Revision history for this message
pvanb (p-vanbreugel) wrote :

Not only that, when upgrading to Ubuntu 14.04 I had a complete clean
install of my Linux (for unrelated reasons). But just to make sure,
after that I did purge and install GIMP again to make sure.

On 17-06-14 22:04, Filip Sohajek wrote:
> Did you try reinstall GIMP? (complete purge and clean GIMP install)
>

Revision history for this message
Filip Sohajek (filip-sohajek-deactivatedaccount) wrote :

Send there output of following command :
apt-cache policy gimp2

Revision history for this message
pvanb (p-vanbreugel) wrote :

gimp2 doesn't work, but:

paulo@paulo-HP-Z600-Workstation:~$ apt-cache policy gimp
gimp:
  Installed: 2.8.10-0ubuntu1
  Candidate: 2.8.10-0ubuntu1
  Version table:
 *** 2.8.10-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        500 http://nl.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Filip Sohajek (filip-sohajek-deactivatedaccount) wrote :

Tested on this version on 3 different versions of Ubuntu (13.10, 14.04, 14.10), without this problem.

Revision history for this message
pvanb (p-vanbreugel) wrote :

On 19-06-14 13:06, Filip Sohajek wrote:
> Tested on this version on 3 different versions of Ubuntu (13.10, 14.04,
> 14.10), without this problem.
>
I solved the problem. As expected, also from your comments, it was a
problem on my computer. There were a number of GIMP files in my
/usr/local folder. I really cannot remember ever having compiled GIMP
myself, so I have not clue how that ended up there, but also not why
they were not removed with the new Ubuntu install. But in any case,
removing them solved the problem. Many thanks for your help and sorry
for the troubles.

Revision history for this message
Filip Sohajek (filip-sohajek-deactivatedaccount) wrote :

Ok, marking as invalid

Changed in gimp (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.