Hi all, hi Jingai,
I'm running XBMC 12.2 Frodo on a OSX 10.8.4 iMac and have the iPhoto Add-on 2.1.6 installed. I do not use iPhoto, but Aperture. I have set the path to the Aperture library in the settings panel - it is a referenced library, with the pictures on a NAS.
It wasn't clear to me how to write the "Local root path to Masters". I set it to smb://NAS/Public/FOTOS/. The FOTOS folder contains subfolders with the respective pictures. What is meant by "Rewrite root path as"? These two settings do not to seem to be the issue.
The main problem is that the add-on is looking for the iPhoto library (which does not even exist) instead of the Aperture library that I have specified. So, the update library command yields the error "iPhoto Library import failed" followed by "iPhoto database reset".
The add-on detects an Aperture library version 3.4.5, but then things go astray.
Could someone please look into this an maybe suggest a solution? I would really like to use this add-on for my pictures.
Thank you!
Raphael
Please find the xbmc.log below:
Code:
21:54:57 T:140735149183360 DEBUG: ADDON: cpluff: 'Plug-in plugin.image.iphoto has been installed.'
21:55:36 T:140735149183360 DEBUG: POParser: loaded 80 strings from file /Users/Raphael/Library/Application Support/XBMC/addons/plugin.image.iphoto/resources/language/English/strings.po
21:58:15 T:140735149183360 DEBUG: ExecuteXBMCAction : To RunAddon(plugin.image.iphoto)
21:58:16 T:140735149183360 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.image.iphoto)
21:58:16 T:140735149183360 DEBUG: ParentPath = [plugin://plugin.image.iphoto]
21:58:16 T:140735149183360 DEBUG: StartScript - calling plugin iPhoto('plugin://plugin.image.iphoto/','1','')
21:58:16 T:140735149183360 DEBUG: WaitOnScriptResult - waiting on the iPhoto (id=6) plugin...
21:58:16 T:4529246208 DEBUG: Process - The source file to load is /Users/Raphael/Library/Application Support/XBMC/addons/plugin.image.iphoto/addon.py
21:58:16 T:4529246208 DEBUG: Process - Setting the Python path to /Users/Raphael/Library/Application Support/XBMC/addons/plugin.image.iphoto:/Applications/XBMC.app/Contents/Resources/XBMC/addons/script.module.simplejson/lib:/Applications/XBMC.app/Contents/Resources/XBMC/addons/script.module.pil/lib:/Users/Raphael/Library/Application Support/XBMC/addons/script.common.plugin.cache/lib:/Users/Raphael/Library/Application Support/XBMC/addons/script.module.elementtree/lib:/Applications/XBMC.app/Contents/Resources/XBMC/addons/script.module.pysqlite/lib:/Applications/XBMC.app/Contents/Frameworks:/Applications/XBMC.app/Contents/Frameworks/lib/python26.zip:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/plat-darwin:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/plat-mac:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/plat-mac/lib-scriptpackages:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/lib-tk:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/lib-old:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/lib-dynload:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/site-packages:
21:58:16 T:4529246208 DEBUG: Process - Entering source directory /Users/Raphael/Library/Application Support/XBMC/addons/plugin.image.iphoto
21:58:16 T:4529246208 DEBUG: Instantiating addon using automatically obtained id of "plugin.image.iphoto" dependent on version 2.1.0 of the xbmc.python api
21:58:16 T:4529246208 NOTICE: iphoto.db: Opening database: /Users/Raphael/Library/Application Support/XBMC/userdata/addon_data/plugin.image.iphoto/iphoto.db
21:58:16 T:4529246208 DEBUG: POParser: loaded 80 strings from file /Users/Raphael/Library/Application Support/XBMC/addons/plugin.image.iphoto/resources/language/English/strings.po
21:58:16 T:4529246208 NOTICE: iphoto.db: Closing database
21:58:16 T:140735149183360 DEBUG: waiting for python thread 6 (/Users/Raphael/Library/Application Support/XBMC/addons/plugin.image.iphoto/addon.py) to stop
21:58:16 T:140735149183360 DEBUG: python thread 6 (/Users/Raphael/Library/Application Support/XBMC/addons/plugin.image.iphoto/addon.py) destructed
21:58:21 T:4657201152 WARNING: CreateLoader - Unsupported protocol(plugin) in plugin://plugin.image.iphoto/?action=textview&file=README.txt
21:58:21 T:4657201152 DEBUG: GetImageHash - unable to stat url plugin://plugin.image.iphoto/?action=textview&file=README.txt
21:58:21 T:4657201152 WARNING: CreateLoader - Unsupported protocol(plugin) in plugin://plugin.image.iphoto/?action=rescan
21:58:21 T:4657201152 DEBUG: GetImageHash - unable to stat url plugin://plugin.image.iphoto/?action=rescan
21:58:22 T:140735149183360 DEBUG: RunScriptWithParams - calling plugin iPhoto('plugin://plugin.image.iphoto/','-1','?action=rescan')
21:58:22 T:4686647296 DEBUG: Process - The source file to load is /Users/Raphael/Library/Application Support/XBMC/addons/plugin.image.iphoto/addon.py
21:58:22 T:4686647296 DEBUG: Process - Setting the Python path to /Users/Raphael/Library/Application Support/XBMC/addons/plugin.image.iphoto:/Applications/XBMC.app/Contents/Resources/XBMC/addons/script.module.simplejson/lib:/Applications/XBMC.app/Contents/Resources/XBMC/addons/script.module.pil/lib:/Users/Raphael/Library/Application Support/XBMC/addons/script.common.plugin.cache/lib:/Users/Raphael/Library/Application Support/XBMC/addons/script.module.elementtree/lib:/Applications/XBMC.app/Contents/Resources/XBMC/addons/script.module.pysqlite/lib:/Applications/XBMC.app/Contents/Frameworks:/Applications/XBMC.app/Contents/Frameworks/lib/python26.zip:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/plat-darwin:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/plat-mac:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/plat-mac/lib-scriptpackages:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/lib-tk:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/lib-old:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/lib-dynload:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/site-packages:
21:58:22 T:4686647296 DEBUG: Process - Entering source directory /Users/Raphael/Library/Application Support/XBMC/addons/plugin.image.iphoto
21:58:22 T:4686647296 DEBUG: Instantiating addon using automatically obtained id of "plugin.image.iphoto" dependent on version 2.1.0 of the xbmc.python api
21:58:22 T:4686647296 NOTICE: iphoto.db: Opening database: /Users/Raphael/Library/Application Support/XBMC/userdata/addon_data/plugin.image.iphoto/iphoto.db
21:58:22 T:4686647296 NOTICE: iphoto.parser: Library source is Aperture
21:58:22 T:4686647296 NOTICE: iphoto.parser: Reading '/Users/Raphael/Library/Application Support/XBMC/userdata/addon_data/plugin.image.iphoto/iphoto.xml'
21:58:22 T:4686647296 NOTICE: iphoto.parser: Rewriting referenced masters path 'smb://NAS/Public/FOTOS/'
21:58:22 T:4686647296 NOTICE: iphoto.parser: as 'smb://NAS/Public/FOTOS/'
21:58:22 T:4686647296 DEBUG: POParser: loaded 80 strings from file /Users/Raphael/Library/Application Support/XBMC/addons/plugin.image.iphoto/resources/language/English/strings.po
21:58:22 T:4686647296 NOTICE: iphoto.db: Resetting database
21:58:22 T:4686647296 NOTICE: iphoto.db: Initializing database
21:58:22 T:4686647296 NOTICE: iphoto.db: InitDB: Created table: config
21:58:22 T:4686647296 NOTICE: iphoto.db: InitDB: Created table: media
21:58:22 T:4686647296 NOTICE: iphoto.db: InitDB: Created table: mediatypes
21:58:22 T:4686647296 NOTICE: iphoto.db: InitDB: Created table: rolls
21:58:22 T:4686647296 NOTICE: iphoto.db: InitDB: Created table: rollmedia
21:58:22 T:4686647296 NOTICE: iphoto.db: InitDB: Created table: albums
21:58:22 T:4686647296 NOTICE: iphoto.db: InitDB: Created table: albummedia
21:58:22 T:4686647296 NOTICE: iphoto.db: InitDB: Created table: faces
21:58:22 T:4686647296 NOTICE: iphoto.db: InitDB: Created table: facesmedia
21:58:22 T:4686647296 NOTICE: iphoto.db: InitDB: Created table: places
21:58:22 T:4686647296 NOTICE: iphoto.db: InitDB: Created table: placesmedia
21:58:22 T:4686647296 NOTICE: iphoto.db: InitDB: Created table: keywords
21:58:22 T:4686647296 NOTICE: iphoto.db: InitDB: Created table: keywordmedia
21:58:22 T:4686647296 NOTICE: iphoto.parser: Detected Aperture Version 3.4.5
21:58:22 T:4686647296 NOTICE: iphoto.parser: Rewriting archive path '/Users/Raphael/Pictures/Aperture Library.aplibrary'
21:58:22 T:4686647296 NOTICE: iphoto.parser: as '/Users/Raphael/Pictures/Aperture Library.aplibrary/'
21:58:22 T:4686647296 NOTICE: iphoto.parser: Parse: not well-formed (invalid token): line 17642, column 28
21:58:22 T:4686647296 NOTICE: iphoto.parser: Parse failed
21:58:22 T:4686647296 ERROR: File "/Users/Raphael/Library/Application Support/XBMC/addons/plugin.image.iphoto/addon.py", line 938, in <module>
21:58:22 T:4686647296 ERROR: action_result = iphoto.import_library()
21:58:22 T:4686647296 ERROR: File "/Users/Raphael/Library/Application Support/XBMC/addons/plugin.image.iphoto/addon.py", line 357, in import_library
21:58:22 T:4686647296 NOTICE: iphoto.db: Closing database
21:58:22 T:4686647296 NOTICE: iphoto.gui: Library import failed
21:58:22 T:140735149183360 DEBUG: RunScriptWithParams - calling plugin iPhoto('plugin://plugin.image.iphoto/','-1','?action=resetdb&noconfirm=1')
21:58:22 T:4700811264 DEBUG: Process - The source file to load is /Users/Raphael/Library/Application Support/XBMC/addons/plugin.image.iphoto/addon.py
21:58:22 T:4700811264 DEBUG: Process - Setting the Python path to /Users/Raphael/Library/Application Support/XBMC/addons/plugin.image.iphoto:/Applications/XBMC.app/Contents/Resources/XBMC/addons/script.module.simplejson/lib:/Applications/XBMC.app/Contents/Resources/XBMC/addons/script.module.pil/lib:/Users/Raphael/Library/Application Support/XBMC/addons/script.common.plugin.cache/lib:/Users/Raphael/Library/Application Support/XBMC/addons/script.module.elementtree/lib:/Applications/XBMC.app/Contents/Resources/XBMC/addons/script.module.pysqlite/lib:/Applications/XBMC.app/Contents/Frameworks:/Applications/XBMC.app/Contents/Frameworks/lib/python26.zip:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/plat-darwin:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/plat-mac:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/plat-mac/lib-scriptpackages:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/lib-tk:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/lib-old:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/lib-dynload:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/site-packages:
21:58:22 T:4700811264 DEBUG: Process - Entering source directory /Users/Raphael/Library/Application Support/XBMC/addons/plugin.image.iphoto
21:58:22 T:4700811264 DEBUG: Instantiating addon using automatically obtained id of "plugin.image.iphoto" dependent on version 2.1.0 of the xbmc.python api
21:58:22 T:140735149183360 DEBUG: waiting for python thread 7 (/Users/Raphael/Library/Application Support/XBMC/addons/plugin.image.iphoto/addon.py) to stop
21:58:22 T:140735149183360 DEBUG: python thread 7 (/Users/Raphael/Library/Application Support/XBMC/addons/plugin.image.iphoto/addon.py) destructed
21:58:22 T:4700811264 DEBUG: POParser: loaded 80 strings from file /Users/Raphael/Library/Application Support/XBMC/addons/plugin.image.iphoto/resources/language/English/strings.po
21:58:22 T:4700811264 NOTICE: iphoto.gui: Database reset
21:58:23 T:140735149183360 DEBUG: waiting for python thread 8 (/Users/Raphael/Library/Application Support/XBMC/addons/plugin.image.iphoto/addon.py) to stop
21:58:23 T:140735149183360 DEBUG: python thread 8 (/Users/Raphael/Library/Application Support/XBMC/addons/plugin.image.iphoto/addon.py) destructed
21:58:23 T:140735149183360 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.image.iphoto)
21:58:23 T:140735149183360 DEBUG: ParentPath = [plugin://plugin.image.iphoto]
21:58:23 T:4660871168 DEBUG: StartScript - calling plugin iPhoto('plugin://plugin.image.iphoto/','2','')
21:58:23 T:4660871168 DEBUG: WaitOnScriptResult - waiting on the iPhoto (id=9) plugin...
21:58:23 T:4686647296 DEBUG: Process - The source file to load is /Users/Raphael/Library/Application Support/XBMC/addons/plugin.image.iphoto/addon.py
21:58:23 T:4686647296 DEBUG: Process - Setting the Python path to /Users/Raphael/Library/Application Support/XBMC/addons/plugin.image.iphoto:/Applications/XBMC.app/Contents/Resources/XBMC/addons/script.module.simplejson/lib:/Applications/XBMC.app/Contents/Resources/XBMC/addons/script.module.pil/lib:/Users/Raphael/Library/Application Support/XBMC/addons/script.common.plugin.cache/lib:/Users/Raphael/Library/Application Support/XBMC/addons/script.module.elementtree/lib:/Applications/XBMC.app/Contents/Resources/XBMC/addons/script.module.pysqlite/lib:/Applications/XBMC.app/Contents/Frameworks:/Applications/XBMC.app/Contents/Frameworks/lib/python26.zip:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/plat-darwin:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/plat-mac:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/plat-mac/lib-scriptpackages:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/lib-tk:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/lib-old:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/lib-dynload:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/site-packages:
21:58:23 T:4686647296 DEBUG: Process - Entering source directory /Users/Raphael/Library/Application Support/XBMC/addons/plugin.image.iphoto
21:58:23 T:4686647296 DEBUG: Instantiating addon using automatically obtained id of "plugin.image.iphoto" dependent on version 2.1.0 of the xbmc.python api
21:58:23 T:4686647296 NOTICE: iphoto.db: Opening database: /Users/Raphael/Library/Application Support/XBMC/userdata/addon_data/plugin.image.iphoto/iphoto.db
21:58:23 T:4686647296 DEBUG: POParser: loaded 80 strings from file /Users/Raphael/Library/Application Support/XBMC/addons/plugin.image.iphoto/resources/language/English/strings.po
21:58:23 T:4686647296 NOTICE: iphoto.db: Closing database
21:58:23 T:140735149183360 DEBUG: waiting for python thread 9 (/Users/Raphael/Library/Application Support/XBMC/addons/plugin.image.iphoto/addon.py) to stop
21:58:23 T:140735149183360 DEBUG: python thread 9 (/Users/Raphael/Library/Application Support/XBMC/addons/plugin.image.iphoto/addon.py) destructed
21:58:24 T:4658524160 WARNING: CreateLoader - Unsupported protocol(plugin) in plugin://plugin.image.iphoto/?action=textview&file=README.txt
21:58:24 T:4658524160 DEBUG: GetImageHash - unable to stat url plugin://plugin.image.iphoto/?action=textview&file=README.txt