FelisCatus / switchy

Automatically exported from code.google.com/p/switchy
9 stars 3 forks source link

Can't work on Mac 10.7.5 #484

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Switch to a defined proxy ( using socks 5 via local ssh tunnel)
2. After a few seconds, the icon turned back to grey and only "Direct 
Connection" is used instead

What is the expected output?
Using my defined proxy without issue
My proxy works if I directly go to the network settings in system preferences, 
and changed there.

What do you see instead?

1. Switch to a defined proxy ( using socks 5 via local ssh tunnel)
2. After a few seconds, the icon turned back to grey and only "Direct 
Connection" is used instead

Operating system:
All | Windows | Mac | Linux

Mac 10.7.5

Error Log:
copy it from "chrome-
extension://caehdcpeofiiigpdhbabniblemipncjj/console.html"

[13:22:14] [info] - Extension Info: v1.6.3
[13:22:14] [info] - Browser Info: 5.0 (Macintosh; Intel Mac OS X 10_7_5) 
AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11
[13:22:16] [error] - Plugin Error @RuleManager.saveSocksPacScript() > 
TypeError: Object #<HTMLEmbedElement> has no method 'writeSocksPacFile'
[13:22:16] [error] - Plugin Error @ProfileManager.applyProfile(Profile: 
{"name":"My 
Proxy","proxyMode":"auto","proxyHttp":"","useSameProxy":false,"proxyHttps":"","p
roxyFtp":"","proxySocks":"127.0.0.1:1080","socksVersion":5,"proxyExceptions":"lo
calhost; 127.0.0.1; 
<local>","proxyConfigUrl":"undefined?1352524936626","color":"blue","id":"My 
Proxy"}) > TypeError: Object #<HTMLEmbedElement> has no method 'setProxy'
[13:26:36] [error] - Plugin Error @ProfileManager.getConnections() > TypeError: 
Object #<HTMLEmbedElement> has no method 'getConnections'
[13:26:41] [error] - Plugin Error @ProfileManager.getConnections() > TypeError: 
Object #<HTMLEmbedElement> has no method 'getConnections'
[13:26:45] [error] - Plugin Error @RuleManager.saveSocksPacScript() > 
TypeError: Object #<HTMLEmbedElement> has no method 'writeSocksPacFile'
[13:26:45] [error] - Plugin Error @ProfileManager.applyProfile(Profile: 
{"name":"My 
Proxy","proxyMode":"auto","proxyHttp":"","useSameProxy":false,"proxyHttps":"","p
roxyFtp":"","proxySocks":"127.0.0.1:1080","socksVersion":4,"proxyExceptions":"lo
calhost; 127.0.0.1; 
<local>","proxyConfigUrl":"undefined?1352525205309","color":"blue","id":"My 
Proxy"}) > TypeError: Object #<HTMLEmbedElement> has no method 'setProxy'
[13:26:51] [error] - Plugin Error @RuleManager.saveSocksPacScript() > 
TypeError: Object #<HTMLEmbedElement> has no method 'writeSocksPacFile'
[13:26:51] [error] - Plugin Error @ProfileManager.applyProfile(Profile: 
{"name":"My 
Proxy","proxyMode":"auto","proxyHttp":"","useSameProxy":false,"proxyHttps":"","p
roxyFtp":"","proxySocks":"127.0.0.1:1080","socksVersion":4,"proxyExceptions":"lo
calhost; 127.0.0.1; 
<local>","proxyConfigUrl":"undefined?1352525211074","color":"blue","id":"My 
Proxy"}) > TypeError: Object #<HTMLEmbedElement> has no method 'setProxy'
[13:26:55] [error] - Plugin Error @ProfileManager.getConnections() > TypeError: 
Object #<HTMLEmbedElement> has no method 'getConnections'
[14:03:45] [error] - Plugin not loaded!

Please provide any additional information below. Attach a screenshot if
possible.

Original issue reported on code.google.com by isy...@gmail.com on 10 Nov 2012 at 6:04