Re: [Pythonmac-SIG] py2app troubles

2005-03-07 Thread Bob Ippolito
On Mar 7, 2005, at 5:24 PM, Dave Opstad wrote: I've got a Tkinter application that works fine when I launch it via pythonw. This is on 10.3.7, default 2.3.0 Python install, added the MacPython stuff and installed _tkinter from Package Manager. After successfully installing py2app 0.1.7, I modifi

Re: [Pythonmac-SIG] Again: EasyDialogs + Appscript + iPhoto = zombies!

2005-03-07 Thread Bob Ippolito
It's a duplicate here... You can't do a fork and then call into Carbon or Cocoa. You can only call into Carbon or Cocoa in a fresh process. You'll need to fork/execve instead. Not sure if that will toss the zombies, but that is at least one thing wrong with this code. -bob On Mar 7, 2005, at

[Pythonmac-SIG] Again: EasyDialogs + Appscript + iPhoto = zombies!

2005-03-07 Thread Nathaniel Gray
I sent this last week and haven't seen it come through on the list yet. Sorry if it's a duplicate... -- Forwarded message -- From: Nathaniel Gray <[EMAIL PROTECTED]> Date: Wed, 2 Mar 2005 19:02:44 -0800 Subject: EasyDialogs + Appscript + iPhoto = zombies! To: Pythonmac-Sig Hi,

Re: [Pythonmac-SIG] Using UKKQueue with PyObjC

2005-03-07 Thread Bob Ippolito
On Mar 7, 2005, at 5:11 PM, Florian Munz wrote: Hi, I'm currently trying to use the UKKQueue class to monitor file changes from my PyObjC application. After some fiddling I got the basics working, but encountered some problems and questions: * What is the minimal way to include such an ObjC wrapper

Re: [Pythonmac-SIG] Re: Binary Matplotlib package, working. Need to keep script running after plotting.

2005-03-07 Thread Louis Pecora
Chris Barker wrote: Louis Pecora wrote: You pretty much got it. OK. I've enclosed a little script that demonstrates calling up some stock dialogs in a script with wxPython. really the only trick is that you need to initialize an app first. Look through the wx docs to see what standard dialogs t

Re: [Pythonmac-SIG] Re: Binary Matplotlib package, working. Need to keep script running after plotting.

2005-03-07 Thread Chris Barker
Louis Pecora wrote: You pretty much got it. OK. I've enclosed a little script that demonstrates calling up some stock dialogs in a script with wxPython. really the only trick is that you need to initialize an app first. Look through the wx docs to see what standard dialogs there are. Plus there

[Pythonmac-SIG] py2app troubles

2005-03-07 Thread Dave Opstad
I've got a Tkinter application that works fine when I launch it via pythonw. This is on 10.3.7, default 2.3.0 Python install, added the MacPython stuff and installed _tkinter from Package Manager. After successfully installing py2app 0.1.7, I modified my setup.py file and then did a "python setup.

[Pythonmac-SIG] Using UKKQueue with PyObjC

2005-03-07 Thread Florian Munz
Hi, I'm currently trying to use the UKKQueue class to monitor file changes from my PyObjC application. After some fiddling I got the basics working, but encountered some problems and questions: * What is the minimal way to include such an ObjC wrapper class with py2app? I am using the setup.py f

Re: [Pythonmac-SIG] Using Matplotlib interactive/GUI - How to?

2005-03-07 Thread Louis Pecora
Chris Barker wrote: Charles Moad wrote: I don't think this file is ever explicitly made for you. You can download a sample from his website, http://matplotlib.sourceforge.net/.matplotlibrc. Download this and put it in your home dir. Yes, there is one there by default: /System/Library/Framewo

Re: [Pythonmac-SIG] Re: Binary Matplotlib package, working. Need to keep script running after plotting.

2005-03-07 Thread Chris Barker
Louis Pecora wrote: BUT. (Users are never satisfied are they/we? :-) ). My ultimate goal is to not wait until the end of the script to do the plot, but to be able to plot and keep the script running. This can be done either by pausing the script (in some way) or by leaving the matplotwindow

Re: [Pythonmac-SIG] Using Matplotlib interactive/GUI - How to?

2005-03-07 Thread Chris Barker
Charles Moad wrote: I don't think this file is ever explicitly made for you. You can download a sample from his website, http://matplotlib.sourceforge.net/.matplotlibrc. Download this and put it in your home dir. Yes, there is one there by default: /System/Library/Frameworks/Python.framework/

[Pythonmac-SIG] Re: Binary Matplotlib package, working. Need to keep script running after plotting.

2005-03-07 Thread Louis Pecora
Chris Barker wrote: How about the developer tools and/or X-windows? -Chris Hi Chris, Yes, I have the dev. tools and and X11 stuff. I have some old code that opens an X window and does very simple drawing. That works after compiling using g++ and linking to /usr/X11R6/lib/libX11.a. But note, I

Re: [Pythonmac-SIG] system, popen, tarfile on OS X

2005-03-07 Thread Bill MacKenzie
On Mar 5, 2005, at 2:50 PM, Bob Ippolito wrote: On Mar 4, 2005, at 6:17 PM, Bill MacKenzie wrote: I'm preparing a script which will launch an external program (a JAR), process the XML file that results, tar the files output from the processed XML, and FTP the tarball to a remote location. The m

Re: [Pythonmac-SIG] PackageMaker and bdist_mpkg

2005-03-07 Thread Bob Ippolito
bdist_mpkg can't do this simply yet. It's not designed as a general package creation tool, it's designed to do what it does and little else. As I said, by default, PackageMaker creates mpkgs that use ".." as the path, so you need to manually copy the packages *next to* the mpkg. Not inside.

Re: [Pythonmac-SIG] PackageMaker and bdist_mpkg

2005-03-07 Thread Charles Moad
Sounds like that is probably it. So I should manually copy the packages into the mpkg? What would be a simple python script to make bdist_mpkg do that given a list of pkgs. Thanks again, Bob Ippolito wrote: On Mar 7, 2005, at 11:20 AM, Bob Ippolito wrote: On Mar 7, 2005, at 11:02 AM, Charles M

Re: [Pythonmac-SIG] PackageMaker and bdist_mpkg

2005-03-07 Thread Bob Ippolito
On Mar 7, 2005, at 11:20 AM, Bob Ippolito wrote: On Mar 7, 2005, at 11:02 AM, Charles Moad wrote: I am trying to make a mpkg using PackageMaker that includes a combination of frameworks wrapped as pkg's, and bdist_mpkg outputs. Each of these pkg's work fine when installed separately, but die whe

Re: [Pythonmac-SIG] PackageMaker and bdist_mpkg

2005-03-07 Thread Bob Ippolito
On Mar 7, 2005, at 11:02 AM, Charles Moad wrote: I am trying to make a mpkg using PackageMaker that includes a combination of frameworks wrapped as pkg's, and bdist_mpkg outputs. Each of these pkg's work fine when installed separately, but die when I try running the resulting mpkg. One machine

[Pythonmac-SIG] PackageMaker and bdist_mpkg

2005-03-07 Thread Charles Moad
I am trying to make a mpkg using PackageMaker that includes a combination of frameworks wrapped as pkg's, and bdist_mpkg outputs. Each of these pkg's work fine when installed separately, but die when I try running the resulting mpkg. One machine gave me a horribly long stack trace that I thin

Re: [Pythonmac-SIG] Tcl/Tk Aqua

2005-03-07 Thread Kevin Walzer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bob Ippolito wrote: | | | Doesn't an IDLE applet come with the add-ons? | | IDLE is useful as an interactive interpreter because it's (in my | experience) the only one that actually does it right by running the | sub-interpreters out of process. I wish

Re: [Pythonmac-SIG] pygtk

2005-03-07 Thread Truls A. Tangstad
On Mon, Mar 07, 2005 at 06:35:07AM -0500, Bob Ippolito wrote: > On Mar 7, 2005, at 5:11, Piet van Oostrum wrote: > > <[EMAIL PROTECTED]> wrote: > >> hi all > >> i was wondering if it is possible to use pyGTK to program > >> crossplarform python apps. I have been it checking, downloaded > >> the in

Re: [Pythonmac-SIG] Tcl/Tk Aqua

2005-03-07 Thread Bob Ippolito
On Mar 7, 2005, at 9:44, Kevin Walzer wrote: Bob Ippolito wrote: | | | What you don't see is the stupid messages I get off-list because the | PackMan UI sucks and confuses people. I'm tempted to just take it down | entirely so I don't have to see these messages (I have removed | references to the

Re: [Pythonmac-SIG] Tcl/Tk Aqua

2005-03-07 Thread Kevin Walzer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bob Ippolito wrote: | | | | What you don't see is the stupid messages I get off-list because the | PackMan UI sucks and confuses people. I'm tempted to just take it down | entirely so I don't have to see these messages (I have removed | references to t

Re: [Pythonmac-SIG] Tcl/Tk Aqua

2005-03-07 Thread Bob Ippolito
On Mar 7, 2005, at 8:28, Kevin Walzer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lou, TkAqua is a separate installation that is available from this URL: http://tcltkaqua.sourceforge.net You'll find the current version (8.4.9) there. The tkinter binary that is installed by PackMan is just

[Pythonmac-SIG] Tcl/Tk Aqua

2005-03-07 Thread Kevin Walzer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lou, TkAqua is a separate installation that is available from this URL: http://tcltkaqua.sourceforge.net You'll find the current version (8.4.9) there. The tkinter binary that is installed by PackMan is just a thin wrapper over those frameworks. I've no

Re: [Pythonmac-SIG] pygtk

2005-03-07 Thread Bob Ippolito
On Mar 7, 2005, at 5:11, Piet van Oostrum wrote: altern <[EMAIL PROTECTED]> (E) wrote: E> hi all E> i was wondering if it is possible to use pyGTK to program crossplarform E> python apps. I have been it checking, downloaded the installer from pygtk E> website but i cannot compile it so far. I ha

Re: [Pythonmac-SIG] pygtk

2005-03-07 Thread Piet van Oostrum
> altern <[EMAIL PROTECTED]> (E) wrote: >E> hi all >E> i was wondering if it is possible to use pyGTK to program crossplarform >E> python apps. I have been it checking, downloaded the installer from pygtk >E> website but i cannot compile it so far. I have been trying to install it >E> with pac

[Pythonmac-SIG] pygtk

2005-03-07 Thread altern
hi all i was wondering if it is possible to use pyGTK to program crossplarform python apps. I have been it checking, downloaded the installer from pygtk website but i cannot compile it so far. I have been trying to install it with packman but i cannot see it. I want it to create a opengl window.