[IronPython] POP3_SSL issue

Kar, Sujit kar at musc.edu
Wed Apr 16 21:20:03 CEST 2008


Michael,

The full trace is:

Traceback (most recent call last):
  File , line 0, in <stdin>##76
  File c:\python25\lib\poplib.py, line 359, in __init__
AttributeError: 'module' object has no attribute 'ssl'

If it is an extension module, then does that mean I cannot use IronPython to do this?

Thanks for your help...

Sujit
-=-


________________________________________
From: users-bounces at lists.ironpython.com [users-bounces at lists.ironpython.com] On Behalf Of Michael Foord [fuzzyman at voidspace.org.uk]
Sent: Wednesday, April 16, 2008 3:03 PM
To: Discussion of IronPython
Subject: Re: [IronPython] POP3_SSL issue

Kar, Sujit wrote:
> Hello,
>
> I am trying to access gmail via the POP3_SSL standard python library. Ironpython is installed & so is Python2.5 and site.py has the necessay path information. OS is Vista
>
> When I try to execute the following code in IronPython:
>
>    mbox = poplib.POP3_SSL("pop.gmail.com")
>
> I get an error message saying:
>    AttributeError: 'module' object has no attribute 'ssl'
>
>

What is the line of Python code associated with that error (it should be
in the full traceback). I suspect that will give you a clue. :-)

The answer is probably that Python uses a c extension module for ssl
support.

Michael Foord
http://www.ironpythoninaction.com/

> If I use the python console installed with Python2.5, everything works just fine.
>
> Any ideas?
>
> I just started using python/ironpython, so please excuse any newbie mistakes.
>
> Thanks,
> Sujit
> -=-
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>

_______________________________________________
Users mailing list
Users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



More information about the Ironpython-users mailing list