Ticket #214 (closed defect: fixed)
Opened 6 years ago
Last modified 6 years ago
python: ImportError: No module named _socket
| Reported by: | mmadia | Owned by: | scottmc |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | dev-lang/python | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
The python-2.6.2-x86-gcc2-2009-07-07.zip package is missing the module _socket. The 2009-05-27.zip works as expected.
Here is the location of haikubuildomatic class-rewrite, which exposes the issue.
haikubuildomatic/branches/class-rewrite> `which python` Unit2013.py
local revision of buildtools : 31509
local revision of haiku : 31509
Traceback (most recent call last):
File "Unit2013.py", line 144, in <module>
init()
File "Unit2013.py", line 129, in init
my.sourceCode = repoman.SVNManager(BPrefs.DefaultSvnProtocol)
File "/builder/haikubuildomatic/branches/class-rewrite/circuitry/repoman.py", line 43, in __init__
self.cia = xmlrpclib.ServerProxy("https://cia.vc")
File "/boot/common/lib/python2.6/xmlrpclib.py", line 1460, in __init__
import urllib
File "/boot/common/lib/python2.6/urllib.py", line 26, in <module>
import socket
File "/boot/common/lib/python2.6/socket.py", line 46, in <module>
import _socket
ImportError: No module named _socket
Change History
comment:1 Changed 6 years ago by zooey
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

This has been fixed with the python package dated 2009-07-12, so I'm closing this ticket.