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 530081 - No Photo Import from Nikon D40
No Photo Import from Nikon D40
Status: RESOLVED FIXED
Product: f-spot
Classification: Other
Component: Import
0.4.x
Other All
: Normal major
: ---
Assigned To: F-spot maintainers
F-spot maintainers
Depends on:
Blocks:
 
 
Reported: 2008-04-26 15:33 UTC by kronemeyer
Modified: 2008-04-28 09:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description kronemeyer 2008-04-26 15:33:50 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.
Comment 1 Tim Retout 2008-04-26 19:40:21 UTC
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.
Comment 2 kronemeyer 2008-04-27 11:52:48 UTC
(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
Comment 3 Stephane Delcroix 2008-04-28 06:54:59 UTC
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 ***
Comment 4 Tim Retout 2008-04-28 07:10:44 UTC
This is a crash in LibGPhoto2.CameraFilesystem.ListFiles, not LibGPhoto2.CameraList.GetValue, and Ubuntu doesn't have Mono 1.9 yet. Are you sure?
Comment 5 Stephane Delcroix 2008-04-28 07:50:48 UTC
mmm, no, not 100%... reopening...
Comment 6 Stephane Delcroix 2008-04-28 07:51:43 UTC
let me see if I can reproduce that with my d80... though it never worked in ptp at all...
Comment 7 Stephane Delcroix 2008-04-28 09:03:21 UTC
ok, I can reproduce this on my d80
Comment 8 Stephane Delcroix 2008-04-28 09:34:54 UTC
fixed in r3853