Bug 5415

Summary: Package pdf-shuffler crash at the opening
Product: Mageia Reporter: David GEIGER <geiger.david68210>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: lmenut, pterjan
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: pdfshuffler, python-pypoppler CVE:
Status comment:

Description David GEIGER 2012-04-15 14:03:02 CEST
I test Mageia 2_beta 3 for x86_64 ,and when I open the package pdf-shuffler it
crash

Here the result :

$ LC_ALL=C pdfshuffler

** (process:6186): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** (process:6186): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

** (process:6186): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
Gtk-Message: Failed to load module "canberra-gtk-module"
Traceback (most recent call last):
  File "/usr/bin/pdfshuffler", line 68, in <module>
    import poppler      #for the rendering of pdf pages
ImportError: /usr/lib64/python2.7/site-packages/poppler.so: undefined symbol: poppler_page_render_to_pixbuf
Pascal Terjan 2012-04-15 15:14:58 CEST

CC: (none) => pterjan
Source RPM: pdfshuffler-0.5.1-3.mga1.src.rpm => python-pypoppler

Comment 1 Pascal Terjan 2012-04-15 15:24:54 CEST
I added a patch for this crash in python-pypoppler

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 2 David GEIGER 2012-04-15 16:36:45 CEST
Ok, well done Pascal Terjan

Now it works, pdf-shuffler opens and launches.

Just still the problem of "canberra-gtk-module" :

$ LC_ALL=C pdfshuffler

** (process:29568): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** (process:29568): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

** (process:29568): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
Gtk-Message: Failed to load module "canberra-gtk-module" 


Thank you very much.
Comment 3 Luc Menut 2012-04-15 17:02:41 CEST
pdf-shuffler opens and launches, but we lose the preview of pdf pages, because the pixbuf rendering has been dropped.

We need to move to pdfshuffler 0.6.0 svn, which uses cairo for rendering, instead of deprecated pixbuf rendering.

I'm working on it.

Status: RESOLVED => REOPENED
CC: (none) => lmenut
Hardware: x86_64 => All
Resolution: FIXED => (none)
Source RPM: python-pypoppler => pdfshuffler, python-pypoppler

Comment 4 David GEIGER 2012-04-15 17:11:45 CEST
Hmmmm, indeed ,I have not thought about trying.
Comment 5 Luc Menut 2012-04-15 23:17:16 CEST
Fixed with pdfshuffler-0.6.0-0.svn75.1.mga2.

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED

Comment 6 David GEIGER 2012-04-16 00:39:49 CEST
Thanks , it works well.