2011-06-12, 14:51
spbogie / DamianXD - any help would be greatly appreciated
When enabling the proxy I always get:
13:40:47 T:2899729264 M:3420258304 INFO: -->Python script returned the following error<--
13:40:47 T:2899729264 M:3420258304 ERROR: Error Type: exceptions.AttributeError
13:40:47 T:2899729264 M:3420258304 ERROR: Error Contents: Pandora instance has no attribute 'setProxy'
13:40:47 T:2899729264 M:3420258304 ERROR: Traceback (most recent call last):
File "/home/mike/.xbmc/addons/script.xbmc.pandora/default.py", line 241, in ?
panda = Panda()
File "/home/mike/.xbmc/addons/script.xbmc.pandora/default.py", line 72, in __init__
self.pandora.setProxy( proxy_info )
AttributeError: Pandora instance has no attribute 'setProxy'
13:40:47 T:2899729264 M:3420258304 INFO: -->End of Python script error report<--
----
I modded the script as follows (pretty much identical to the old proxy script)
self.pandora = Pandora( fmt )
if True: #GetGuiSetting( 1, "network.usehttpproxy" ):
proxy_info = {
"host" : "xxxx", #GetGuiSetting( 3, "network.httpproxyserver" ),
"port" : "8080", #GetGuiSetting( 3, "network.httpproxyport" ),
"user" : "username", #GetGuiSetting( 3, "network.httpproxyusername" ),
"pass" : "password" #GetGuiSetting( 3, "network.httpproxypassword" )
}
self.pandora.setProxy( proxy_info )
self.pandora.sync()
When enabling the proxy I always get:
13:40:47 T:2899729264 M:3420258304 INFO: -->Python script returned the following error<--
13:40:47 T:2899729264 M:3420258304 ERROR: Error Type: exceptions.AttributeError
13:40:47 T:2899729264 M:3420258304 ERROR: Error Contents: Pandora instance has no attribute 'setProxy'
13:40:47 T:2899729264 M:3420258304 ERROR: Traceback (most recent call last):
File "/home/mike/.xbmc/addons/script.xbmc.pandora/default.py", line 241, in ?
panda = Panda()
File "/home/mike/.xbmc/addons/script.xbmc.pandora/default.py", line 72, in __init__
self.pandora.setProxy( proxy_info )
AttributeError: Pandora instance has no attribute 'setProxy'
13:40:47 T:2899729264 M:3420258304 INFO: -->End of Python script error report<--
----
I modded the script as follows (pretty much identical to the old proxy script)
self.pandora = Pandora( fmt )
if True: #GetGuiSetting( 1, "network.usehttpproxy" ):
proxy_info = {
"host" : "xxxx", #GetGuiSetting( 3, "network.httpproxyserver" ),
"port" : "8080", #GetGuiSetting( 3, "network.httpproxyport" ),
"user" : "username", #GetGuiSetting( 3, "network.httpproxyusername" ),
"pass" : "password" #GetGuiSetting( 3, "network.httpproxypassword" )
}
self.pandora.setProxy( proxy_info )
self.pandora.sync()