Page 1 sur 1

[pdfmod] impossible ouvrir fichier (Résolu)

Publié : mar. 28 déc. 2010, 00:29
par Pafrapé
Bonsoir à tous,

J'ai un gros problème avec pdfmod (installation à partir de Aur).
La compilation et l'installation se déroulent sans aucun problème. Par contre, une fois le logiciel installé et que je veux ouvrirun fichier, l'application plante lamentablement.
J'ai chercher comment résoudre le problème, mais sans résultat.
Voici ce qu'indique le terminal lorsque j'ouvre un fichier :

Code : Tout sélectionner

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
Merci de votre aide pour résoudre le problème et me permettre d'utiliser l'application.

Re: [pdfmod] impossible ouvrir fichier

Publié : mar. 28 déc. 2010, 09:38
par benjarobin
Il te manque ce fichier libpoppler-glib.so.4 Tu peut tenter d’installer poppler-glib mais le problème c'est que le dépôt fournit libpoppler-glib.so.5. Tu pourrait ensuite créer un lien symbolique de libpoppler-glib.so.4 vers libpoppler-glib.so
Mais ce que je ne comprend pas c'est pourquoi la compilation a réussi...

Re: [pdfmod] impossible ouvrir fichier

Publié : mar. 28 déc. 2010, 10:24
par Pafrapé
J'ai déjà poppler-glib 0.14.5-1 d'installé.
Mais je ne sais pas comment créer un lien symbolique de libpoppler-glib.so.4 vers libpoppler-glib.so
Merci de me dire comment faire.

PS : Suis un informaticien du dimanche :humour:

Re: [pdfmod] impossible ouvrir fichier

Publié : mar. 28 déc. 2010, 12:06
par benjarobin
man ln :rtfm: :copain:
ln -s /usr/lib/libpoppler-glib.so /usr/lib/libpoppler-glib.so.4

Re: [pdfmod] impossible ouvrir fichier (Résolu)

Publié : mer. 29 déc. 2010, 00:34
par Pafrapé
:bravo: Super, fantastique, merveilleux, cela marche à la perfection :dix:

Je te remercie énormément de ton aide. :merci: