mordoris / phoshare

Automatically exported from code.google.com/p/phoshare
Other
0 stars 0 forks source link

Problem exporting images from Events with accented names. #47

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.  Create a event like "Férias 2012"
2.  Put a movie and a photo
3.  Export

What is the expected output? What do you see instead?

The movie is exported (copied) but the picture is not, it gives a message like 
folder is non-existent

New file: /Users/Rafael/Dropbox/iPhoto Backup/Férias 2012/IMG_0710_1.mov (copy)
New file: /Users/Rafael/Dropbox/iPhoto Backup/Férias 2012/IMG_0711.jpg (resize)
/Users/Shared/iPhoto 
Library/Previews/2012/09/25/20120925-004359/AWxP901EQ7aco3ZB00R8bw/IMG_0711.JPG:
 Error 10: out_dir_not_found /Users/Rafael/Dropbox/iPhoto Backup/Férias 
2012/IMG_0711.jpg
Try 'sips --help' for help using this tool

Changing "Férias 2012" to "Ferias 2012" solves the problem.

What version of the product are you using? On what operating system?

most recent iphoto and mountain lion.

Please provide any additional information below.

Original issue reported on code.google.com by RafaelPo...@gmail.com on 2 Oct 2012 at 7:22

GoogleCodeExporter commented 8 years ago
Are you using the --size option to resize images on export. That option is 
currently not compatible with non-ascii characters in folder or image names. It 
works for your movie file because that doesn't get resized.

Workarounds:
- Don't use the --size option.
- Use {ascii_name} as the folder name template. This will rename your folder to 
  "F?rias 2012".

Unless a Phoshare user with Python experience comes forward and contributes a 
fix (all the source code is distributed with Phoshare), I can't provide a fix.

Original comment by tsporkert on 2 Oct 2012 at 10:24