mordoris / phoshare

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

Error: nothing to repeat #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, despite being completely naieve about script etc, I have used phoshare with 
success for balancing iphoto and picasa.

Unfortunately, seemingly out of the blue I have encountered a problem when 
running phoshare. Instead of running through my events and updating any changes 
to the Albums folder (which I have been able to do numerous times with no 
problems), I now get an error every time...

The read out is as follows:
**
Reading iPhoto database from /Users/XandY/Pictures/iPhoto Library...
Version 9.1.1 library with 9143 images
Phoshare.py --export "/Users/XandY/Pictures/Album" --iphoto 
"/Users/danandgen/Pictures/iPhoto Library" --events "*.*" --foldertemplate 
"{name}" --nametemplate "{title}" --captiontemplate "{description}" --link
Scanning iPhoto data for photos to export...
Error: nothing to repeat

Traceback (most recent call last):
  File "/Applications/Phoshare.app/Contents/Resources/lib/python2.7/phoshare/phoshare_ui.py", line 976, in export_thread
  File "/Applications/Phoshare.app/Contents/Resources/lib/python2.7/phoshare/phoshare_main.py", line 711, in export_iphoto
  File "/Applications/Phoshare.app/Contents/Resources/lib/python2.7/phoshare/phoshare_main.py", line 578, in process_albums
  File "re.pyc", line 190, in compile
  File "re.pyc", line 245, in _compile
error: nothing to repeat
**

Any assistance with getting phoshare to work again would be apreciated by this 
novice.
Thanks
Dan

Original issue reported on code.google.com by dedwards...@gmail.com on 27 Feb 2011 at 6:18

GoogleCodeExporter commented 8 years ago
Dan,
  your event pattern (from --events "*.*") is not valid. The "*" means to match the preceding element 0 or more times, and "." is a wildcard (matches any character). To export all your events, use ".*". 

If you want all the details: http://en.wikipedia.org/wiki/Regular_expression

Original comment by tsporkert on 27 Feb 2011 at 6:27

GoogleCodeExporter commented 8 years ago
Thanks tsporkert - It was a dumb mistake - I appreciate your patience!

Original comment by dedwards...@gmail.com on 27 Feb 2011 at 9:35