2013-08-30, 19:36
Anyone can help me please.... if it possible i would like the MySQLdb folder which can available to use in python code
Thank you
Thank you
__addon__ = xbmcaddon.Addon()
__addonname__ = __addon__.getAddonInfo('id')
__addonversion__ = __addon__.getAddonInfo('version')
__addonpath__ = __addon__.getAddonInfo('path').decode('utf-8')
__addonicon__ = xbmc.translatePath('%s/icon.png' % __addonpath__ )
__language__ = __addon__.getLocalizedString
...
sys.path.append( os.path.join( __addonpath__, "resources/MySQLdb" ) )
12:36:42 T:3348 NOTICE: -->Python Interpreter Initialized<--
12:36:42 T:3348 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ImportError'>
Error Contents: DLL load failed: The specified module could not be found.
Traceback (most recent call last):
File "C:\Users\HIBARI\AppData\Roaming\XBMC\addons\plugin-private-infotainment101\default.py", line 7, in <module>
import MySQLdb
File "C:\Program Files (x86)\XBMC\system\python\lib\site-packages\MySQLdb\__init__.py", line 19, in <module>
import _mysql
ImportError: DLL load failed: The specified module could not be found.
-->End of Python script error report<--
12:36:42 T:4476 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin-private-infotainment101/
12:36:42 T:4476 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin-private-infotainment101/) failed
12:36:42 T:6548 NOTICE: Thread Background Loader start, auto delete: false
<requires>
<import addon="xbmc.python" version="2.1.0"/>
<import addon="script.module.myconnpy" version="0.3.2"/>
</requires>