[ubuntu-mono] [Bug 176707] Re: error importing photos with f-spot on ppc: LibGPhoto2.CameraFile.GetDataAndSize () -> Number overflow.

Bug Watch Updater 176707 at bugs.launchpad.net
Wed Sep 15 21:40:38 UTC 2010


** Changed in: f-spot
   Importance: Unknown => Critical

-- 
error importing photos with f-spot on ppc: LibGPhoto2.CameraFile.GetDataAndSize () -> Number overflow.
https://bugs.launchpad.net/bugs/176707
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 Personal photo management for the GNOME desktop: Fix Released
Status in “f-spot” package in Ubuntu: Fix Released
Status in “f-spot” package in Debian: Fix Released

Bug description:
Binary package hint: f-spot

The bug is every time reproducable:
After starting f-spot, selecting import and choosing the camera f-spot crashs.
Looks like the same bug already reported in the debian bugtracker: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=439816

When started in a terminal i get this error:
...
cleanup context
item ImportCommand+SourceItem
Ubuntu 7.10 ppc - gnome-dev-cdrom - Mountpoint file:///media/cdrom0 
<file:///media/cdrom0> True True Cdrom
Cdrom
item ImportCommand+SourceItem
Testing gphoto path = usb:
PortInfo Universal Serial Bus, usb:
cleanup context
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to 
handle the exception.
System.OverflowException: Number overflow.
  at LibGPhoto2.CameraFile.GetDataAndSize () [0x00000]
  at GPhotoCamera.GetPreviewPixbuf (.GPhotoCameraFile camfile) [0x00000]
  at FSpot.CameraFileSelectionDialog.GetPreviews () [0x00000]
  at FSpot.CameraFileSelectionDialog.CreateInterface () [0x00000]
  at FSpot.CameraFileSelectionDialog.Run () [0x00000]
  at MainWindow.ImportCamera (System.String camera_device) [0x00000]
  at ImportCommand.set_Source (.SourceItem value) [0x00000]
  at ImportCommand+SourceMenu.HandleActivated (System.Object sender, 
System.EventArgs args) [0x00000]
  at (wrapper delegate-invoke) 
System.MulticastDelegate:invoke_void_object_EventArgs 
(object,System.EventArgs)
  at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr gch) [0x00000]

   at GLib.Signal.voidObjectCallback ()
   at Gtk.Dialog.gtk_dialog_run ()
   at Gtk.Dialog.gtk_dialog_run ()
   at Gtk.Dialog.Run ()
   at ImportCommand.ImportFromFile ()
   at MainWindow.HandleImportCommand ()
   at System.MulticastDelegate.invoke_void_object_EventArgs ()
   at GLib.Signal.voidObjectCallback ()
   at GLib.Signal.voidObjectCallback ()
   at Gtk.Application.gtk_main ()
   at Gtk.Application.gtk_main ()
   at Gtk.Application.Run ()
   at Gnome.Program.Run ()
   at FSpot.Driver.Main ()
cleanup context

gphoto2 -P works well. Its just generating a warning about 
setting file attributes (which is the same on all systems i use to 
download photos from that camera):

*** Fehler ***
canon_usb_set_file_attributes: canon_usb_dialogue failed
Speichere Datei als IMG_5377.JPG
Downloading 'IMG_5378.JPG' from folder '/DCIM/153CANON'...

System specs:
Camera is a Canon EOS 350D (aka. Rebell XT)

iBook G4:
sophie at maia:~$ cat /proc/cpuinfo
processor : 0
cpu : 7447A, altivec supported
clock : 666.666000MHz
revision : 0.1 (pvr 8003 0101)
bogomips : 36.73
timebase : 18432000
platform : PowerMac
machine : PowerBook6,5
motherboard : PowerBook6,5 MacRISC3 Power Macintosh
detected as : 287 (iBook G4)
pmac flags : 0000001b
L2 cache : 512K unified
pmac-generation : NewWorld

Ubuntu 7.10, installed with alternative CD. Everything up to date 
(apt-get upgrade).
libgphoto2-2: Version: 2.4.0-2ubuntu2
f-spot: Version: 0.4.0-0ubuntu3

Important: The import worked without problems on a x86 Notebook 
(Thinkpad R51) with the same Ubuntu version and the same camera!
I guess that LibGPhoto2.CameraFile.GetDataAndSize returns a to large number on PPC...






More information about the Ubuntu-mono mailing list