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 331524 - Cancel import from camera makes it impossible to reimport
Cancel import from camera makes it impossible to reimport
Status: RESOLVED DUPLICATE of bug 168091
Product: f-spot
Classification: Other
Component: General
CVS
Other All
: Normal normal
: ---
Assigned To: F-spot maintainers
F-spot maintainers
Depends on:
Blocks:
 
 
Reported: 2006-02-17 10:24 UTC by Bengt Thuree
Modified: 2006-02-22 08:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bengt Thuree 2006-02-17 10:24:48 UTC
Please describe the problem:
If you cancel an started import session from a Camera, and then restart it
again, you will only get an "Error connecting to...." and can not import.

Steps to reproduce:
1. Import photos from Camera
2. Cancel in the middle of import
3. Import photos from Camera



Actual results:
Exception, Can not connect to camera the second time.

Expected results:
Importing the photos from the camera.

Does this happen every time?
Yes

Other information:
Running Ubuntu/Dapper with Libgphoto2 version 2.1.6-5.2ubuntu3

bengt@jolly:~/CVS/f-spot/f-spot/src$ ./f-spot
*** Running uninstalled f-spot ***
Starting new FSpot server
/boot - gnome-dev-harddisk - Mountpoint file:///boot False True Harddrive
Harddrive
/ - gnome-dev-harddisk - Mountpoint file:/// False True Harddrive
Harddrive
9.3 GB Volume - gnome-dev-harddisk - Mountpoint file:///extra2 False True Harddrive
Harddrive
110.8 GB Volume - gnome-dev-harddisk - Mountpoint file:///extra False True Harddrive
Harddrive
run - gnome-dev-harddisk - Mountpoint file:///var/run False True Harddrive
lock - gnome-dev-harddisk - Mountpoint file:///var/lock False True Harddrive
sys - gnome-dev-harddisk - Mountpoint file:///sys False True Harddrive
binfmt_misc - gnome-dev-harddisk - Mountpoint file:///proc/sys/fs/binfmt_misc
False True Harddrive
proc - gnome-dev-harddisk - Mountpoint file:///proc False True Harddrive
volatile - gnome-dev-harddisk - Mountpoint
file:///lib/modules/2.6.15-15-386/volatile False True Harddrive
pictures - gnome-fs-nfs - Mountpoint file:///home/pictures False True Nfs
music - gnome-fs-nfs - Mountpoint file:///home/music False True Nfs
movies - gnome-fs-nfs - Mountpoint file:///home/movies False True Nfs
bengt - gnome-fs-nfs - Mountpoint file:///home/bengt False True Nfs
shm - gnome-dev-harddisk - Mountpoint file:///dev/shm False True Harddrive
pts - gnome-dev-harddisk - Mountpoint file:///dev/pts False True Harddrive
dev - gnome-dev-harddisk - Mountpoint file:///dev False True Harddrive
Root Volume - gnome-dev-harddisk - Mountpoint file:/// False True Harddrive
Harddrive
item ImportCommand+SourceItem
Testing gphoto path = usb:001,006
PortInfo Universal Serial Bus, usb:001,006
System.Threading.ThreadAbortException: Thread was being aborted
in <0x00000> <unknown method>
in (wrapper managed-to-native)
System.Object:__icall_wrapper_mono_thread_interruption_checkpoint ()
in (wrapper managed-to-native)
LibGPhoto2.CameraFilesystem:gp_filesystem_get_file
(System.Runtime.InteropServices.HandleRef,string,string,LibGPhoto2.CameraFileType,System.Runtime.InteropServices.HandleRef,System.Runtime.InteropServices.HandleRef)
in <0x0009c> LibGPhoto2.CameraFilesystem:GetFile (System.String folder,
System.String filename, CameraFileType type, LibGPhoto2.Context context)
in <0x000af> GPhotoCamera:GetFile (Int32 index)
in <0x00041> GPhotoCamera:SaveFile (Int32 index, System.String filename)
in <0x0015a> FSpot.CameraFileSelectionDialog:SaveFile (Int32 index)
in <0x00140> FSpot.CameraFileSelectionDialog:Download ()
Calling Import
Reloading
cleanup context

(f-spot:16089): Gtk-CRITICAL **: gtk_paint_box: assertion `style->depth ==
gdk_drawable_get_depth (window)' failed

(f-spot:16089): Gtk-CRITICAL **: gtk_paint_layout: assertion `style->depth ==
gdk_drawable_get_depth (window)' failed

(f-spot:16089): Gtk-CRITICAL **: gtk_paint_layout: assertion `style->depth ==
gdk_drawable_get_depth (window)' failed

(f-spot:16089): Gtk-CRITICAL **: gtk_paint_box: assertion `style->depth ==
gdk_drawable_get_depth (window)' failed

(f-spot:16089): Gtk-CRITICAL **: gtk_paint_layout: assertion `style->depth ==
gdk_drawable_get_depth (window)' failed

(f-spot:16089): Gtk-CRITICAL **: gtk_paint_layout: assertion `style->depth ==
gdk_drawable_get_depth (window)' failed
cleanup context
/boot - gnome-dev-harddisk - Mountpoint file:///boot False True Harddrive
Harddrive
/ - gnome-dev-harddisk - Mountpoint file:/// False True Harddrive
Harddrive
9.3 GB Volume - gnome-dev-harddisk - Mountpoint file:///extra2 False True Harddrive
Harddrive
110.8 GB Volume - gnome-dev-harddisk - Mountpoint file:///extra False True Harddrive
Harddrive
run - gnome-dev-harddisk - Mountpoint file:///var/run False True Harddrive
lock - gnome-dev-harddisk - Mountpoint file:///var/lock False True Harddrive
sys - gnome-dev-harddisk - Mountpoint file:///sys False True Harddrive
binfmt_misc - gnome-dev-harddisk - Mountpoint file:///proc/sys/fs/binfmt_misc
False True Harddrive
proc - gnome-dev-harddisk - Mountpoint file:///proc False True Harddrive
volatile - gnome-dev-harddisk - Mountpoint
file:///lib/modules/2.6.15-15-386/volatile False True Harddrive
pictures - gnome-fs-nfs - Mountpoint file:///home/pictures False True Nfs
music - gnome-fs-nfs - Mountpoint file:///home/music False True Nfs
movies - gnome-fs-nfs - Mountpoint file:///home/movies False True Nfs
bengt - gnome-fs-nfs - Mountpoint file:///home/bengt False True Nfs
shm - gnome-dev-harddisk - Mountpoint file:///dev/shm False True Harddrive
pts - gnome-dev-harddisk - Mountpoint file:///dev/pts False True Harddrive
dev - gnome-dev-harddisk - Mountpoint file:///dev False True Harddrive
Root Volume - gnome-dev-harddisk - Mountpoint file:/// False True Harddrive
Harddrive
item ImportCommand+SourceItem
Testing gphoto path = usb:001,006
PortInfo Universal Serial Bus, usb:001,006
Error Lock: LibGPhoto2.GPhotoException: Could not lock the device
in <0x00031> LibGPhoto2.Error:CheckError (ErrorCode error)
in <0x00053> LibGPhoto2.Camera:Init (LibGPhoto2.Context context)
in <0x00020> GPhotoCamera:InitializeCamera ()
in <0x001e3> MainWindow:ImportCamera (System.String camera_device)
Comment 1 Bengt Thuree 2006-02-18 05:58:04 UTC
Similar to bug #168091 – "Error connecting to camera" upon second import
Comment 2 Gabriel Burt 2006-02-22 08:14:26 UTC
I don't see any reason to keep this as a separate issue.

*** This bug has been marked as a duplicate of 168091 ***