i am trying to understand how your script works. Can you give me a very brief how to use and how it works?
EDIT: this is what i am getting on a test database, but when looking a the sql file, i cannot really find anything wrong.. what am i missing?:
python3 main.py /Users/user/Desktop/test/test.lrcat
Transitioning /Users/user/Desktop/test/test.lrcat
Traceback (most recent call last):
File "/Volumes/Data/Downloads/Misc/lightroom-export-master/LightroomExport/main.py", line 797, in <module>
main(database_path)
File "/Volumes/Data/Downloads/Misc/lightroom-export-master/LightroomExport/main.py", line 286, in main
photo_details = get_all_photo_details(db_connection)
File "/Volumes/Data/Downloads/Misc/lightroom-export-master/LightroomExport/main.py", line 423, in get_all_photo_details
'name': extract_name_from_xmp(xmp),
File "/Volumes/Data/Downloads/Misc/lightroom-export-master/LightroomExport/main.py", line 444, in extract_name_from_xmp
xml_tree = ElementTree.fromstring(xmp)
File "/usr/local/Cellar/[email protected]/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/xml/etree/ElementTree.py", line 1347, in XML
parser.feed(text)
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 1, column 0