2014-02-18, 09:36
(2014-02-17, 17:06)chgr Wrote: Well, I'm kind of replying to myself, but I've managed to get it working by changing the import statement and the calls from requests to requests2 in url.py.
In fact, it seems request2 is installed by addon.xml, but not requests, so the calls to requests in url.py didn't work.
Could you post the exact changes to the code you made? When I try and import requests2 it tells me the module doesn't exist. The only way I can get the code to work is to download requests2 and then import requests. I know I don't have any other copy of requests on my system, because if I remove script.module.requests2 then I get an error saying the module requests doesn't exist. If I put script.module.requests2 back it works fine with import requests again.