GNOME Bugzilla – Bug 530081
No Photo Import from Nikon D40
Last modified: 2008-04-28 09:34:54 UTC
Please describe the problem: Nikon D40 with newest Firmware 1.11. Camera is in PTP-Mode (Mass-Storage did not work in Ubuntu 8.04 with this Firmware). If connecting the Camera, the Ubuntu Import Dialog starts F-Spot and the F-Spot Import Dialog shows the Nikon D40 USB Device twice! Device one is: Nikon DSC D40 (PTP mode) usb: Device two is: Nikon DSC D40 (PTP mode) usb:003,006 With both Devices, the Import fails. Error is: No connection to Camera, unsuspected Error appears. No more Details in messages or syslog. The Camera recognized okay from Ubuntu, other Applications have no problems to import the Pics in PTP-Mode. Steps to reproduce: 1. Switch the Camera (Firmware 1.11) to PTP-Mode 2. Connect Camera 3. Choose Import from the Dialog 4. Choose one of the two Devices in F-Spot Import Dialog Actual results: No connection to the Camera Expected results: Does this happen every time? Yes Other information: Only F-Spot has this Problem.
Thanks for your bug report! We need some more information to help fix the problem. Can you tell us which version of Ubuntu you are using, and which version of the libgphoto2-2 package you have installed? The architecture of your machine (x86/amd64/ppc) might also be relevant. Which applications in particular are able to import from your camera? Then, if you could run 'f-spot --debug' on a console and paste a copy of the error messages into this bug report, that might also reveal some details about the problem.
(In reply to comment #1) > Thanks for your bug report! We need some more information to help fix the > problem. > > Can you tell us which version of Ubuntu you are using, and which version of the > libgphoto2-2 package you have installed? The architecture of your machine > (x86/amd64/ppc) might also be relevant. Which applications in particular are > able to import from your camera? > > Then, if you could run 'f-spot --debug' on a console and paste a copy of the > error messages into this bug report, that might also reveal some details about > the problem. > OS is Ubuntu 8.04. One fresh install and one Update from 7.10 libgphoto2-2-Version is 2.4.0-8ubuntu6 Machine Architecture is x86 and amd64. Error appears on both machines. gThumb is able to import the Pics from the camera. Debug-Mode Error Message: ** Running f-spot in Debug Mode ** ** Running Mono with --debug ** Starting new FSpot server Reloading item changed item ImportCommand+SourceItem Testing gphoto path = usb: PortInfo Universal Serial Bus, usb: Error GeneraError: LibGPhoto2.GPhotoException: Unspezifizierter Fehler at LibGPhoto2.CameraFilesystem.ListFiles (System.String folder, LibGPhoto2.Context context) [0x00000] at GPhotoCamera.GetFileList (System.String dir) [0x00000] at GPhotoCamera.GetFileList (System.String dir) [0x00000] at GPhotoCamera.GetFileList () [0x00000] at GPhotoCamera.InitializeCamera () [0x00000] at MainWindow.ImportCamera (System.String camera_device) [0x00000] (f-spot:20284): 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. cleanup context
not related to ubuntu, nor nikon, nor the firmware, just due to the newest mono stack. already fixed in svn and in the FSPOT_0_4_2_STABLE branch. Please open a bug in ubuntu so they'll bundle the fix in their 0.4.2 package. *** This bug has been marked as a duplicate of 528162 ***
This is a crash in LibGPhoto2.CameraFilesystem.ListFiles, not LibGPhoto2.CameraList.GetValue, and Ubuntu doesn't have Mono 1.9 yet. Are you sure?
mmm, no, not 100%... reopening...
let me see if I can reproduce that with my d80... though it never worked in ptp at all...
ok, I can reproduce this on my d80
fixed in r3853