[Pythonmac-SIG] 2.2a3 problems

Christopher Smith csmith@blakeschool.org
Mon, 08 Oct 2001 14:33:50 -0500


Dear SIG,

I'm running into a problem when i do the self tests on 2.2a3 on both a
powermac 
7600 running MacOS 8.5.1 and a iMac running OS 9.1.  All goes as expected
(I 
think) until the "thread" test or something soon after it is reached.  At
this 
point, Python quits with an error 2.  I've been able to determine that if
the 
file test_long_exp.py" is taken out of the test folder that the crash does
not 
occur.

Anyone else having this problem or know what my problem might be?

Here is the NONCARBON run from the iMac running 9.1 without the
test_longexp.py 
file in the test folder:

Python 2.2a3 (#107, Sep  8 2001, 01:35:57)  [CW PPC GUSI2 THREADS GC]
Type "copyright", "credits" or "license" for more information.
MacPython IDE 1.0.1
>>> import test.regrtest ; test.regrtest.main()
test_grammar
test_opcodes
test_operations
test_builtin
test_exceptions
test_types
test_MimeWriter
test_StringIO
test___all__
test___future__
test_al
test test_al skipped --  No module named al
test_array
test_asynchat
test_atexit
test_audioop
test_augassign
test_bastion
test_binascii
test_binhex
test_binop
test_bisect
test_bsddb
test test_bsddb skipped --  No module named bsddb
test_bufio
test_call
test_capi
test_cd
test test_cd skipped --  No module named cd
test_cfgparser
test_cgi
test_charmapcodec
test_cl
test test_cl skipped --  No module named cl
test_class
test_cmath
test_codecs
test_codeop
test_coercion
test_commands
test test_commands skipped --  Not posix; skipping test_commands
test_compare
test_compile
test_complex
test_contains
test_cookie
test_copy_reg
test_cpickle
test_crypt
test test_crypt skipped --  No module named crypt
test_dbm
test test_dbm skipped --  No module named dbm
test_descr
test_descrtut
The actual stdout doesn't match the expected stdout.
This much did match (between asterisk lines):
**********************************************************************
test_descrtut
**********************************************************************
Then ...
We expected (repr): ''
But instead we got:
'*****************************************************************\n'
test test_descrtut failed -- Writing:
'*****************************************************************\n',
expected: ''
test_difflib
test_dircache
test_dl
test test_dl skipped --  No module named dl
test_doctest
test_dospath
test_dumbdbm
test_errno
test_extcall
test_fcntl
test test_fcntl skipped --  No module named fcntl
test_file
test_fileinput
test_fnmatch
test_fork1
test test_fork1 skipped --  os.fork not defined -- skipping test_fork1
test_format
test_fpformat
test_funcattrs
test_future
test_gc
test_gdbm
test_generators
test_getopt
test_gettext
test_gl
test test_gl skipped --  No module named gl
test_glob
test_global
test_grp
test test_grp skipped --  No module named grp
test_gzip
test_hash
test_htmlparser
test_httplib
test_imageop
test_imgfile
test test_imgfile skipped --  No module named imgfile
test_import
test_inspect
test_iter
test_largefile
test test_largefile skipped --  platform does not have largefile support
test_linuxaudiodev
test test_linuxaudiodev skipped --  No module named fcntl
test_locale
test test_locale skipped --  test locale en_US not supported
test_long
test_long_future
test_mailbox
test_marshal
test_math
test_md5
test_mhlib
test_mimetools
test_mimetypes
test_minidom
test_mmap
test test_mmap skipped --  No module named mmap
test_mutants
test_new
test_nis
test test_nis skipped --  No module named nis
test_ntpath
test test_ntpath skipped --  No module named nt
test_openpty
test test_openpty skipped --  No openpty() available.
test_operator
test_os
test_parser
test_pickle
test_pkg
test_pkgimport
test_poll
test test_poll skipped --  select.poll not defined -- skipping test_poll
test_popen2
test test_popen2 skipped --  cannot import name fork
test_posixpath
test_pow
test_pprint
test_pty
test test_pty skipped --  No module named termios
test_pwd
test test_pwd skipped --  No module named pwd
test_pyclbr
test_pyexpat
test_quopri
test_re
test_regex
test_repr
test_rfc822
test_rgbimg
test_richcmp
test_rotor
test_sax
test_scope
test_select
test_sgmllib
test_sha
test_signal
test test_signal skipped --  No module named signal
test_socket
test test_socket crashed -- socket.herror: (3, 'host not found')
test_socket_ssl
test test_socket_ssl skipped --  Use of the `network' resource not enabled
test_socketserver
test test_socketserver skipped --  test_socketserver can only be run
manually
test_sre
test_strftime
test_string
test_strop
test_struct
test_sunaudiodev
test test_sunaudiodev skipped --  No module named sunaudiodev
test_sundry
test test_sundry skipped --  No module named bsddb
test_symtable
test_thread
test_threaded_import
test test_threaded_import skipped --  can't run when import lock is held
test_threadedtempfile
test_threading
test_time
test test_time crashed -- exceptions.TypeError: not enough arguments for
format string
test_timing
test test_timing skipped --  No module named timing
test_tokenize
test_traceback
test_ucn
test_unary
test_unicode
test_unicode_file
test test_unicode_file skipped --  No Unicode filesystem semantics on this
platform.
test_unicodedata
test_unpack
test_urllib
test_urllib2
test_urlparse
test_userdict
test_userlist
test_userstring
test_uu
test_wave
test_weakref
test_winreg
test test_winreg skipped --  No module named _winreg
test_winsound
test test_winsound skipped --  No module named winsound
test_xmllib
test_xreadline
test_zipfile
test_zlib
test test_zlib crashed -- exceptions.MemoryError: Out of memory while
decompressing data
132 tests OK.
4 tests failed:
    test_descrtut test_socket test_time test_zlib
34 tests skipped:
    test_al test_bsddb test_cd test_cl test_commands test_crypt
    test_dbm test_dl test_fcntl test_fork1 test_gl test_grp
    test_imgfile test_largefile test_linuxaudiodev test_locale
    test_mmap test_nis test_ntpath test_openpty test_poll test_popen2
    test_pty test_pwd test_signal test_socket_ssl test_socketserver
    test_sunaudiodev test_sundry test_threaded_import test_timing
    test_unicode_file test_winreg test_winsound
1 skip unexpected on mac:
    test_threaded_import
Traceback (most recent call last):
  File "<input>", line 1, in ?
  File "Macintosh HD:Local Apps:Python 2.2a3:Lib:test:regrtest.py", line
238, in main
    sys.exit(len(bad) > 0)
SystemExit: 1
>>>