[SOLVED] 3.1 XFCe PDF Viewer 0.1.8 displays no images

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

[SOLVED] 3.1 XFCe PDF Viewer 0.1.8 displays no images

Post#1 by Rava » 01 Oct 2015, 19:29

Most PDFs when trying to read with Porteus V.3.1 XFCe PDF Viewer 0.1.8, most images are displayed as black boxes, it looks like so:
Image

While other images work, like here (from the same PDF)
Image

I have not exploded the PDF [ meaning: copy the image contents verbatim from it ], but me presumes the images PDF Viewer 0.1.8 is able to display are GIFs, while JPEG (?) and/or PDFs (?) are just displayed as the black boxes.

Hopefully there is just a dependency, or maybe even just a soft link to a library, missing and that issue can be resolved.

Code: Select all

root@porteus:/tmp# ldd /usr/bin/epdfview
	linux-vdso.so.1 (0x00007fff8d9fe000)
	libgthread-2.0.so.0 => /usr/lib64/libgthread-2.0.so.0 (0x00007faf2b16e000)
	libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007faf2ae44000)
	libpoppler-glib.so.8 => /usr/lib64/libpoppler-glib.so.8 (0x00007faf2abf2000)
	libgio-2.0.so.0 => /usr/lib64/libgio-2.0.so.0 (0x00007faf2a899000)
	libgdk-x11-2.0.so.0 => /usr/lib64/libgdk-x11-2.0.so.0 (0x00007faf2a5e7000)
	libpangocairo-1.0.so.0 => /usr/lib64/libpangocairo-1.0.so.0 (0x00007faf2a3da000)
	libgdk_pixbuf-2.0.so.0 => /usr/lib64/libgdk_pixbuf-2.0.so.0 (0x00007faf2a1ba000)
	libcairo.so.2 => /usr/lib64/libcairo.so.2 (0x00007faf29e9a000)
	libpango-1.0.so.0 => /usr/lib64/libpango-1.0.so.0 (0x00007faf29c4f000)
	libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x00007faf29a00000)
	libgtk-x11-2.0.so.0 => /usr/lib64/libgtk-x11-2.0.so.0 (0x00007faf293cc000)
	libatk-1.0.so.0 => /usr/lib64/libatk-1.0.so.0 (0x00007faf291a8000)
	libpangoft2-1.0.so.0 => /usr/lib64/libpangoft2-1.0.so.0 (0x00007faf28f94000)
	libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007faf28d03000)
	libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007faf28ac8000)
	libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007faf287c6000)
	libm.so.6 => /lib64/libm.so.6 (0x00007faf284c4000)
	libgcc_s.so.1 => /usr/lib64/libgcc_s.so.1 (0x00007faf282ad000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007faf28090000)
	libc.so.6 => /lib64/libc.so.6 (0x00007faf27cc6000)
	libpoppler.so.46 => /usr/lib64/libpoppler.so.46 (0x00007faf27893000)
	libz.so.1 => /lib64/libz.so.1 (0x00007faf2767e000)
	libffi.so.6 => /usr/lib64/libffi.so.6 (0x00007faf27476000)
	libgmodule-2.0.so.0 => /usr/lib64/libgmodule-2.0.so.0 (0x00007faf27272000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007faf2706e000)
	libresolv.so.2 => /lib64/libresolv.so.2 (0x00007faf26e54000)
	libharfbuzz.so.0 => /usr/lib64/libharfbuzz.so.0 (0x00007faf26bc2000)
	libicule.so.51 => /usr/lib64/libicule.so.51 (0x00007faf2696c000)
	libicuuc.so.51 => /usr/lib64/libicuuc.so.51 (0x00007faf26602000)
	libicudata.so.51 => /usr/lib64/libicudata.so.51 (0x00007faf24eb7000)
	libXinerama.so.1 => /usr/lib64/libXinerama.so.1 (0x00007faf24cb5000)
	libXi.so.6 => /usr/lib64/libXi.so.6 (0x00007faf24aa6000)
	libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x00007faf2489c000)
	libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x00007faf24692000)
	libXcomposite.so.1 => /usr/lib64/libXcomposite.so.1 (0x00007faf24490000)
	libXdamage.so.1 => /usr/lib64/libXdamage.so.1 (0x00007faf2428d000)
	libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007faf24088000)
	libpixman-1.so.0 => /usr/lib64/libpixman-1.so.0 (0x00007faf23de0000)
	libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007faf23bb6000)
	libbz2.so.1 => /lib64/libbz2.so.1 (0x00007faf239a6000)
	libpng14.so.14 => /usr/lib64/libpng14.so.14 (0x00007faf23781000)
	libxcb-shm.so.0 => /usr/lib64/libxcb-shm.so.0 (0x00007faf2357e000)
	libX11-xcb.so.1 => /usr/lib64/libX11-xcb.so.1 (0x00007faf2337d000)
	libxcb-render.so.0 => /usr/lib64/libxcb-render.so.0 (0x00007faf23174000)
	libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007faf22f6a000)
	librt.so.1 => /lib64/librt.so.1 (0x00007faf22d62000)
	libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007faf22b51000)
	libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007faf22816000)
	libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007faf225f9000)
	libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007faf223f6000)
	libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007faf221f0000)
	libEGL.so.1 => /usr/lib64/libEGL.so.1 (0x00007faf21fda000)
	libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007faf21cbc000)
	/lib64/ld-linux-x86-64.so.2 (0x00007faf2b380000)
	liblcms.so.1 => /usr/lib64/liblcms.so.1 (0x00007faf21a83000)
	libtiff.so.3 => /usr/lib64/libtiff.so.3 (0x00007faf2181e000)
	libjpeg.so.8 => /usr/lib64/libjpeg.so.8 (0x00007faf215e4000)
	libopenjpeg.so.5 => /usr/lib64/libopenjpeg.so.5 (0x00007faf213c6000)
	libxcb-dri2.so.0 => /usr/lib64/libxcb-dri2.so.0 (0x00007faf211c1000)
	libxcb-xfixes.so.0 => /usr/lib64/libxcb-xfixes.so.0 (0x00007faf20fbb000)
	libxcb-shape.so.0 => /usr/lib64/libxcb-shape.so.0 (0x00007faf20db8000)
	libdrm.so.2 => /usr/lib64/libdrm.so.2 (0x00007faf20bab000)
	libnvidia-tls.so.304.123 => /usr/lib64/tls/libnvidia-tls.so.304.123 (0x00007faf209a8000)
	libnvidia-glcore.so.304.123 => /usr/lib64/libnvidia-glcore.so.304.123 (0x00007faf1e5be000)
Cheers!
Yours Rava

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: 3.1 XFCe ● PDF Viewer 0.1.8 ● displays no images

Post#2 by donald » 02 Oct 2015, 00:02

It's an old bug:
viewtopic.php?f=117&t=3978&sid=54fb4a42 ... =15#p28786

However,
ePDFView-0.1.8 working fine (on my 2.0 system) with poppler-0.20.2
but seems to need a patch for poppler-0.22 onwards.
http://www.linuxfromscratch.org/blfs/vi ... fview.html
epdfview-0.1.8-fixes-2.patch
fixes compiling with glib-2.32 or greater, corrects red appearing as blue with recent versions of poppler,.....and fixes the display of embedded png images.
slackbuilds.org has epdfview-0.1.8-fixes-1.patch

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Re: 3.1 XFCe ● PDF Viewer 0.1.8 ● displays no images

Post#3 by Rava » 03 Oct 2015, 00:22

So, it seems it's a old known bug both in 32 and 64 bit. Why is there no bugfix module available, or am I just too stupid to find that update/bugfix?

Thanks for the heads up on epdfview-0.1.8-fixes-1.patch , I look into that if that (hopefully) solves all issues.

//Update
Well, partly, the patch is not for fixing an installed version, but for applying it prior compiling a new one. No one running Porteus XFCe version already did this, creating a bug free version including epdfview?
Cheers!
Yours Rava

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: 3.1 XFCe ● PDF Viewer 0.1.8 ● displays no images

Post#4 by brokenman » 03 Oct 2015, 02:20

Rava it seems I was distracted by a more pressing issue (gksu) at the time and didn't attend to bug. I will check it out this weekend. I run xfce but just use chrome to open my pdf files. Feel free to recompile it and send me the link if you can.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Re: 3.1 XFCe ● PDF Viewer 0.1.8 ● displays no images

Post#5 by Rava » 03 Oct 2015, 23:48

brokenman wrote:Rava it seems I was distracted by a more pressing issue (gksu) at the time and didn't attend to bug. I will check it out this weekend. I run xfce but just use chrome to open my pdf files. Feel free to recompile it and send me the link if you can.
I try to compile that ASAP, seems not that big of an issue, just applying the patch. If something goes wrong among that path, I post that here. If it compiles okay, I upload it somewhere and also post that in here.

But dunno if I manage to do that tomorrow or Monday, still lots of stuff to do. (points at RL recent issue thread yours truly posted in "Porteus praise" subforum) :)
Cheers!
Yours Rava

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: 3.1 XFCe ● PDF Viewer 0.1.8 ● displays no images

Post#6 by brokenman » 04 Oct 2015, 02:05

No problem. I've recompiled and uploaded the 64bit version already. You can get it through porteus updater.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Re: 3.1 XFCe ● PDF Viewer 0.1.8 ● displays no images

Post#7 by Rava » 04 Oct 2015, 06:05

^
Image

I have these updates already installed:

Code: Select all

001-core_alldesktops-150124.xzm
002-xorg_alldesktops-150126.xzm
004-xfce_fixes-150124.xzm
http://dl.porteus.org/x86_64/testing/updates/ has no newer updates than me.

Looking into the changelog.txt

Code: Select all

004-xfce_fixes-150124.xzm
- fixed missing icons in simple menu
- fixed galculator (added libquadmath.so)
You not mentioned epdfview but it's there:

Code: Select all

/mnt/live/memory/images/004-xfce_fixes-150124.xzm/usr/bin$ ls -o
total 112
-rwxr-xr-x 1 root 113944 Jan 13  2015 epdfview
So, then why is the PDF Viewer 0.1.8 not working as it should?
Cheers!
Yours Rava

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: 3.1 XFCe ● PDF Viewer 0.1.8 ● displays no images

Post#8 by brokenman » 06 Oct 2015, 01:07

I named it uppercase. Fixed now. If it doesn't work get it directly from the server.

http://dl.porteus.org/x86_64/testing/up ... 151003.xzm
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Re: 3.1 XFCe ● PDF Viewer 0.1.8 ● displays no images

Post#9 by Rava » 06 Oct 2015, 01:20

brokenman wrote:I named it uppercase. Fixed now. If it doesn't work get it directly from the server.

http://dl.porteus.org/x86_64/testing/up ... 151003.xzm
Thanks, trying it out as I type.

I wonder, why are the updates called 004-xfce when the xfce module itself is called 003-xfce.xzm ?

Should the updates then not be called 003-xfce_fixes-150124.xzm and 003-xfce_fixes-151003.xzm ?


//Update
I downloaded the very same PDF that I used for the screenshots above, and it's now finally working!
Image :D
Cheers!
Yours Rava

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: [SOLVED] 3.1 XFCe PDF Viewer 0.1.8 displays no images

Post#10 by brokenman » 06 Oct 2015, 04:25

I wonder, why are the updates called 004-xfce when the xfce module itself is called 003-xfce.xzm ?
I don't remember if desktop modules used to be 004 or we just wanted to be sure they loaded after the 003 modules.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Re: [SOLVED] 3.1 XFCe PDF Viewer 0.1.8 displays no images

Post#11 by Rava » 06 Oct 2015, 13:12

^
http://dl.porteus.org/x86_64/current/modules/

Code: Select all

000-kernel.xzm   24-Nov-2014 21:27   17321984
001-core.xzm     02-Dec-2014 18:13   50077696
002-xorg.xzm     09-Dec-2014 09:35   46813184
003-kde.xzm      02-Dec-2014 12:23    71671808
003-lxqt.xzm     03-Dec-2014 17:58   39985152
003-mate.xzm     05-Dec-2014 21:08   62271488
003-xfce.xzm     06-Dec-2014 01:22   28274688
04-chrome.xzm    18-Jan-2015 13:07   49586176
04-firefox.xzm   14-Dec-2014 19:19    35684352
04-opera.xzm  
See? 003 are the numbers for the GUI, while 04 (should be 004 in my book, all numbers should be nnn, not mixed nnn and nn) are the browsers...

Just look what the updates for 001-core and 002-xorg are named:

Code: Select all

rava@porteus:/mnt/live/memory/images$ ls -1d 00[12]*xzm 
000-kernel.xzm
001-core.xzm
001-core_alldesktops-150124.xzm
002-xorg.xzm
002-xorg_alldesktops-150126.xzm
See what I mean?
Cheers!
Yours Rava

Philip
Black ninja
Black ninja
Posts: 76
Joined: 28 Dec 2013, 15:21
Distribution: Porteus 4.0 LXDE 64-bit
Location: England

Re: [SOLVED] 3.1 XFCe PDF Viewer 0.1.8 displays no images

Post#12 by Philip » 09 Oct 2015, 13:10

We have the same problem on 32-bit xfce.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: [SOLVED] 3.1 XFCe PDF Viewer 0.1.8 displays no images

Post#13 by brokenman » 09 Oct 2015, 14:00

Yes. I will rebuild 32bit shortly. Thanks.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply