4 tests failed: test_socket test_sunaudiodev test_sundry test_urllib2
Sam Carleton
nospam at miltonstreet.com
Sat Jan 11 01:21:40 EST 2003
I am trying to get Python 2.2.2 compiled on a Solaris 8 (SPARC)
machine and I got this error:
4 tests failed:
test_socket test_sunaudiodev test_sundry test_urllib2
I ran each test by itself, see below. I am trying to get python
installed for another software package I would like to use. Any and
all thoughts will be very helpful!
Sam
# ./python ./Lib/test/test_socket.py
Traceback (most recent call last):
File "./Lib/test/test_socket.py", line 12, in ?
import socket
File "/export/home/sam/src/Python-2.2.2/Lib/socket.py", line 41, in
?
from _socket import *
ImportError: No module named _socket
# ./python ./Lib/test/test_sunaudiodev.py
Traceback (most recent call last):
File "./Lib/test/test_sunaudiodev.py", line 28, in ?
test()
File "./Lib/test/test_sunaudiodev.py", line 26, in test
play_sound_file(findfile('audiotest.au'))
File "./Lib/test/test_sunaudiodev.py", line 20, in play_sound_file
raise TestFailed, msg
test_support.TestFailed: (13, 'Permission denied', '/dev/audio')
# ./python ./Lib/test/test_sundry.py
Traceback (most recent call last):
File "./Lib/test/test_sundry.py", line 8, in ?
import BaseHTTPServer
File "/export/home/sam/src/Python-2.2.2/Lib/BaseHTTPServer.py", line
70, in ?
import socket # For gethostbyaddr()
File "/export/home/sam/src/Python-2.2.2/Lib/socket.py", line 41, in
?
from _socket import *
ImportError: No module named _socket
# ./python ./Lib/test/test_urllib2.py
Traceback (most recent call last):
File "./Lib/test/test_urllib2.py", line 2, in ?
import urllib2
File "/export/home/sam/src/Python-2.2.2/Lib/urllib2.py", line 90, in
?
import socket
File "/export/home/sam/src/Python-2.2.2/Lib/socket.py", line 41, in
?
from _socket import *
ImportError: No module named _socket
More information about the Python-list
mailing list