Comment 9 for bug 354264

Revision history for this message
Graham Bleach (graham-launchpad) wrote :

The problem was caused by ubuntu_importer-targetdir-selector.dpatch:

+ if (File.Exists(FSpot.Global.PhotoDirectory))

According to Microsoft's C# documentation, File.Exists will always return false when passed a directory path. It should be calling Directory.Exists. Having made this change locally, the bug is fixed for me (by default it chooses the directory set in my config and uses YYYY/MM/DD subdirectories).

So really, I'm not sure how this could ever have worked, or why it couldn't be reproduced. Pedro, are you sure:

- that you are actually using f-spot from ubuntu
- that you are not taking any action to select an import directory
- that the image files are being placed in YYYY/MM/DD subfolders

I have attached a patch for karmic. I am more than happy to do so for jaunty if it has any chance of getting uploaded and if someone explains what the new version number should be.