[IronPython] IronPython with libgmail gives trouble with HTTPSHandler

Trond Andersen trond.andersen at gmail.com
Thu Aug 30 15:02:02 CEST 2007


I'm testing out using a python based library towards GMail with
IronPython, but I run into a problem when using the API.

http://libgmail.sourceforge.net/

The following statements work in Iron Python:

import sys
sys.path.append("C:\\Dev\\libgmail\\build\\lib")

import libgmail

But the following line fails:
ga = libgmail.GmailAccount("my.username at gmail.com", "mypassword")

With this error message:
AttributeError: 'module' object has no attribute 'HTTPSHandler'

The same code work when using regular Python (2.4.4) on the same
Windows machine.

Any ideas on how to handle this?


------- Trond



More information about the Ironpython-users mailing list