emmanuelguerin / phoshare

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

Error when exporting iphoto library #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have a 66,000 pic iPhoto library that I have been exporting with Phoshare 
1.0.6 using the command line: 

/Applications/Phoshare.app/Contents/Resources/Phoshare.py -e . -d -k -u --size 
1920x1920^ --iphoto "~/Pictures/iPhoto Library" --export "~/Dropbox/iPhoto 
Backup"

Phoshare gets through about 6,000 photos and then presents the following error 
(consistently -- happens when rerunning Phoshare too...)

New file: /Users/dan/Dropbox/iPhoto 
Backup/08_06_2010/FacebookHomescreenImage.jpg (convert)
Traceback (most recent call last):
  File "/Applications/Phoshare.app/Contents/Resources/Phoshare.py", line 918, in <module>
    main()
  File "/Applications/Phoshare.app/Contents/Resources/Phoshare.py", line 914, in main
    exclude_folders, options)
  File "/Applications/Phoshare.app/Contents/Resources/Phoshare.py", line 774, in export_iphoto
    self.generate_files(options)
  File "/Applications/Phoshare.app/Contents/Resources/Phoshare.py", line 745, in generate_files
    self.named_folders[ndir].generate_files(options)
  File "/Applications/Phoshare.app/Contents/Resources/Phoshare.py", line 582, in generate_files
    self.files[f].generate(options)
  File "/Applications/Phoshare.app/Contents/Resources/Phoshare.py", line 269, in generate
    self.check_iptc_data(self.export_file, options)
  File "/Applications/Phoshare.app/Contents/Resources/Phoshare.py", line 353, in check_iptc_data
    export_file)
  File "/Applications/Phoshare.app/Contents/Resources/tilutil/exiftool.py", line 101, in get_iptc_data
    date_time_original = time.strptime(xml_element.firstChild.nodeValue,
AttributeError: 'NoneType' object has no attribute 'nodeValue'

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

1.0.6 on OS X 10.6.4. 

Please provide any additional information below.

The photos that seem to be faulting it were taken on a Blackberry. Tilman, if 
you would like a copy of the folder of images, email me at dan@danwarnemail.com.

Original issue reported on code.google.com by dancoll...@gmail.com on 23 Sep 2010 at 1:20

GoogleCodeExporter commented 8 years ago
Fixed in Phoshare 1.1.

Original comment by tsporkert on 25 Sep 2010 at 1:01