R. David Murray added the comment:
It looks like it turned out that there is nothing specific in this issue that
isn't covered by issue 2399.
--
nosy: +r.david.murray
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - Patches for Tools/msi
Bill Janssen bill.jans...@gmail.com added the comment:
Another bit of info. It's the frequent commits that seem to fix the problem;
when I comment those out of the __del__ method, it fails as before. I also
notice that the finished installer is about twice the size of the two data
files in
Bill Janssen bill.jans...@gmail.com added the comment:
Ah, found the size problem -- I was measuring something in 512 blocks not 1KB
blocks. Never mind.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8552
Martin v. Löwis mar...@v.loewis.de added the comment:
You could also try to commit the MSI file in-between, which may release memory.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8552
Bill Janssen bill.jans...@gmail.com added the comment:
Yes, I've tried that. No joy. Right now I'm trying an approach which
packages each top-level directory as a separate cab.
What I'm finding is that if I get up around 4200 files, it breaks,
regardless of the file sizes. Out of curiosity,
Changes by Bill Janssen bill.jans...@gmail.com:
Removed file: http://bugs.python.org/file17118/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8552
___
Bill Janssen bill.jans...@gmail.com added the comment:
I've now been able to build my installer.
I applied Travis Oliphant's patch from http://bugs.python.org/issue2399 to
Lib/msilib/__init__.py, then added a __del__ method to the Directory class:
def __del__(self):
if
New submission from Bill Janssen bill.jans...@gmail.com:
I'm trying to create a CAB file containing about 69MB of data, in 4555 files.
msilib fails in CAB.commit():
$ python build-msi-installer.py /c/UpLib/1.7.9 ~/uplib 1.7.9 ./uplib-1.7.9.msi
c:\Documents and
Martin v. Löwis mar...@v.loewis.de added the comment:
Another reason to allow multiple CAB files in a single installer?
I'm still curious as to what the first reason is.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8552
Bill Janssen bill.jans...@gmail.com added the comment:
Ummm, just in case the packager wanted to.
In my case, I was putting the files which were registered as part of the
installation in one CAB file, and another set of temporary files which were
used by some of the installation scripts, but
Bill Janssen bill.jans...@gmail.com added the comment:
So, I subclassed msilib.CAB, and re-wrote commit() so that the CAB file is
created in a different process, a la Tools/msi/msilib.py. Still have the same
problem, though. So now I'm thinking it's not a memory problem, but I'm
wondering
11 matches
Mail list logo