I've tried the branch, and gotten the same result. I looked at the
change in build.py, and it seems like a reasonable thing to do.
However, there's something else going on here.
As I mention below, we're dealing with two different files, which have
the same name except for case, but _different_ sizes. I can see where
the smaller, all lower case file comes from: it's definitely part of my
Python 2.5 installation (it lives in Windows/system32), and PyI picks it
up and includes it as it should. The strange part comes in the process
of setting up the _MEI folder at the start of execution of the main
application. At some point, the other, larger, mixed case file has been
put in the folder.
(On further investigation: I ran ArchiveViewer on the main .exe file,
and among the the output were the two following lines (not contiguous):
(1731776, 0, 0, 0, 'd', '..\\dummy\\dummy:PyWinTypes25.dll'),
(1731776, 0, 0, 0, 'd', '..\\dummy\\dummy:pywintypes25.dll'),
That led me to look more closely at the voluminous output from the FyI
run. I found the following line in the analysis of several of the
applications:
W: pywintypes is changing it's name to PyWinTypes25
I hope this will help figure out what's going on and how to stop it.
Another hint: a bit of grepping found the warning message in
source/common/launch.c. Maybe the "normcasing" should be done there as
well.
-----
Separate issue: in the merged setup, the MSVCR71.dll file only exists in
the dummy directory. When I start the main application, after the
warning message, I get the system error message "The program can't start
because MSVCR71.dll is missing from your computer." If I copy the file
from dummy to the main application folder, I don't get this message.
Again, thanks for the help,
--
Don Dwiggins
Advanced Publishing Technology
On 3/1/2012 5:07 PM, Giovanni Bajo wrote:
Il giorno 02/mar/2012, alle ore 00:47, Don Dwiggins ha scritto:
I've successfully built a system of applications using MERGE, which works beautifully on
my development machine (which is running Win XP). This now consists of several parallel
folders, each with its own dependencies, plus a "dummy" folder that gets
analyzed first, and accumulates the common dependencies.
Unfortunately, I've run into a strange problem on a different machine (running Win 7). When I
start the initial application, I get the following warning message: "file already exists
but should not:<path to Temp folder>\_MEI123456\pywintypes25.dll". After that, the
application exits quietly.
Here's one possible clue: the dummy folder includes the file pywintypes25.dll,
116KB in length. When I look at the _MEI folder, I see a file named
PyWinTypes25.dll (notice the upper case), 120KB in length -- this makes me
wonder if something is creating this file, then trying to create the
all-lower-case file on top of it. (Oddly, I see the mixed-case file on my
development machine as well, but no error or warning message is given.)
Any help appreciated,
Try the branch "fix_merge_case" on github I just created and let me know if it
fixes the bug.
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pyinstaller?hl=en.