After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 606432 - crash when trying to export images
crash when trying to export images
Status: RESOLVED FIXED
Product: pdfmod
Classification: Other
Component: general
0.8
Other Linux
: Normal critical
: ---
Assigned To: pdfmod-maint
pdfmod-maint
Depends on:
Blocks:
 
 
Reported: 2010-01-08 17:43 UTC by Jean-François Fortin Tam
Modified: 2010-09-15 17:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean-François Fortin Tam 2010-01-08 17:43:54 UTC
Tried extracting the images of a PDF (it's a scanned document, images only), but pdfmod just silently crashes. The following is revealed in the terminal:


jeff@kusanagi:~/Documents/umontreal/psy2044 stress et anxiété/lectures obligatoires$ pdfmod 
[Debug 12:41:22.921] Starting PdfMod
[Debug 12:41:22.928] Initializing i18n catalog from /usr/share/locale/

(/usr/lib/pdfmod/PdfMod.exe:3826): GLib-WARNING **: g_set_prgname() called multiple times
[Debug 12:41:22.976] Cache directory set to /home/jeff/.cache/pdfmod
Author           = 
CreationDate     = 2010-01-05 15:21:01
Creator          = Adobe Acrobat 8.17
Keywords         = 
ModificationDate = 2010-01-05 15:21:01
Producer         = PDFsharp 1.2.1269-g (www.pdfsharp.com) (Original: Adobe Acrobat 8.17 Image Conversion Plug-in)
Subject          = 
Title            = 
Page Layout      = SinglePage
Page Mode        = UseNone
SecurityLevel    = None
Settings.TrimMgns= PdfSharp.Pdf.TrimMargins
Version          = 16
# Outlines       = 0
NoCompression    = False

ViewPreferences:
CenterWindow     = False
Direction        = 
DisplayDocTitle  = False
FitWindow        = False
HideMenubar      = False
HideToolbar      = False
HideWindowUI     = False
Marshaling activate signal
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path "/home/jeff/Documents/umontreal/psy2044 stress et anxiété/lectures obligatoires/Graziani (2003) cleaned (2)/00 (/X).jpg".
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] 
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean isAsync, Boolean anonymous) [0x00000] 
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access) [0x00000] 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess)
  at PdfMod.Pdf.Actions.ExportImagesAction.ExportJpegImage (PdfMod.Pdf.Actions.ImageInfo image, System.String path) [0x00000] 
  at PdfMod.Pdf.Actions.ExportImagesAction.Export (PdfMod.Pdf.Actions.ImageInfo image, System.String to_path) [0x00000] 
  at PdfMod.Pdf.Actions.ExportImagesAction.Do (System.String to_path) [0x00000] 
  at PdfMod.Gui.Actions.OnExportImages (System.Object o, System.EventArgs args) [0x00000] 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] 
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] 
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] 
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] 
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] 
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] 
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] 
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at PdfMod.Gui.Client..ctor(Boolean loadFiles)
   at PdfMod.PdfMod.Main(System.String[] args)
Comment 1 Jean-François Fortin Tam 2010-01-08 17:45:54 UTC
Oh, and this is with the packages from the Ubuntu PPA.
Comment 2 John Lang 2010-06-26 01:09:22 UTC
I am experiencing this as well on Ubuntu 10.04, using version 0.8.3 from the PDFMod-Team PPA.
Comment 3 Gabriel Burt 2010-09-15 17:21:48 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.