Win how do i install urlresover on dev machine
#1
Sad 
Hi all,

I'm learning python and xbmc add-on development on WindowsXP.

I managed to import xbmcstubs and BeatifulSoup4 by downloading it and placing it in my C:\Python27\libs\ folder.

I did the same for URLRESOLVER and doesn't seem to be working. Getting the below error.

Code:
Traceback (most recent call last):
  File "C:\Plugin & Python scripting tutorial\test.py", line 2, in <module>
    import 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()

Full code is available here http://pastebin.com/ymubnkn7
Reply

Logout Mark Read Team Forum Stats Members Help
how do i install urlresover on dev machine0