[Pythonmac-SIG] Build Application problem some more!!

Chris Barker Chris_Barker@hazmat.noaa.gov
Thu, 27 Jul 2000 14:04:01 -0700


This is a multi-part message in MIME format.

----=_--b5a5f229.021f23e9.00000169
Content-type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

OOOPS!, I forgot the atachments. here it is again.

HI all,

I know this must be getting annoying, but I've done a little bit more
diagnostics, and I'm no further toward understanding what's going on, but
I have a little more data.

To remove any confusion about ftplib and Tkinter, modules I used
originally that  might have had something to do with the problem, I made a
couple of very small test scripts that ilustrate the problem.

What happens is that an unwanted output window pops up, it appears to
happen when I do something with file access. I've enclosed two scripts
that ilustrate.

Pico-test.py simple builds a couple of lists, sleeps, and then exits. It
works fine both dropped on the interpreter, and with BuildApplication.

Micro-test.py, opens a file, writes a little bit to it, then sleeps, then
closes it. When dropped on the interpreter, it works fine, with no output
window. When used with BuildApplication, it brings up an output window
with nothing in it. I put the time.sleep() in so that you could see the
output window for a few seconds. without it, it just flashed on screen.

1.5.2c1 and 1.6a2 behave in exactly the same way.

I put the weird import macfsn line in to accomidate a bug in 1.6a2 Build
Application.

What is the deal here?

Does anyone else get the same results? I did re-install Python, both 1.5
and 1.6, with no change.
By the way: Blue&white G3, MacOS  8.6

My little ftp app took about 2hrs to write on Linux (I was teaching myself
Tkinter as I went), and now weeks to get a distributable application on
the Mac. Having the users install Python really isn't an option.

I'm trying to sell folks here on Python as a good way to produce small
cross-platform apps. (Large ones too, but that's a harder sell). The Mac
is an important platform, and I really need to be able to demo it without
having unwanted text windows pop up. Mac users don't like that kind of
thing! Please help!!

-Chris



----=_--b5a5f229.021f23e9.00000169
Content-Type: multipart/appledouble; boundary="--=_--b5a5f22a.021f241b.0000016a";
 x-mac-type="54455854"; x-mac-creator="522A6368"
Content-Disposition: attachment; filename="micro-test.py"

----=_--b5a5f22a.021f241b.0000016a
Content-Type: application/applefile; name="micro-test.py"
Content-Transfer-Encoding: base64

AAUWBwACAAAAAAAAAAAAAAAAAAAAA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AgP//AAAA
TAcsl6w=

----=_--b5a5f22a.021f241b.0000016a
Content-Type: text/plain; name="micro-test.py"
Content-Transfer-Encoding: base64

IyBtaWNyby10ZXN0LnB5DSMgdmVyeSBzaW1wbGUgdGVzdCBzY3JpcHQNDWltcG9y
dCB0aW1lICwgc3lzDWlmIHN5cy52ZXJzaW9uID09ICcxLjZhMiAoIzU0LCBNYXkg
IDYgMjAwMCwgMDA6MjY6MjkpICBbQ1cgUFBDIHcvR1VTSTIgdy9USFJFQURTXSc6
DQlpbXBvcnQgbWFjZnNuICMgYWRkZWQgdG8gbGV0IEJ1aWxkQXBwbGljYXRpb24g
KHYuMS42YTIpIGtub3cgdGhhdCBpdCBpcyBuZWVkZWQNDWZpbGUgPSBvcGVuKCdq
dW5rLnR4dCcsJ3d0JykNDWZpbGUud3JpdGUoJ1NvbWUgcmFuZG9tIHN0dWZmXG4n
KjEwMCkNDXRpbWUuc2xlZXAoNSkNDWZpbGUuY2xvc2UNDQ==

----=_--b5a5f22a.021f241b.0000016a--

----=_--b5a5f229.021f23e9.00000169
Content-Type: multipart/appledouble; boundary="--=_--b5a5f22d.021f24cb.0000016b";
 x-mac-type="54455854"; x-mac-creator="522A6368"
Content-Disposition: attachment; filename="pico-test.py"

----=_--b5a5f22d.021f24cb.0000016b
Content-Type: application/applefile; name="pico-test.py"
Content-Transfer-Encoding: base64

AAUWBwACAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAADAAAASgAAAAwAAAAIAAAAVgAA
ABAAAAAJAAAAZgAAACAAAAACAAAAhgAABa5waWNvLXRlc3QucHkBEvhrARL6vwgA
AAAIAAAAVEVYVFIqY2gBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFaAAA
BGgAAABGgAEAWDghAFB/4/t4fAgDpoPh//yDwf/4ToAAIAAN03R8CAKmk+H//JPB
//h8niN4k6H/9Hx9G3iAYpcMkAEACJQh/7BIAABxfH8beUGCABCTvwAIk98ADEgA
AAx/o+t4S/6qPYABA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ZGRlZCB0byBsZXQgQnVpbGRBcHBsaWNhdGlv
biAodi4xLjZhMikga25vdyB0aGF0IGl0IGlzIG5lZWRlZA0NDWEgPSBbXQ1mb3Ig
aSBpbiByYW5nZSgyMDApOg0JYS5hcHBlbmQoaSkNDWIgPSBbXQ1mb3IgaSBpbiBy
YW5nZSgxMDApOg0JYi5hcHBlbmQoYSkNDXRpbWUuc2xlZXAoNSkN

----=_--b5a5f22d.021f24cb.0000016b--

----=_--b5a5f229.021f23e9.00000169--