Windows - how do i install urlresover on dev machine

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
gbzygil Offline
Junior Member
Posts: 25
Joined: Aug 2012
Reputation: 2
Sad  how do i install urlresover on dev machine
Post: #1
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.

Traceback (most recent call last):
  File "C:\Plugin & Python scripting tutorial\", line 2, in <module>
    import urlresolver
  File "C:\Python27\lib\urlresolver\", line 31, in <module>
    import common
  File "C:\Python27\lib\urlresolver\", line 28, in <module>
    plugins_path = os.path.join(addon_path, 'lib', 'urlresolver', 'plugins')
  File "C:\Python27\lib\", line 96, in join
    assert len(path) > 0
TypeError: object of type 'type' has no len()

Full code is available here
find quote