Hi,
I'm new to python and xvmc add-on development. Currently working on a video add-on. Added xbmcstubs and url resolver lib files to my Python on windows installations lib folder. When i import url resolver, i get the below error.
Can someone please point out what i'm doing wrong?
I'm new to python and xvmc add-on development. Currently working on a video add-on. Added xbmcstubs and url resolver lib files to my Python on windows installations lib folder. When i import url resolver, i get the below error.
Can someone please point out what i'm doing wrong?
Code:
Traceback (most recent call last):
File "C:\Plugin & Python scripting tutorial\test.py", line 1, in <module>
import urllib2,urllib,re,urlresolver
File "C:\Python27\lib\urlresolver\__init__.py", line 31, in <module>
import common
File "C:\Python27\lib\urlresolver\common.py", line 28, in <module>
plugins_path = os.path.join(addon_path, 'lib', 'urlresolver', 'plugins')
File "C:\Python27\lib\ntpath.py", line 96, in join
assert len(path) > 0
TypeError: object of type 'type' has no len()