Pdfmod fails because of missing dependency

Bug #633358 reported by Martin Soto
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
pdfmod (Ubuntu)
Fix Released
High
Andrew Starr-Bochicchio
poppler-sharp (Ubuntu)
Fix Released
High
Andrew Starr-Bochicchio

Bug Description

Binary package hint: pdfmod

Pdfmod from current Maverick fails when opening PDF files. Any attempt at opening a PDF results in the following exception:

Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.DllNotFoundException: libpoppler-glib.so.4
  at (wrapper managed-to-native) Poppler.Document:poppler_document_new_from_file (intptr,intptr,intptr&)
  at Poppler.Document.NewFromFile (System.String uri, System.String password) [0x00000] in <filename unknown>:0
  at PdfMod.Pdf.Document.get_PopplerDoc () [0x00000] in <filename unknown>:0
  at PdfMod.Pdf.Document.GetSurface (PdfMod.Pdf.Page page, Int32 w, Int32 h, Int32 min_width) [0x00000] in <filename unknown>:0
  at PdfMod.Gui.PageCell.Render (Cairo.Context cr, Double width, Double height, CellRendererState state) [0x00000] in <filename unknown>:0
  at PdfMod.Gui.CairoCell.Render (Gdk.Drawable window, Gtk.Widget widget, Rectangle background_area, Rectangle cell_area, Rectangle expose_area, CellRendererState state) [0x00000] in <filename unknown>:0
  at Gtk.CellRenderer.Render_cb (IntPtr item, IntPtr window, IntPtr widget, Gdk.Rectangle& background_area, Gdk.Rectangle& cell_area, Gdk.Rectangle& expose_area, CellRendererState flags) [0x00000] in <filename unknown>:0
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at Gtk.CellRenderer.Render_cb(IntPtr item, IntPtr window, IntPtr widget, Rectangle ByRef background_area, Rectangle ByRef cell_area, Rectangle ByRef expose_area, CellRendererState flags)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at PdfMod.Gui.Client..ctor(Boolean loadFiles)
   at PdfMod.PdfMod.Main(System.String[] args)
Cairo.Context: called from finalization thread, programmer is missing a call to Dispose

From the exception, it seems that pdfmod requires libpoppler-glib.so.4, which is not referenced in its dependencies. This library is part of package libpoppler-glib4. Installing that package actually solves the problem for me and lets pdfmod run correctly.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: pdfmod 0.8.3-1
ProcVersionSignature: Ubuntu 2.6.35-20.29-generic 2.6.35.4
Uname: Linux 2.6.35-20-generic i686
Architecture: i386
Date: Wed Sep 8 18:34:26 2010
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: pdfmod

Revision history for this message
Martin Soto (soto255) wrote :
Changed in pdfmod (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Changed in pdfmod (Ubuntu):
status: Confirmed → Triaged
assignee: nobody → Andrew Starr-Bochicchio (andrewsomething)
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Both pdfmod and poppler-sharp need to link against libpoppler-glib.so.5

Changed in pdfmod (Ubuntu):
status: Triaged → In Progress
Changed in poppler-sharp (Ubuntu):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Andrew Starr-Bochicchio (andrewsomething)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package poppler-sharp - 0.0.1-1ubuntu1

---------------
poppler-sharp (0.0.1-1ubuntu1) maverick; urgency=low

  * Build against libpoppler-glib.so.5 (LP: #633358).
   - Adjust target in debian/poppler-sharp.dll.config
 -- Andrew Starr-Bochicchio <email address hidden> Tue, 21 Sep 2010 15:29:15 -0400

Changed in poppler-sharp (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Just to update on the progress. The fixes were uploaded hours ago, but the build queue is taking really long today for some reason. Hopefully these will roll out soon....

Changed in pdfmod (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Ugg..... Despite the fact that I gave poppler-sharp a half hour headstart, pdfmod managed to build before it. So I need to trigger another rebuild of pdfmod to get the proper libpappler-cli dependency....

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pdfmod - 0.8.3-1build2

---------------
pdfmod (0.8.3-1build2) maverick; urgency=low

  * Really rebuild against libpoppler-glib5 and
    libpoppler-glib5. (LP: #633358)
 -- Andrew Starr-Bochicchio <email address hidden> Tue, 21 Sep 2010 21:27:41 -0400

Changed in pdfmod (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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