Comment 10 for bug 989838

Revision history for this message
Owais Lone (loneowais) wrote : Re: [Bug 989838] Re: When setting up a new account, clicking "Load gmail folders" causes error

Actually the enabled boolean field is not supposed to be taken into
account. A proxy is said to be 'ON' if it has a non zero port and
host.

On Fri, May 18, 2012 at 3:12 AM, Ian Hincks <email address hidden> wrote:
> Just figured out how to fix it, Aatish. Like you said, I need to remove
> all proxies whether or not they are enabled. In vanilla unity from
> 12.04, I went to
>
> System Settings -> Network -> Network proxy -> Manual
>
> and deleted all proxy text fields, and reset all ports to 0. (Then
> switch back the method to "None")
>
> Ian
>
> --
> You received this bug notification because you are subscribed to Gmail
> Watcher.
> https://bugs.launchpad.net/bugs/989838
>
> Title:
>  When setting up a new account, clicking "Load gmail folders" causes
>  error
>
> Status in Gmail Watcher:
>  New
>
> Bug description:
>  I enter the email address and the password, and then click"Load gmail
>  folders" and nothing happens.  The traceback is
>
>  usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
>    import gobject._gobject
>  Exception in thread Thread-1:
>  Traceback (most recent call last):
>    File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
>      self.run()
>    File "/usr/lib/python2.7/threading.py", line 504, in run
>      self.__target(*self.__args, **self.__kwargs)
>    File "/usr/lib/python2.7/dist-packages/gmailwatcher/app/preferences.py", line 108, in get_mail_folders
>      M = imaplib2.IMAP4_SSL("imap.gmail.com", proxy_info=get_proxy_info())
>    File "/usr/lib/python2.7/dist-packages/gmailwatcher/lib/imaplib2.py", line 1872, in __init__
>      IMAP4.__init__(self, host, port, debug, debug_file, identifier, timeout, proxy_info)
>    File "/usr/lib/python2.7/dist-packages/gmailwatcher/lib/imaplib2.py", line 308, in __init__
>      self.open(host, port)
>    File "/usr/lib/python2.7/dist-packages/gmailwatcher/lib/imaplib2.py", line 1884, in open
>      self.sock = self.open_socket()
>    File "/usr/lib/python2.7/dist-packages/gmailwatcher/lib/imaplib2.py", line 424, in open_socket
>      raise socket.error(msg)
>  error: [Errno -5] No address associated with hostname
>
>  I am running 12.04 unity.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gmailwatcher/+bug/989838/+subscriptions

--
Owais Lone
<email address hidden>
http://www.owaislone.org