yaoshaojun / switchy

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

Proxy switch ignored on Chrome Linux 19.0.1041.0 dev #433

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Configure proxyswitchy to bypass these 'no proxy for' addresses: localhost; 
127.0.0.1; <local>; 
2. Enable it 

What is the expected output?
Proxy setting is changed

What do you see instead?
Proxy setting doesn't change

The following text gets printed on the console

Error: Parse error: Didn't understand `[localhost,' (list must end with a ']')
Error while parsing options: Invalid byte sequence in conversion input.
Run 'gconftool-2 --help' to see a full list of available command line options.

Operating system:
Linux
Chrome 19.0.1041.0 dev

Error Log:
[08:44:45] [info] - Extension Info: v1.6.3
[08:44:45] [info] - Browser Info: 5.0 (X11; Linux i686) AppleWebKit/535.21 
(KHTML, like Gecko) Chrome/19.0.1041.0 Safari/535.21
[08:49:29] [success] - Everything is OK

The error log isn't aware of the error.

Original issue reported on code.google.com by fil...@gmail.com on 17 Feb 2012 at 4:51

GoogleCodeExporter commented 8 years ago
I'm seeing this too on Ubuntu 12.04 in Chromium 17.0.963.65 with version 1.6.3; 
even with just "localhost" in the no-proxy list.

The plugin appears to run this when enabling a proxy with just 
SOCKS=localhost:1080 defined:

/bin/bash /usr/bin/gconftool-2 -s /system/http_proxy/use_same_proxy false 
--type=bool
/bin/bash /usr/bin/gconftool-2 -s /system/http_proxy/host  --type=string
/bin/bash /usr/bin/gconftool-2 -s /system/proxy/secure_host  --type=string
/bin/bash /usr/bin/gconftool-2 -s /system/proxy/ftp_host  --type=string
/bin/bash /usr/bin/gconftool-2 -s /system/proxy/socks_host localhost 
--type=string
/bin/bash /usr/bin/gconftool-2 -s /system/proxy/socks_port 1080 --type=int
/bin/bash /usr/bin/gconftool-2 -s /system/http_proxy/ignore_hosts [localhost] 
--type=list --list-type=string
/bin/bash /usr/bin/gconftool-2 -s /system/proxy/autoconfig_url 
file:///home/chris/.config/chromium/Default/Extensions/caehdcpeofiiigpdhbabnible
mipncjj/1.6.3_0/plugins/SwitchySocks.pac?1331076314376ins/ --type=string
/bin/bash /usr/bin/gconftool-2 -s /system/http_proxy/use_http_proxy false 
--type=bool
/bin/bash /usr/bin/gconftool-2 -s /system/proxy/mode auto� --type=string

This gives the console output:

No value to set for key: `/system/http_proxy/host'
No value to set for key: `/system/proxy/secure_host'
No value to set for key: `/system/proxy/ftp_host'
Error while parsing options: Invalid byte sequence in conversion input.
Run '/usr/bin/real-gconftool-2 --help' to see a full list of available command 
line options.

Original comment by chris@orr.me.uk on 6 Mar 2012 at 11:39