![]() |
2010-10-22
, 18:07
|
Posts: 55 |
Thanked: 9 times |
Joined on May 2010
|
#842
|
![]() |
2010-10-24
, 22:38
|
Posts: 27 |
Thanked: 8 times |
Joined on Jun 2010
@ Chesapeake, VA
|
#843
|
![]() |
2010-10-24
, 23:13
|
Posts: 27 |
Thanked: 8 times |
Joined on Jun 2010
@ Chesapeake, VA
|
#844
|
hey epage. I got your message in the download section. I tried looking for that account section and can't find it. Are you referring to a setting on my actual gv account? Thanks for taking time out for my noobness. I'll continue to investigate while you get back to me.
![]() |
2010-10-25
, 20:04
|
|
Posts: 1,684 |
Thanked: 1,562 times |
Joined on Jun 2008
@ Austin, TX
|
#845
|
Well, by searching this thread my problem amounted to the usual problem when the phone call is not connecting. My forwarding # was all wrong and my screen name was wrong. Once those things were corrected, all is good.
My next question would be why is it that my screen name has to be the forwarding # and not my google #?
For those who may be confused like me, here is what I did:
Go into voice settings on your google account and check the forwarding #
Go into the advanced settings in you n900 google voice plugin and make sure the forward box has the same #
Last, make sure the screen name in your google voice plugin is the forwarding #
I know this has been discussed before, but I figured I'd put it here so other members won't have to search that much.
![]() |
2010-10-25
, 20:53
|
Posts: 481 |
Thanked: 190 times |
Joined on Feb 2006
@ Salem, OR
|
#846
|
![]() |
2010-10-25
, 21:21
|
|
Posts: 1,684 |
Thanked: 1,562 times |
Joined on Jun 2008
@ Austin, TX
|
#847
|
![]() |
2010-10-25
, 23:52
|
Posts: 481 |
Thanked: 190 times |
Joined on Feb 2006
@ Salem, OR
|
#848
|
import urllib2 response = urllib2.urlopen('https://www.google.com/voice') html = response.read() print html
Traceback (most recent call last): File "1.py", line 2, in <module> response = urllib2.urlopen('https://www.google.com/voice') File "/usr/lib/python2.5/urllib2.py", line 124, in urlopen return _opener.open(url, data) File "/usr/lib/python2.5/urllib2.py", line 381, in open response = self._open(req, data) File "/usr/lib/python2.5/urllib2.py", line 399, in _open '_open', req) File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain result = func(*args) File "/usr/lib/python2.5/urllib2.py", line 1115, in https_open return self.do_open(httplib.HTTPSConnection, req) File "/usr/lib/python2.5/urllib2.py", line 1082, in do_open raise URLError(err) urllib2.URLError: <urlopen error (101, 'Network is unreachable')>
![]() |
2010-10-26
, 00:13
|
|
Posts: 1,684 |
Thanked: 1,562 times |
Joined on Jun 2008
@ Austin, TX
|
#849
|
I run this code on my n900 with ipv6:
and this was the result:Code:import urllib2 response = urllib2.urlopen('https://www.google.com/voice') html = response.read() print html
maybe this will help to fix the problem?Code:Traceback (most recent call last): File "1.py", line 2, in <module> response = urllib2.urlopen('https://www.google.com/voice') File "/usr/lib/python2.5/urllib2.py", line 124, in urlopen return _opener.open(url, data) File "/usr/lib/python2.5/urllib2.py", line 381, in open response = self._open(req, data) File "/usr/lib/python2.5/urllib2.py", line 399, in _open '_open', req) File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain result = func(*args) File "/usr/lib/python2.5/urllib2.py", line 1115, in https_open return self.do_open(httplib.HTTPSConnection, req) File "/usr/lib/python2.5/urllib2.py", line 1082, in do_open raise URLError(err) urllib2.URLError: <urlopen error (101, 'Network is unreachable')>
I also saw that there is a problem with https:
http://www.mail-archive.com/python-b.../msg17091.html
let me know if you want me to do more tests
Edit: by the way, the non https works fine on ipv6, looks like the problem is https
#!/usr/bin/env python from __future__ import with_statement from __future__ import division import urllib2 import logging try: import conic except ImportError: conic = None _moduleLogger = logging.getLogger(__name__) def add_proxy(protocol, url, port): proxyInfo = "%s:%s" % (url, port) proxy = urllib2.ProxyHandler( {protocol: proxyInfo} ) opener = urllib2.build_opener(proxy) urllib2.install_opener(opener) if __name__ == "__main__": if conic is not None: connection = conic.Connection() proxySettings = { "http-host": connection.get_proxy_host(conic.PROXY_PROTOCOL_HTTP), "http-port": connection.get_proxy_port(conic.PROXY_PROTOCOL_HTTP), "https-host": connection.get_proxy_host(conic.PROXY_PROTOCOL_HTTPS), "https-port": connection.get_proxy_port(conic.PROXY_PROTOCOL_HTTPS), } if proxySettings["http-host"] is not None: add_proxy( "http", proxySettings["http-host"], proxySettings["http-port"] ) print "HTTP Proxy Configured" else: print "HTTP Proxy Not Configured" if proxySettings["https-host"] is not None: add_proxy( "https", proxySettings["https-host"], proxySettings["https-port"] ) print "HTTPS Proxy Configured" else: print "HTTPS Proxy Not Configured" print proxySettings else: print "Proxy Not Configured" response = urllib2.urlopen('https://www.google.com/voice') html = response.read() print html
![]() |
2010-10-26
, 00:43
|
Posts: 481 |
Thanked: 190 times |
Joined on Feb 2006
@ Salem, OR
|
#850
|
Try out the following:
I'm unsure if I'm using conic correctly but the proxy settings might make HTTPS work.Code:#!/usr/bin/env python from __future__ import with_statement from __future__ import division import urllib2 import logging try: import conic except ImportError: conic = None _moduleLogger = logging.getLogger(__name__) def add_proxy(protocol, url, port): proxyInfo = "%s:%s" % (url, port) proxy = urllib2.ProxyHandler( {protocol: proxyInfo} ) opener = urllib2.build_opener(proxy) urllib2.install_opener(opener) if __name__ == "__main__": if conic is not None: connection = conic.Connection() proxySettings = { "http-host": connection.get_proxy_host(conic.PROXY_PROTOCOL_HTTP), "http-port": connection.get_proxy_port(conic.PROXY_PROTOCOL_HTTP), "https-host": connection.get_proxy_host(conic.PROXY_PROTOCOL_HTTPS), "https-port": connection.get_proxy_port(conic.PROXY_PROTOCOL_HTTPS), } if proxySettings["http-host"] is not None: add_proxy( "http", proxySettings["http-host"], proxySettings["http-port"] ) print "HTTP Proxy Configured" else: print "HTTP Proxy Not Configured" if proxySettings["https-host"] is not None: add_proxy( "https", proxySettings["https-host"], proxySettings["https-port"] ) print "HTTPS Proxy Configured" else: print "HTTPS Proxy Not Configured" print proxySettings else: print "Proxy Not Configured" response = urllib2.urlopen('https://www.google.com/voice') html = response.read() print html
Also, I can confirm the duplicate contacts issue when using Google contacts.
Last edited by zerocool2k; 2010-10-22 at 19:40.