[ubuntu-mono] [Bug 657505] [NEW] f-spot crashes when printing

Till Kamppeter 657505 at bugs.launchpad.net
Sun Oct 10 01:31:28 BST 2010


Public bug reported:

Binary package hint: f-spot

I have a fully updated Maverick 64-bit (somewhere between RC and final).
The printer I am using here is the HP PhotoSmart Premium C309g-m with
the "hpcups" driver.

I try to print a single photo (3:2 aspect ratio, from a DSLR) on
10x15cm/6x4in photo paper. I proceed exactly the same (too ugly and not
user-friendly) way as I do with shotwell, but in shotwell it works
perfectly:

1. Start f-spot from the command line
2. Click on the thumbnail of the photo to be printed
3. Choose File -> Page Setup
4. In the dialog choose the desired printer in the first drop-down, then choose the desired paper size in the second drop-down, and after that the orientation of the photo.
5. Choose File -> Print
6. Choose the desired printer (again), go through the tabs and check whether everything is OK. Especially make sure that the photo tray is chosen on the "Page Setup" tab, that print quality lis "Best" and that color output is set. After that click "Print".
7. In this moment f-spot crashes, no job gets sent to CUPS. The following appears in the terminal window:

till at till:~/printing/foomatic/foomatic/foomatic-db$ f-spot &
[1] 21344
till at till:~/printing/foomatic/foomatic/foomatic-db$ ** No session dbus found. Starting one **
[Info  20:38:42.368] Initializing Mono.Addins

(f-spot:21344): GdkPixbuf-WARNING **: GdkPixbufLoader finalized without calling gdk_pixbuf_loader_close() - this is not allowed. You must explicitly end the data stream to the loader before dropping the last reference.
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.NullReferenceException: Object reference not set to an instance of an object
  at FSpot.PrintOperation.OnDrawPage (Gtk.PrintContext context, Int32 page_nr) [0x00000] in <filename unknown>:0 
  at Gtk.PrintOperation.drawpage_cb (IntPtr operation, IntPtr context, Int32 page_nr) [0x00000] in <filename unknown>:0 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at Gtk.PrintOperation.drawpage_cb(IntPtr operation, IntPtr context, Int32 page_nr)
   at Gtk.PrintOperation.gtk_print_operation_run(IntPtr , Int32 , IntPtr , IntPtr ByRef )
   at Gtk.PrintOperation.Run(PrintOperationAction action, Gtk.Window parent)
   at FSpot.MainWindow.HandlePrintCommand(System.Object sender, System.EventArgs e)
   at System.Reflection.MonoMethod.InternalInvoke(System.Object , System.Object[] , System.Exception ByRef )
   at System.Reflection.MonoMethod.Invoke(System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(System.Object obj, System.Object[] parameters)
   at System.Delegate.DynamicInvokeImpl(System.Object[] args)
   at System.MulticastDelegate.DynamicInvokeImpl(System.Object[] args)
   at System.Delegate.DynamicInvoke(System.Object[] args)
   at GLib.Signal.ClosureInvokedCB(System.Object o, GLib.ClosureInvokedArgs args)
   at GLib.SignalClosure.Invoke(GLib.ClosureInvokedArgs args)
   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 FSpot.Driver.Startup()
   at Hyena.Gui.CleanRoomStartup.Startup(Hyena.Gui.StartupInvocationHandler startup)
   at FSpot.Driver.Main(System.String[] args)

[1]+  Exit 1                  f-spot
till at till:~/printing/foomatic/foomatic/foomatic-db$ 

It would be great to hjave this fixed in an SRU for Maverick.

** Affects: f-spot (Ubuntu)
     Importance: Undecided
         Status: New

-- 
f-spot crashes when printing
https://bugs.launchpad.net/bugs/657505
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to f-spot in ubuntu.

Status in “f-spot” package in Ubuntu: New

Bug description:
Binary package hint: f-spot

I have a fully updated Maverick 64-bit (somewhere between RC and final). The printer I am using here is the HP PhotoSmart Premium C309g-m with the "hpcups" driver.

I try to print a single photo (3:2 aspect ratio, from a DSLR) on 10x15cm/6x4in photo paper. I proceed exactly the same (too ugly and not user-friendly) way as I do with shotwell, but in shotwell it works perfectly:

1. Start f-spot from the command line
2. Click on the thumbnail of the photo to be printed
3. Choose File -> Page Setup
4. In the dialog choose the desired printer in the first drop-down, then choose the desired paper size in the second drop-down, and after that the orientation of the photo.
5. Choose File -> Print
6. Choose the desired printer (again), go through the tabs and check whether everything is OK. Especially make sure that the photo tray is chosen on the "Page Setup" tab, that print quality lis "Best" and that color output is set. After that click "Print".
7. In this moment f-spot crashes, no job gets sent to CUPS. The following appears in the terminal window:

till at till:~/printing/foomatic/foomatic/foomatic-db$ f-spot &
[1] 21344
till at till:~/printing/foomatic/foomatic/foomatic-db$ ** No session dbus found. Starting one **
[Info  20:38:42.368] Initializing Mono.Addins

(f-spot:21344): GdkPixbuf-WARNING **: GdkPixbufLoader finalized without calling gdk_pixbuf_loader_close() - this is not allowed. You must explicitly end the data stream to the loader before dropping the last reference.
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.NullReferenceException: Object reference not set to an instance of an object
  at FSpot.PrintOperation.OnDrawPage (Gtk.PrintContext context, Int32 page_nr) [0x00000] in <filename unknown>:0 
  at Gtk.PrintOperation.drawpage_cb (IntPtr operation, IntPtr context, Int32 page_nr) [0x00000] in <filename unknown>:0 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at Gtk.PrintOperation.drawpage_cb(IntPtr operation, IntPtr context, Int32 page_nr)
   at Gtk.PrintOperation.gtk_print_operation_run(IntPtr , Int32 , IntPtr , IntPtr ByRef )
   at Gtk.PrintOperation.Run(PrintOperationAction action, Gtk.Window parent)
   at FSpot.MainWindow.HandlePrintCommand(System.Object sender, System.EventArgs e)
   at System.Reflection.MonoMethod.InternalInvoke(System.Object , System.Object[] , System.Exception ByRef )
   at System.Reflection.MonoMethod.Invoke(System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(System.Object obj, System.Object[] parameters)
   at System.Delegate.DynamicInvokeImpl(System.Object[] args)
   at System.MulticastDelegate.DynamicInvokeImpl(System.Object[] args)
   at System.Delegate.DynamicInvoke(System.Object[] args)
   at GLib.Signal.ClosureInvokedCB(System.Object o, GLib.ClosureInvokedArgs args)
   at GLib.SignalClosure.Invoke(GLib.ClosureInvokedArgs args)
   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 FSpot.Driver.Startup()
   at Hyena.Gui.CleanRoomStartup.Startup(Hyena.Gui.StartupInvocationHandler startup)
   at FSpot.Driver.Main(System.String[] args)

[1]+  Exit 1                  f-spot
till at till:~/printing/foomatic/foomatic/foomatic-db$ 

It would be great to hjave this fixed in an SRU for Maverick.





More information about the Ubuntu-mono mailing list