Problems with gencache on Windows NT
Don Dwiggins
dwig at advancedmp.net
Thu May 3 17:57:37 EDT 2001
I'm running Python 2.0 under Windows NT 4.0. I've written a module that
uses SQLDMO and calls gencache.EnsureModule (generated by makepy -i, as per
the instructions) to force early binding. I've run into the following
problem when I run the program and there's no module for SQLDMO in gen_py:
When I run the .py file (double-clicking from Windows Explorer), I see
dialogs showing that the makepy process is running; then the dialogs
disappear, and I get the first prompt from my program (via raw_input) in the
command window. At this point, the command window is inactive; I can focus
on the window with a pair of Alt-Tabs, but no cursor shows and I can't type
into it (it doesn't even refresh if I move another window over it). A look
at Task Manager shows that there are no "busy" processes.
I can finally kill the thing by killing Python.exe with Task Manager
(nothing less suffices). After this, the generated files are properly
present in gen_py, and I can run the program successfully. I've tried this
on two machines with the same results.
Any good words appreciated,
--
Don Dwiggins "Solvitur Ambulando"
Advanced MP Technology
dwig at advancedmp.net
More information about the Python-list
mailing list