[Zope-dev] Windows Installers
Tim Peters
tim.peters at gmail.com
Tue Aug 1 01:25:56 EDT 2006
[Sidnei da Silva[
> So we need a 2.8.8 and 2.9.4 installers.
OK, I uploaded a Windows installer for 2.8.8. There were two -all
test failures:
ERROR: test_OFS_ObjectManager__importObjectFromFile_xml
(OFS.tests.test_XMLExportImport.XMLExportImportTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Code\Zope2.8\inst\build\lib\python\OFS\tests\test_XMLExportImport.py",
line 102, in test_OFS_ObjectManager__i
mportObjectFromFile_xml
sub._importObjectFromFile(ostream.name, 0, 0)
File "C:\Code\Zope2.8\inst\build\lib\python\OFS\ObjectManager.py",
line 592, in _importObjectFromFile
ob=connection.importFile(
File "C:\Code\Zope2.8\inst\build\lib\python\ZODB\ExportImport.py",
line 59, in importFile
f = open(f, 'rb')
IOError: [Errno 13] Permission denied:
'c:\\docume~1\\owner\\locals~1\\temp\\tmppr7uqt.xml'
======================================================================
ERROR: test_export_import_as_file_idempotent
(OFS.tests.test_XMLExportImport.XMLExportImportTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Code\Zope2.8\inst\build\lib\python\OFS\tests\test_XMLExportImport.py",
line 75, in test_export_import_as_file
_idempotent
newobj = importXML(connection, ostream.name)
File "C:\Code\Zope2.8\inst\build\lib\python\OFS\XMLExportImport.py",
line 104, in importXML
file=open(file)
IOError: [Errno 13] Permission denied:
'c:\\docume~1\\owner\\locals~1\\temp\\tmpgj2cnm.xml'
----------------------------------------------------------------------
Ran 6229 tests in 1765.442s
FAILED (errors=2)
> Note 2.9.4 changed the build procedure to be the same as 2.8.x again. I've
> made the changes, and hopefully it should work just fine.
The 2.9.4 build started failing here:
...
mkdir -p "/cygdrive/c/Code/Zope2.9/inst/src"
cd "/cygdrive/c/Code/Zope2.9/inst/src" && tar xzf ../tmp/Zope-2.9.4.tgz
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
make: *** [src/Zope-2.9.4/inst/configure.py] Error 2
I renamed the Zope 2.9.4 tarball download to worm around that, and
then it failed here:
mkdir -p "/cygdrive/c/Code/Zope2.9/inst/src"
cd "/cygdrive/c/Code/Zope2.9/inst/src" && tar xzf ../tmp/Zope-2.9.4.tgz
touch src/Zope-2.9.4/inst/configure.py
touch: cannot touch `src/Zope-2.9.4/inst/configure.py': No such file
or directory
make: *** [src/Zope-2.9.4/inst/configure.py] Error 1
Again it's fatally confused about whether the Zope tarball and/or
unpacked directory root does or does not have "-final" in its name. I
didn't repair this, I just wormed around it again (I have no idea what
the /intent/ is now).
Finally, the code for finding Inno Setup in common.mk was broken,
trying to feed a native Windows path to the Cygwin bash shell. I
replaced that on the tag (but not the branch) with similar (but
working ;-)) code from the 2.8.8 build, essentially reverting this
patch:
http://svn.zope.org/Zope/branches/2.9/inst/WinBuilders/mk/common.mk?rev=69118&r1=65837&r2=69118
After that, everything worked fine, although the functional tests crapped out.
More information about the Zope-Dev
mailing list