Package: pdfmod
Version: 0.9.1-1
Severity: normal

Hi,

I wanted to extract some pages from a PDF with pdfmod. Opened the PDF, selected
the pages in question and clicked on "extract". PdfMod closed itself with the
following backtrace:

Range # 0
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.NotSupportedException: CodePage 1252 not 
supported
  at System.Text.Encoding.GetEncoding (Int32 codepage) [0x00000] in <filename 
unknown>:0 
  at PdfSharp.Pdf.Internal.PdfEncoders.get_WinAnsiEncoding () [0x00000] in 
<filename unknown>:0 
  at PdfSharp.Pdf.Internal.DocEncoding.GetByteCount (System.Char[] chars, Int32 
index, Int32 count) [0x00000] in <filename unknown>:0 
  at System.Text.Encoding.GetByteCount (System.Char[] chars) [0x00000] in 
<filename unknown>:0 
  at System.Text.Encoding.GetByteCount (System.Char* chars, Int32 count) 
[0x00000] in <filename unknown>:0 
  at System.Text.Encoding.GetByteCount (System.String s) [0x00000] in <filename 
unknown>:0 
  at System.Text.Encoding.GetBytes (System.String s) [0x00000] in <filename 
unknown>:0 
  at PdfSharp.Pdf.IO.PdfWriter.WriteDocString (System.String text) [0x00000] in 
<filename unknown>:0 
  at PdfSharp.Pdf.PdfDate.WriteObject (PdfSharp.Pdf.IO.PdfWriter writer) 
[0x00000] in <filename unknown>:0 
  at PdfSharp.Pdf.PdfDictionary.WriteDictionaryElement 
(PdfSharp.Pdf.IO.PdfWriter writer, PdfSharp.Pdf.PdfName key) [0x00000] in 
<filename unknown>:0 
  at PdfSharp.Pdf.PdfDictionary.WriteObject (PdfSharp.Pdf.IO.PdfWriter writer) 
[0x00000] in <filename unknown>:0 
  at PdfSharp.Pdf.PdfDocument.DoSave (PdfSharp.Pdf.IO.PdfWriter writer) 
[0x00000] in <filename unknown>:0 
  at PdfSharp.Pdf.PdfDocument.Save (System.IO.Stream stream, Boolean 
closeStream) [0x00000] in <filename unknown>:0 
  at PdfSharp.Pdf.PdfDocument.Save (System.IO.Stream stream) [0x00000] in 
<filename unknown>:0 
  at PdfSharp.Pdf.PdfDocument.Save (System.String path) [0x00000] in <filename 
unknown>:0 
  at PdfMod.Gui.Actions.OnExtractPages (System.Object o, System.EventArgs args) 
[0x00000] in <filename unknown>:0 
  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] in <filename unknown>:0 
  --- 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] in <filename unknown>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] 
parameters) [0x00000] in <filename unknown>:0 
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in 
<filename unknown>:0 
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) 
[0x00000] in <filename unknown>:0 
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in 
<filename unknown>:0 
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs 
args) [0x00000] in <filename unknown>:0 
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in 
<filename unknown>:0 
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, 
UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr 
marshal_data) [0x00000] in <filename unknown>:0 
  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)
Cairo.Context: called from finalization thread, programmer is missing a call to 
Dispose
                                                                          
PDF was: www.cwts.nl/pdf/BookofAbstracts2010_version_15072010.pdf

Regards
Evgeni

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pdfmod depends on:
ii  libc6                      2.11.2-13     Embedded GNU C Library: Shared lib
ii  libcairo2                  1.10.2-4      The Cairo 2D vector graphics libra
ii  libgconf2.0-cil            2.24.1-6      CLI binding for GConf 2.24
ii  libglib2.0-0               2.28.2-1      The GLib library of C routines
ii  libglib2.0-cil             2.12.10-1     CLI binding for the GLib utility l
ii  libgtk2.0-0                2.20.1-2      The GTK+ graphical user interface 
ii  libgtk2.0-cil              2.12.10-1     CLI binding for the GTK+ toolkit 2
ii  libmono-cairo2.0-cil       2.6.7-5       Mono Cairo library (for CLI 2.0)
ii  libmono-corlib2.0-cil      2.6.7-5       Mono core library (for CLI 2.0)
ii  libmono-posix2.0-cil       2.6.7-5       Mono.Posix library (for CLI 2.0)
ii  libmono-system2.0-cil      2.6.7-5       Mono System libraries (for CLI 2.0
ii  libpango1.0-0              1.28.3-2~sid1 Layout and rendering of internatio
ii  libpoppler-glib4           0.12.4-1.2    PDF rendering library (GLib-based 
ii  mono-runtime               2.6.7-5       Mono runtime

pdfmod recommends no packages.

pdfmod suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to