[Python-Dev] New version of installer

Tim Peters tim.one at comcast.net
Sun Jan 4 15:55:20 EST 2004


[Martin v. Loewis]
> I have put a new version of the installer at
>
> http://www.dcl.hpi.uni-potsdam.de/home/loewis/python2.4.0.12421.msi
>
> ...
> I'm particularly interested in whether this can be installed and
> run successfully on Windows 95 (and other W9x versions).

I don't have a Win95 box anymore.  It installed fine on Win98SE; I already
had the Windows Installer.

Most things worked fine.

I noticed that Lib/site-packages/ wasn't created, but should be.

A number of tests failed that didn't fail in last night's VC6-built Python
2.4.  I expect most of these are due to failing to install some test files
with oddball extensions (that was a seemingly endless battle with the Wise
installer too):

C:\Python24>python lib/test/regrtest.py -u network,largefile
...
test___all__
test test___all__ failed -- Traceback (most recent call last):
  File "C:\PYTHON24\lib\test\test___all__.py", line 69, in test_all
    self.check_all("base64")
  File "C:\PYTHON24\lib\test\test___all__.py", line 42, in check_all
    exec "from %s import *" % modname in names
  File "<string>", line 1, in ?
AttributeError: 'module' object has no attribute 'freenet_b64encode'

Also failed under VC6.


...
test test_anydbm failed -- errors occurred in
test.test_anydbm.AnyDBMTestCase

New failure.


...
test test_imageop crashed -- exceptions.IOError: [Errno 2] No such file or
directory: 'testrgb.uue'

New failure.


...
test_minidom
Traceback (most recent call last):
  File "C:\PYTHON24\lib\test\test_minidom.py", line 1357, in ?
    func()
  File "C:\PYTHON24\lib\test\test_minidom.py", line 112, in testAppendChild
    dom = parse(tstfile)
  File "C:\PYTHON24\lib\xml\dom\minidom.py", line 1915, in parse
    return expatbuilder.parse(file)
  File "C:\PYTHON24\lib\xml\dom\expatbuilder.py", line 922, in parse
    fp = open(file, 'rb')
IOError: [Errno 2] No such file or directory:
'C:\\PYTHON24\\lib\\test\\test.xml'
Traceback (most recent call last):
  File "C:\PYTHON24\lib\test\test_minidom.py", line 1357, in ?
    func()
  File "C:\PYTHON24\lib\test\test_minidom.py", line 36, in
testGetElementsByTagName
    dom = parse(tstfile)
  File "C:\PYTHON24\lib\xml\dom\minidom.py", line 1915, in parse
    return expatbuilder.parse(file)
  File "C:\PYTHON24\lib\xml\dom\expatbuilder.py", line 922, in parse
    fp = open(file, 'rb')
IOError: [Errno 2] No such file or directory:
'C:\\PYTHON24\\lib\\test\\test.xml'
Traceback (most recent call last):
  File "C:\PYTHON24\lib\test\test_minidom.py", line 1357, in ?
    func()
  File "C:\PYTHON24\lib\test\test_minidom.py", line 188, in testNonZero
    dom = parse(tstfile)
  File "C:\PYTHON24\lib\xml\dom\minidom.py", line 1915, in parse
    return expatbuilder.parse(file)
  File "C:\PYTHON24\lib\xml\dom\expatbuilder.py", line 922, in parse
    fp = open(file, 'rb')
IOError: [Errno 2] No such file or directory:
'C:\\PYTHON24\\lib\\test\\test.xml'
Traceback (most recent call last):
  File "C:\PYTHON24\lib\test\test_minidom.py", line 1357, in ?
    func()
  File "C:\PYTHON24\lib\test\test_minidom.py", line 31, in testParseFromFile
    dom = parse(StringIO(open(tstfile).read()))
IOError: [Errno 2] No such file or directory:
'C:\\PYTHON24\\lib\\test\\test.xml'
Traceback (most recent call last):
  File "C:\PYTHON24\lib\test\test_minidom.py", line 1357, in ?
    func()
  File "C:\PYTHON24\lib\test\test_minidom.py", line 195, in testUnlink
    dom = parse(tstfile)
  File "C:\PYTHON24\lib\xml\dom\minidom.py", line 1915, in parse
    return expatbuilder.parse(file)
  File "C:\PYTHON24\lib\xml\dom\expatbuilder.py", line 922, in parse
    fp = open(file, 'rb')
IOError: [Errno 2] No such file or directory:
'C:\\PYTHON24\\lib\\test\\test.xml'
test test_minidom produced unexpected output:
**********************************************************************
*** lines 2-20 of actual output doesn't appear in expected output after line
1:
+ Test Failed:  testAppendChild
+ <exceptions.IOError instance at 0x01BD3698>
+ Test Failed:  testGetElementsByTagName
+ <exceptions.IOError instance at 0x01A18A80>
+ Test Failed:  testNonZero
+ <exceptions.IOError instance at 0x01A18F08>
+ Test Failed:  testParseFromFile
+ <exceptions.IOError instance at 0x01A18968>
+ Test Failed:  testUnlink
+ <exceptions.IOError instance at 0x01A238F0>
+
+
+
+ **** Check for failures in these tests:
+   testAppendChild
+   testGetElementsByTagName
+   testNonZero
+   testParseFromFile
+   testUnlink
**********************************************************************

New failure.


...
test test_rgbimg crashed -- exceptions.IOError: [Errno 2] No such file or
directory: 'testrgb.uue'

New failure.


...
test test_sax crashed -- exceptions.IOError: [Errno 2] No such file or
directory: 'test.xml.out'

New failure.


...
test test_tarfile crashed -- exceptions.IOError: [Errno 2] No such file or
directory: 'c:\\windows\\temp\\testtar.dir\\testtar.tar.gz'

New failure.


...
test test_unicode_file failed -- Traceback (most recent call last):
  File "C:\PYTHON24\lib\test\test_unicode_file.py", line 142, in
test_single_files
    self._test_single(TESTFN_UNICODE)
  File "C:\PYTHON24\lib\test\test_unicode_file.py", line 116, in
_test_single
    self._do_single(filename)
  File "C:\PYTHON24\lib\test\test_unicode_file.py", line 32, in _do_single
    os.utime(filename, None)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 6-7:
ordinal not in range(128)

Old failure.


...
test_urllib2
test test_urllib2 failed -- Traceback (most recent call last):
  File "C:\PYTHON24\lib\test\test_urllib2.py", line 345, in test_file
    r = h.file_open(Request(url))
  File "C:\PYTHON24\lib\urllib2.py", line 1058, in file_open
    return self.open_local_file(req)
  File "C:\PYTHON24\lib\urllib2.py", line 1073, in open_local_file
    stats = os.stat(localfile)
OSError: [Errno 2] No such file or directory: '\\test.txt'

Old failure.

...
9 tests failed:
    test___all__ test_anydbm test_imageop test_minidom test_rgbimg
    test_sax test_tarfile test_unicode_file test_urllib2

Up from 3 failures last night.




More information about the Python-Dev mailing list