[ubuntu-mono] [Bug 103720] f-spot fails to import images with a space in there name

wax wax at edpnet.be
Fri Apr 6 13:09:38 UTC 2007


Public bug reported:

Binary package hint: f-spot

I searched trough the bugs and i can find import bugs but not exactly
the same as mine so i hope this is not a duplicate

 I use ubuntu 7.04 and f-spot 0.3.5-2
When i want to import images, f-spot starts to import but when it has a file with space in the name, it stops and does not import any further. It is a bit strange as it does import an image that is called foto 18.jpg but not a picture that is called" Kat leeuw.jpeg", but i think it's because in the last case the space is somehow represented by a %20 (i got the image from the web) and in the first case i got the image directly from my camera 
it seems that the problem only occurs on images witch i downloaded from the net


open uri = file:///home/wax/Photos/2004/07/12/Foto 018.jpg
open uri = file:///media/hda3/Mijn afbeeldingen/IM002024.jpg
System.FormatException: Input string was not in the correct format
  at System.Int32.Parse (System.String s) [0x00000]
  at FSpot.Tiff.DirectoryEntry.DateTimeFromString (System.String dt) [0x00000]
  at FSpot.JpegFile.get_Date () [0x00000]
open uri = file:///media/hda3/Mijn afbeeldingen/IM002024.jpg
System.FormatException: Input string was not in the correct format
  at System.Int32.Parse (System.String s) [0x00000]
  at FSpot.Tiff.DirectoryEntry.DateTimeFromString (System.String dt) [0x00000]
  at FSpot.JpegFile.get_Date () [0x00000]
System.Exception: Invalid UserComment value, no charset found
  at FSpot.Tiff.UserComment..ctor (System.Byte[] raw_data, Boolean little) [0x00000]
  at FSpot.Tiff.DirectoryEntry.get_UserCommentValue () [0x00000]
  at FSpot.Tiff.DirectoryEntry.get_ValueAsString () [0x00000]
  at FSpot.JpegFile.get_Description () [0x00000]
error checking orientation
open uri = file:///home/wax/Photos/2007/01/28/IM002024.jpg
error parsing
System.FormatException: Input string was not in the correct format
  at System.Int32.Parse (System.String s) [0x00000]
  at FSpot.Tiff.DirectoryEntry.DateTimeFromString (System.String dt) [0x00000]
  at FSpot.Tiff.DirectoryEntry.get_ValueAsDate () [0x00000]
  at FSpot.Tiff.Header.SelectDirectory (FSpot.Tiff.ImageDirectory dir, StatementSink sink) [0x00000]
error parsing
System.FormatException: Input string was not in the correct format
  at System.Int32.Parse (System.String s) [0x00000]
  at FSpot.Tiff.DirectoryEntry.DateTimeFromString (System.String dt) [0x00000]
  at FSpot.Tiff.DirectoryEntry.get_ValueAsDate () [0x00000]
  at FSpot.Tiff.Header.SelectDirectory (FSpot.Tiff.ImageDirectory dir, StatementSink sink) [0x00000]
System.Exception: Invalid UserComment value, no charset found
  at FSpot.Tiff.UserComment..ctor (System.Byte[] raw_data, Boolean little) [0x00000]
  at FSpot.Tiff.DirectoryEntry.get_UserCommentValue () [0x00000]
  at FSpot.Tiff.DirectoryEntry.get_ValueAsString () [0x00000]
  at FSpot.Tiff.Header.SelectDirectory (FSpot.Tiff.ImageDirectory dir, StatementSink sink) [0x00000]
  at FSpot.Tiff.Header.SelectDirectory (FSpot.Tiff.ImageDirectory dir, StatementSink sink) [0x00000]
open uri = file:///media/hda3/Mijn afbeeldingen/Kat leeuw.jpeg
System.IO.FileNotFoundException: Could not find uri "file:///media/hda3/Mijn afbeeldingen/Kat leeuw.jpeg".
  at Gnome.Vfs.VfsStream..ctor (System.String text_uri, FileMode mode, Boolean async) [0x00000]
  at Gnome.Vfs.VfsStream..ctor (System.String uri, FileMode mode) [0x00000]
  at (wrapper remoting-invoke-with-check) Gnome.Vfs.VfsStream:.ctor (string,System.IO.FileMode)
  at FSpot.ImageFile.Open () [0x00000]
  at FSpot.JpegFile.get_Header () [0x00000]
  at FSpot.JpegFile.get_ExifHeader () [0x00000]
  at FSpot.JpegFile.get_Date () [0x00000]
Error importing /media/hda3/Mijn afbeeldingen/Kat%20leeuw.jpeg
System.IO.FileNotFoundException: file:///media/hda3/Mijn afbeeldingen/Kat leeuw.jpeg
  at Gnome.Vfs.Vfs.ThrowException (System.String uri, Result result) [0x00000]
  at Gnome.Vfs.Vfs.ThrowException (Gnome.Vfs.Uri uri, Result result) [0x00000]
  at Gnome.Vfs.FileInfo..ctor (Gnome.Vfs.Uri uri, FileInfoOptions options) [0x00000]
  at Gnome.Vfs.FileInfo..ctor (System.String uri, FileInfoOptions options) [0x00000]
  at Gnome.Vfs.FileInfo..ctor (System.String uri) [0x00000]
  at FSpot.ImageFile.get_Date () [0x00000]
  at FSpot.JpegFile.get_Date () [0x00000]
  at FileImportBackend.ChooseLocation (System.String path, System.Collections.Stack created_directories) [0x00000]
  at FileImportBackend.Step (.Photo& photo, Gdk.Pixbuf& thumbnail, System.Int32& count) [0x00000]

** Affects: f-spot (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
f-spot fails to import images with a space in there name
https://bugs.launchpad.net/bugs/103720
You received this bug notification because you are a member of MOTU Mono
Team, which is a bug contact for f-spot in ubuntu.




More information about the Ubuntu-mono mailing list