2012-10-02, 14:24
yes the syncing with synology cloudstation was causing the issue. I have excluded the Database folder from this syncing and MyPicsDb now works like a dream.
Thanks again for your help.
Thanks again for your help.
17:44:22 T:2875181936 DEBUG: Process - The source file to load is /home/guevel/.xbmc/addons/plugin.image.mypicsdb/default.py
17:44:22 T:2875181936 DEBUG: Process - Setting the Python path to /home/guevel/.xbmc/addons/plugin.image.mypicsdb:/home/guevel/.xbmc/addons/script.module.dialogaddonscan/lib:/usr/share/xbmc/addons/script.module.simplejson/lib:/usr/share/xbmc/addons/script.module.pil/lib:/home/guevel/.xbmc/addons/script.common.plugin.cache/lib:/home/guevel/.xbmc/addons/script.module.simple.downloader/lib:/home/guevel/.xbmc/addons/script.module.rssengine/lib:/home/guevel/.xbmc/addons/script.module.parsedom/lib:/home/guevel/.xbmc/addons/script.module.elementtree/lib:/usr/share/xbmc/addons/script.module.pysqlite/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PIL:/usr/lib/python2.7/dist-packages/gst-0.10:/usr/lib/python2.7/dist-packages/gtk-2.0:/usr/lib/pymodules/python2.7:/usr/lib/python2.7/dist-packages/ubuntu-sso-client:/usr/lib/python2.7/dist-packages/ubuntuone-client:/usr/lib/python2.7/dist-packages/ubuntuone-control-panel:/usr/lib/python2.7/dist-packages/ubuntuone-couch:/usr/lib/python2.7/dist-packages/ubuntuone-installer:/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol:
17:44:22 T:2875181936 DEBUG: Process - Entering source directory /home/guevel/.xbmc/addons/plugin.image.mypicsdb
17:44:22 T:2875181936 DEBUG: Instantiating addon using automatically obtained id of "plugin.image.mypicsdb" dependent on version 2.0 of the xbmc.python api
17:44:23 T:2875181936 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: argument "path" for method "XBMCAddon::xbmc::translatePath" must be unicode or str
Traceback (most recent call last):
File "/home/guevel/.xbmc/addons/plugin.image.mypicsdb/default.py", line 72, in <module>
import MypicsDB as MPDB
File "/home/guevel/.xbmc/addons/plugin.image.mypicsdb/resources/lib/MypicsDB.py", line 20, in <module>
import xbmcaddon
TypeError: argument "path" for method "XBMCAddon::xbmc::translatePath" must be unicode or str
-->End of Python script error report<--
(2012-10-03, 17:47)fmronan Wrote: [ -> ]Mypics db do not work with the last nightly
Code:17:44:22 T:2875181936 DEBUG: Process - The source file to load is /home/guevel/.xbmc/addons/plugin.image.mypicsdb/default.py
17:44:22 T:2875181936 DEBUG: Process - Setting the Python path to /home/guevel/.xbmc/addons/plugin.image.mypicsdb:/home/guevel/.xbmc/addons/script.module.dialogaddonscan/lib:/usr/share/xbmc/addons/script.module.simplejson/lib:/usr/share/xbmc/addons/script.module.pil/lib:/home/guevel/.xbmc/addons/script.common.plugin.cache/lib:/home/guevel/.xbmc/addons/script.module.simple.downloader/lib:/home/guevel/.xbmc/addons/script.module.rssengine/lib:/home/guevel/.xbmc/addons/script.module.parsedom/lib:/home/guevel/.xbmc/addons/script.module.elementtree/lib:/usr/share/xbmc/addons/script.module.pysqlite/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PIL:/usr/lib/python2.7/dist-packages/gst-0.10:/usr/lib/python2.7/dist-packages/gtk-2.0:/usr/lib/pymodules/python2.7:/usr/lib/python2.7/dist-packages/ubuntu-sso-client:/usr/lib/python2.7/dist-packages/ubuntuone-client:/usr/lib/python2.7/dist-packages/ubuntuone-control-panel:/usr/lib/python2.7/dist-packages/ubuntuone-couch:/usr/lib/python2.7/dist-packages/ubuntuone-installer:/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol:
17:44:22 T:2875181936 DEBUG: Process - Entering source directory /home/guevel/.xbmc/addons/plugin.image.mypicsdb
17:44:22 T:2875181936 DEBUG: Instantiating addon using automatically obtained id of "plugin.image.mypicsdb" dependent on version 2.0 of the xbmc.python api
17:44:23 T:2875181936 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: argument "path" for method "XBMCAddon::xbmc::translatePath" must be unicode or str
Traceback (most recent call last):
File "/home/guevel/.xbmc/addons/plugin.image.mypicsdb/default.py", line 72, in <module>
import MypicsDB as MPDB
File "/home/guevel/.xbmc/addons/plugin.image.mypicsdb/resources/lib/MypicsDB.py", line 20, in <module>
import xbmcaddon
TypeError: argument "path" for method "XBMCAddon::xbmc::translatePath" must be unicode or str
-->End of Python script error report<--
(2012-10-03, 17:47)fmronan Wrote: [ -> ]Mypics db do not work with the last nightly
(2012-09-12, 23:34)Xycl Wrote: [ -> ](2012-09-11, 10:29)fiveisalive Wrote: [ -> ]Testing the 1.0.0 version of the add-on with the latest Frodo from git, I get the following error:
MyPicsDB 1.1.0, Frodo 20120909 and Windows 7 work.
But I still had no time to test it with Linux.
try:
import xbmc
makepath=xbmc.translatePath(os.path.join)
except:
makepath=os.path.join
import xbmc
BASE_RESOURCE_PATH = makepath( home, "resources" )
BASE_RESOURCE_PATH = join( home, "resources" )
(2012-10-24, 10:53)Xycl Wrote: [ -> ]Please check the file extensions of your videos and the MyPicsDB configuration. The configuration contains a list with video file extensions.