|
Re: Re: urllib and ftplib hang in bundle but not when run directly: msg#00096python.apple
At 11:14 PM +0200 2004-05-15, Jack Jansen wrote: ... I agree, especially as simply compiling the regular expression can cause the same problem. My next guess would be that the bundled application somehow holds I'll gladly have a go at that. not having used gdb before I'm wondering if anyone can suggest a tutorial or recipe. Also, there are now quite a few things called bundlebuilder or variations I am using the bundlebuilder that came with Panther's built-in Mac Python 2.3. Here's the basic call (the build script has additional code to handle the fact that I mix some data files, e.g. sounds and html help, in with my modules, but this just copies files into the bundle): inclPkgs = ["RO", "TUI"] libs = [ "/Library/Frameworks/Tcl.framework", "/Library/Frameworks/Tk.framework", ] resources = [tuiDir] bundlebuilder.buildapp( name = appName, # application name builddir = ".", # dir for application mainprogram = mainProg, # your app's main() argv_emulation = False, # drag&dropped filenames show up in sys.argv? iconfile = 'TUI.icns', # file containing your app's icons semi_standalone = True, # make this app self contained. includePackages = inclPkgs, # additional Packages to force in libs = libs, # extra libraries to force in resources = resources, # extra files or folders to copy to Resources ) Note that this same code also hangs under RedHat 9.2 linux with Python 2.3.3. Still, the fact that it runs fine as a pythonw command-line app (with GUI) and not as a bundled app is certainly suspicious and if gdb will show what's going on, that'll be great! I'd sure rather not hack my own version of ftplib. -- Russell _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@xxxxxxxxxx http://mail.python.org/mailman/listinfo/pythonmac-sig |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re: urllib and ftplib hang in bundle but not when run directly: 00096, Michael Hudson |
|---|---|
| Next by Date: | Re: Re: urllib and ftplib hang in bundle but not when run directly: 00096, Jack Jansen |
| Previous by Thread: | Re: Re: urllib and ftplib hang in bundle but not when run directlyi: 00096, Jack Jansen |
| Next by Thread: | Re: Re: urllib and ftplib hang in bundle but not when run directly: 00096, Jack Jansen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |