Hi, I am getting the following error with python-nox:
Traceback (most recent call last): ... File "/sw/lib/python2.2/urllib.py", line 26, in ? import socket File "/sw/lib/python2.2/socket.py", line 41, in ? from _socket import * ImportError: No module named _socket <<my code and full error appear at the end of this email>> Google pointed me to http://mailman.lyra.org/pipermail/viewcvs/2002q3/001114.html which says: "Looks like you didn't check the Modules/SETUP file carefully enough and forgot to enable building the '_socket' module. (Or if you didn't build Python 2.2.1 from source yourself the guy who did it forgot to enable _socket. Seems to be that _socket isn't enabled by default..." So does fink build _socket in python-nox? thanx, Daniel Fry ------------------ I am using xml_objectify from gnosis (http://gnosis.cx/download/xml_objectify/). Here is my code: from gnosis.xml.objectify import XML_Objectify def objectify(filename): py_obj = XML_Objectify(filename).make_instance() return py_obj print "objectifying" mbox = objectify("clan98.xml") print "booyah" Here is the full error: Traceback (most recent call last): File "mboxml2html.py", line 9, in ? mbox = objectify("mbox.xml") File "mboxml2html.py", line 4, in objectify py_obj = XML_Objectify(filename).make_instance() File "/sw/lib/python2.2/site-packages/gnosis/xml/objectify/_objectify.py", line 99, in __init__ self._dom = minidom.parseString(self._fh.read()) File "/sw/src/root-python-nox-2.2.1-6/sw/lib/python2.2/xml/dom/minidom.py", line 967, in parseString File "/sw/src/root-python-nox-2.2.1-6/sw/lib/python2.2/xml/dom/minidom.py", line 953, in _doparse File "/sw/src/root-python-nox-2.2.1-6/sw/lib/python2.2/xml/dom/pulldom.py", line 340, in parseString File "/sw/src/root-python-nox-2.2.1-6/sw/lib/python2.2/xml/sax/__init__.py", line 81, in make_parser File "/sw/src/root-python-nox-2.2.1-6/sw/lib/python2.2/xml/sax/__init__.py", line 105, in _create_parser File "/sw/src/root-python-nox-2.2.1-6/sw/lib/python2.2/xml/sax/expatreader.py", line 23, in ? File "/sw/src/root-python-nox-2.2.1-6/sw/lib/python2.2/xml/sax/saxutils.py", line 6, in ? File "/sw/lib/python2.2/urllib.py", line 26, in ? import socket File "/sw/lib/python2.2/socket.py", line 41, in ? from _socket import * ImportError: No module named _socket ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users