tag 361047 + unreproducible moreinfo
severity 361047 normal
thanks
Works fine here:
~ # python /usr/share/doc/python-libgmail/examples/sendmsg.py [EMAIL
PROTECTED] [EMAIL PROTECTED] foo bar
Please wait, logging in...
Log in successful.
Message sent `foo` successfully.
Done.
Looking at your exception stack, this is definitely a network
connectivity problem; please try from another machine/netblock.
Cheers,
--Seb
On Thu, Apr 06, 2006 at 03:00:55AM -0500, Zachary C. Miller wrote:
> Package: python-libgmail
> Version: 0.1.4-2
> Severity: grave
> Justification: renders package unusable
>
> libgmail seems to be unable to log me into gmail at all either from
> mount.gmailfs or from my own test script.
>
> If I try to use mount.gmailfs I get "gmailfs did not connect in less than 12
> seconds, aborting..." in the log.
>
> The following test script prints 1 but hangs forever without printing 2:
> --BEGIN SCRIPT--
> import libgmail
>
> ga = libgmail.GmailAccount("[EMAIL PROTECTED]", "XXXX")
> print "1"
> ga.login()
> print "2"
> --END SCRIPT--
>
> If I hit Control-C during the execution of the above script I get the
> following stacktrace:
> --BEGIN STACK--
> File "foo.py", line 5, in ?
> ga.login()
> File "/usr/lib/site-python/libgmail/__init__.py", line 318, in login
> pageData = self._retrievePage(redirectURL)
> File "/usr/lib/site-python/libgmail/__init__.py", line 331, in _retrievePage
> resp = urllib2.urlopen(req)
> File "/usr/lib/python2.3/urllib2.py", line 129, in urlopen
> return _opener.open(url, data)
> File "/usr/lib/python2.3/urllib2.py", line 326, in open
> '_open', req)
> File "/usr/lib/python2.3/urllib2.py", line 306, in _call_chain
> result = func(*args)
> File "/usr/lib/python2.3/urllib2.py", line 908, in https_open
> return self.do_open(httplib.HTTPS, req)
> File "/usr/lib/python2.3/urllib2.py", line 895, in do_open
> return self.parent.error('http', req, fp, code, msg, hdrs)
> File "/usr/lib/python2.3/urllib2.py", line 346, in error
> result = self._call_chain(*args)
> File "/usr/lib/python2.3/urllib2.py", line 306, in _call_chain
> result = func(*args)
> File "/usr/lib/python2.3/urllib2.py", line 472, in http_error_302
> return self.parent.open(new)
> File "/usr/lib/python2.3/urllib2.py", line 326, in open
> '_open', req)
> File "/usr/lib/python2.3/urllib2.py", line 306, in _call_chain
> result = func(*args)
> File "/usr/lib/python2.3/urllib2.py", line 908, in https_open
> return self.do_open(httplib.HTTPS, req)
> File "/usr/lib/python2.3/urllib2.py", line 895, in do_open
> return self.parent.error('http', req, fp, code, msg, hdrs)
> File "/usr/lib/python2.3/urllib2.py", line 346, in error
> result = self._call_chain(*args)
> File "/usr/lib/python2.3/urllib2.py", line 306, in _call_chain
> result = func(*args)
> File "/usr/lib/python2.3/urllib2.py", line 472, in http_error_302
> return self.parent.open(new)
> File "/usr/lib/python2.3/urllib2.py", line 326, in open
> '_open', req)
> File "/usr/lib/python2.3/urllib2.py", line 306, in _call_chain
> result = func(*args)
> File "/usr/lib/python2.3/urllib2.py", line 908, in https_open
> return self.do_open(httplib.HTTPS, req)
> File "/usr/lib/python2.3/urllib2.py", line 884, in do_open
> h.endheaders()
> File "/usr/lib/python2.3/httplib.py", line 715, in endheaders
> self._send_output()
> File "/usr/lib/python2.3/httplib.py", line 600, in _send_output
> self.send(msg)
> File "/usr/lib/python2.3/httplib.py", line 567, in send
> self.connect()
> File "/usr/lib/python2.3/httplib.py", line 987, in connect
> sock.connect((self.host, self.port))
> File "<string>", line 1, in connect
> --ENDSTACK--
>
> -- System Information:
> Debian Release: testing/unstable
> APT prefers testing
> APT policy: (500, 'testing'), (500, 'stable')
> Architecture: i386 (i686)
> Shell: /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.15-2006021502
> Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
>
> Versions of packages python-libgmail depends on:
> ii python 2.3.5-5 An interactive high-level
> object-o
>
> python-libgmail recommends no packages.
>
> -- no debconf information
>
>
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]