gottagetit / phoshare

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

Duplicate event folders from iPhoto 9.4 #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Upgrade iPhoto to 9.4
2. Open iPhoto and let it update the library
3. Run Phoshare as normal

What is the expected output? Single folder for each event
What do you see instead? A duplicate folder is created for each event with _(1) 
appended to the end of the event name

What version of the product are you using? 1.4.7
On what operating system? OS X 10.8.2

Please provide any additional information below.
I have not changed any settings.  I ran Phoshare before updating iPhoto and it 
worked as expected.  After updating iPhoto, it is having the issue mentioned 
above.

Original issue reported on code.google.com by RickSchr...@gmail.com on 21 Sep 2012 at 11:22

GoogleCodeExporter commented 8 years ago
I should also mention that I do not have Aperture installed, nor have I ever 
opened my iPhoto library with Aperture.

Original comment by RickSchr...@gmail.com on 21 Sep 2012 at 11:23

GoogleCodeExporter commented 8 years ago
I have also been using Phoshare successfully until this iPhoto 9.4 upgrade.
Now, upon opening Phoshare, I get this error, before I can even do anything.  I 
guess it is happening when Phoshare tries to even read the iPhoto library.

Here is the full error, in case it helps:

Reading iPhoto database from /Volumes/exthd/iPhoto_Library...
Error: <unknown>:174271:61: not well-formed (invalid token)

Traceback (most recent call last):
  File "/Applications/Phoshare.app/Contents/Resources/lib/python2.7/phoshare/phoshare_ui.py", line 896, in export_thread
  File "/Applications/Phoshare.app/Contents/Resources/lib/python2.7/appledata/iphotodata.py", line 697, in get_iphoto_data
  File "/Applications/Phoshare.app/Contents/Resources/lib/python2.7/appledata/applexml.py", line 151, in read_applexml_fixed
  File "/Applications/Phoshare.app/Contents/Resources/lib/python2.7/appledata/applexml.py", line 159, in read_applexml_string
  File "xml/sax/__init__.pyc", line 49, in parseString
  File "xml/sax/expatreader.pyc", line 107, in parse
  File "xml/sax/xmlreader.pyc", line 123, in parse
  File "xml/sax/expatreader.pyc", line 211, in feed
  File "xml/sax/handler.pyc", line 38, in fatalError
SAXParseException: <unknown>:174271:61: not well-formed (invalid token)

Original comment by malto...@gmail.com on 22 Sep 2012 at 12:01

GoogleCodeExporter commented 8 years ago
Forgot to mention, I am also on:
iPhoto 9.4
Phoshare version: 1.4.7
OS: OS X 10.8.2

Original comment by malto...@gmail.com on 22 Sep 2012 at 12:03

GoogleCodeExporter commented 8 years ago
I'm also getting duplications folders with numbers appended like first poster 
mentioned above with iPhoto 9.4.

Original comment by jonathan...@gmail.com on 23 Sep 2012 at 8:42

GoogleCodeExporter commented 8 years ago
This is a problem in iphotodata.py. XML probably change ! but because I don't 
know previous xml, I can't be sure how to correct. A test by changing "Event" 
to "Roll" in init of class IPhotoRoll correct the problem ! but perhaps it 
creates another problem in another export type ! (I only use event export)

Perhaps if I have more time to understand the code I will be able to propose a 
good code.

Original comment by lebuz...@gmail.com on 25 Sep 2012 at 11:03

GoogleCodeExporter commented 8 years ago
Same problem here. Could be a duplicate of #37, since iPhoto now uses the 
Aperture library format afaik.
Ah! And many, many thanks to lebuz... (comment 5), since it solved the problem 
for me too.

Original comment by m...@jordipradel.net on 30 Sep 2012 at 4:22

GoogleCodeExporter commented 8 years ago
The duplicate folder issue will be fixed in Phoshare 1.5.0, to be published 
later today.

The issue in comment 2 is unrelated. That is a library corruption problem that 
Phoshare cannot really work around. It might repair itself if you make changes 
to your library, as iPhoto fully rewrites the file with the corrupted data 
every time it saves changes.

Original comment by tsporkert on 30 Sep 2012 at 10:48

GoogleCodeExporter commented 8 years ago

Original comment by tsporkert on 1 Oct 2012 at 1:59

GoogleCodeExporter commented 8 years ago
Thank you for the fix!  I was having the duplicate folder problem also, since 
iPhoto 9.4.  Thanks for taking the time to create this software, it gives me 
peace of mind in backing up my photos.

Original comment by christa....@gmail.com on 4 Oct 2012 at 3:48