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 348446 - Image cannot be imported
Image cannot be imported
Status: RESOLVED FIXED
Product: f-spot
Classification: Other
Component: General
0.1.11
Other All
: Normal normal
: ---
Assigned To: F-spot maintainers
F-spot maintainers
Depends on:
Blocks:
 
 
Reported: 2006-07-23 20:22 UTC by Alexander Skwar
Modified: 2006-08-05 11:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Image which couldn't be imported. (511.85 KB, image/jpeg)
2006-07-23 20:25 UTC, Alexander Skwar
Details

Description Alexander Skwar 2006-07-23 20:22:18 UTC
Please describe the problem:
When I try to import a folder containing JPEGs into f-spot 0.1.11 on Ubuntu Dapper 6.06, I find that some images cannot be imported. In the terminal, I see:

Error importing /home/alexander/Desktop/Bilder/Auf Website/Cassandra/Cassandra (34)/04. Mai 2005/[2005-05-27 10-36-01] (1245) Cassandra, Auf Stillkissen, Couch, Wohnzimmer, Zu Hause.jpg
System.ArgumentNullException: Argument cannot be null.
Parameter name: src
in <0x00000> <unknown method>
in (wrapper managed-to-native) System.Runtime.InteropServices.Marshal:copy_from_unmanaged (intptr,int,System.Array,int)
in <0x00013> System.Runtime.InteropServices.Marshal:Copy (IntPtr source, System.Byte[] destination, Int32 startIndex, Int32 length)
in <0x00050> Exif.ExifEntry:get_Data ()
in <0x00054> FSpot.JpegFile:get_Description ()
in <0x0006d> PhotoStore:Create (System.String newPath, System.String origPath, Gdk.Pixbuf thumbnail)
in <0x00013> PhotoStore:Create (System.String path, Gdk.Pixbuf thumbnail)
in <0x000fe> FileImportBackend:Step (.Photo photo, Gdk.Pixbuf thumbnail, System.Int32 count)
Could not import file

I'll attach the image to this bug.

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Alexander Skwar 2006-07-23 20:23:06 UTC
I also reported this bug to my distributor; see https://launchpad.net/distros/ubuntu/+source/f-spot/+bug/53819
Comment 2 Alexander Skwar 2006-07-23 20:25:44 UTC
Created attachment 69438 [details]
Image which couldn't be imported.

This image was stored at /home/alexander/Desktop/Bilder/Auf Website/Cassandra/Cassandra (34)/04. Mai 2005/[2005-05-27 10-36-01] (1245) Cassandra, Auf Stillkissen, Couch, Wohnzimmer, Zu Hause.jpg

/home/alexander/Desktop/Bilder/Auf Website/Cassandra/Cassandra (34)/04. Mai 2005/ is a NFS mount. Other files from this mountpoint and even this directory could be imported just fine.
Comment 3 Bengt Thuree 2006-07-23 22:08:26 UTC
Are you using CVS version or the version of F-Spot that came with Ubuntu?

On CVS head, I can import this picture with out any problems.
Comment 4 Alexander Skwar 2006-07-24 05:47:33 UTC
I'm using the version that's shipped with Ubuntu. Not CVS.

I'm having quite some pictures which couldn't be imported. They all make f-spot generate the same error message on the terminal.
Comment 5 Larry Ewing 2006-07-25 21:42:17 UTC
This bug is fixed in the development brnach and the stable branch.  Ubuntu needs to integrate the patch.
Comment 6 Alexander Skwar 2006-07-25 21:53:53 UTC
Fine, good to know. To make it easier for the Ubuntu people, could you maybe point out, what needs to be changed or if there's a patch that fixed the problem?
Comment 7 Alexander Skwar 2006-08-05 11:36:31 UTC
Could you please tell, where the fix is, so that it can be incorporated into Ubuntu?

Thanks!