updf crash on Kubuntu

Bug #1155368 reported by manolo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
uPdf
New
Undecided
Unassigned

Bug Description

Hi to all.
This is what I get when I run updf. What can I do? Thanks.

(updf:22075): Gdk-CRITICAL **: gdk_error_trap_pop_internal: assertion `trap != NULL' failed
Traceback (most recent call last):
  File "/usr/bin/updf", line 36, in <module>
    main()
  File "/usr/share/updf/updf.py", line 994, in main
    main_without_splash_screen()
  File "/usr/share/updf/updf.py", line 1002, in main_without_splash_screen
    uPDF = UPDF()
  File "/usr/share/updf/updf.py", line 250, in __init__
    self.buttons['open'] = widgets.ImageToolButton(os.path.join(comun.ICONDIR,'new_active.svg'),os.path.join(comun.ICONDIR,'new_inactive.svg'))
  File "/usr/share/updf/widgets.py", line 392, in __init__
    self.imagebutton = ImageButton(filename,filename2)
  File "/usr/share/updf/widgets.py", line 150, in __init__
    self.image_active = svg2Surface(filename,width-2.0*gap,height-2.0*gap)
  File "/usr/share/updf/widgets.py", line 35, in svg2Surface
    svg.render_cairo(context)
  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 47, in function
    return info.invoke(*args, **kwargs)
KeyError: 'could not find foreign type Context'

Tags: crash
Revision history for this message
manolo (mac-man2005) wrote :

still no suggestions?

Revision history for this message
Juan Carlos Amengual (jcamen-lsi) wrote :

Solved by installing python-gi-cairo package. It's just a missing dependency in gir1.2-poppler-0.18, which is, in turn, a dependency in updf.

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.