public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] CANNOT IMPORT HTTP.CLIENT
@ 2010-08-20  7:35 Helmut Jarausch
  2010-08-20  9:02 ` Helmut Jarausch
  2010-08-20 13:43 ` [gentoo-user] " walt
  0 siblings, 2 replies; 4+ messages in thread
From: Helmut Jarausch @ 2010-08-20  7:35 UTC (permalink / raw
  To: gentoo-user

Hi,

today, when emerging  dev-libs/openssl-0.9.8o-r2, which is needed for 
nxssh, I've got the message
!!! CANNOT IMPORT HTTP.CLIENT: cannot import name HTTPSConnection

Does anybody have an idea what that means?

Thanks for a hint,
Helmut.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] CANNOT IMPORT HTTP.CLIENT
  2010-08-20  7:35 [gentoo-user] CANNOT IMPORT HTTP.CLIENT Helmut Jarausch
@ 2010-08-20  9:02 ` Helmut Jarausch
  2010-08-20 13:43 ` [gentoo-user] " walt
  1 sibling, 0 replies; 4+ messages in thread
From: Helmut Jarausch @ 2010-08-20  9:02 UTC (permalink / raw
  To: gentoo-user

On 08/20/10 09:35:06, Helmut Jarausch wrote:
> Hi,
> 
> today, when emerging  dev-libs/openssl-0.9.8o-r2, which is needed for 
> nxssh, I've got the message
> !!! CANNOT IMPORT HTTP.CLIENT: cannot import name HTTPSConnection
> 
> Does anybody have an idea what that means?
> 
> Thanks for a hint,
> Helmut.

It seems something is broken in Python and or bzr, e.g.
in an overlay build for cuneiform I get


>>> Unpacking source...
 ^[[32;01m*^[[0m bzr update start -->
 ^[[32;01m*^[[0m    repository: lp:cuneiform-linux
bzr: ERROR: exceptions.AttributeError: 'module' object has no attribute 
'HTTPSConnection'

Re-emering dev-vcs/bzr didn't help.

Thanks for any hint,
Helmut.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-user] Re: CANNOT IMPORT HTTP.CLIENT
  2010-08-20  7:35 [gentoo-user] CANNOT IMPORT HTTP.CLIENT Helmut Jarausch
  2010-08-20  9:02 ` Helmut Jarausch
@ 2010-08-20 13:43 ` walt
  2010-08-20 15:57   ` Helmut Jarausch
  1 sibling, 1 reply; 4+ messages in thread
From: walt @ 2010-08-20 13:43 UTC (permalink / raw
  To: gentoo-user

On 08/20/2010 12:35 AM, Helmut Jarausch wrote:
> Hi,
>
> today, when emerging  dev-libs/openssl-0.9.8o-r2, which is needed for
> nxssh, I've got the message
> !!! CANNOT IMPORT HTTP.CLIENT: cannot import name HTTPSConnection

The class HTTPSConnection is defined in httplib.py, which is part of python
itself.  I wonder if your python is installed with the ssl useflag set?

Are you using python2 and python3 on the same machine, maybe?




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Re: CANNOT IMPORT HTTP.CLIENT
  2010-08-20 13:43 ` [gentoo-user] " walt
@ 2010-08-20 15:57   ` Helmut Jarausch
  0 siblings, 0 replies; 4+ messages in thread
From: Helmut Jarausch @ 2010-08-20 15:57 UTC (permalink / raw
  To: gentoo-user

On 08/20/10 15:43:20, walt wrote:
> On 08/20/2010 12:35 AM, Helmut Jarausch wrote:
> > Hi,
> >
> > today, when emerging  dev-libs/openssl-0.9.8o-r2, which is needed
> for
> > nxssh, I've got the message
> > !!! CANNOT IMPORT HTTP.CLIENT: cannot import name HTTPSConnection
> 
> The class HTTPSConnection is defined in httplib.py, which is part of
Thanks, it turned out to be an openssl problem introduced by the recent
dev-libs/openss-1.0.0a-r2 which disables ssl support in Python itself.

Helmut.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-08-20 15:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-20  7:35 [gentoo-user] CANNOT IMPORT HTTP.CLIENT Helmut Jarausch
2010-08-20  9:02 ` Helmut Jarausch
2010-08-20 13:43 ` [gentoo-user] " walt
2010-08-20 15:57   ` Helmut Jarausch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox