What port to use for python / https?
keramida at ceid.upatras.gr
Sun Nov 29 00:29:32 UTC 2009
On Sat, 28 Nov 2009 18:26:45 +0000, Frank Shute <frank at shute.org.uk> wrote:
> On Sat, Nov 28, 2009 at 08:49:57PM +0900, Ben Bullock wrote:
>> I am trying to install Mercurial on FreeBSD in order to install Go
>> (programming language). I am running into a problem with Mercurial
>> which looks like this:
>> $ hg pull
>> abort: could not import module thread!
>> Exception AttributeError: "'httpsrepository' object has no attribute
>> 'urlopener'" in <bound method httpsrepository.__del__ of
>> <mercurial.httprepo.httpsrepository object at 0x2857882c>> ignored
>> Googling turns up very little except the following:
> security/py-openssl maybe?
> Disclaimer: I don't use mercurial.
The abort message does not refer to https/openssl but to a lack of the
`thread' module. I think you should try to build Python with thread
support instead and see how things work from there.
The `keepalive.py' module of Mercurial tries to import the `thread'
keramida at kobe:/hg/mercurial/crew$ fgrep thread mercurial/*py
mercurial/keepalive.py:should be done with care when using multiple threads.
mercurial/keepalive.py: * there is nothing that prevents another thread from creating new
mercurial/keepalive.py: self._lock = thread.allocate_lock()
keramida at kobe:/hg/mercurial/crew$
More information about the freebsd-questions