Re: [Pythonmac-SIG] py2app & multiprocessing

2009-08-12 Thread Nathan
On Wed, Aug 12, 2009 at 2:15 PM, Christopher Barker wrote: > Gabriel Rossetti wrote: >> >> no SSH, nothing) and I have to had reboot it. It uses a combination of >> Twisted and wxPython and is rather large, so I don't know where this comes >> from, it could be wx, twisted or the two together. > > I

Re: [Pythonmac-SIG] py2app & multiple executable files with a main launcher

2009-08-12 Thread Christopher Barker
Gabriel Rossetti wrote: I am trying to bundle an application I wrote usinf py2app. The application has a launcher "launcher.py" and a Python script "main.py" that calls the launcher several times in sub-processes with diff args. I wanted to do something like this a while back (quite a while!).

Re: [Pythonmac-SIG] py2app & multiprocessing

2009-08-12 Thread Dave Peterson
Christopher Barker wrote: hmm -- I think that is indeed where the working dir is set by py2app when starting op. try: print os.getcwd() you can look in the "Console" app to see stuff printed to stdout. Or you can just open up a terminal and explicitly run the executable like so: /path/t

Re: [Pythonmac-SIG] py2app & multiprocessing

2009-08-12 Thread Christopher Barker
Gabriel Rossetti wrote: no SSH, nothing) and I have to had reboot it. It uses a combination of Twisted and wxPython and is rather large, so I don't know where this comes from, it could be wx, twisted or the two together. It's probably not wx -- it is used a fair bit on Macs. I don't know how

Re: [Pythonmac-SIG] py2app & multiprocessing

2009-08-12 Thread Aahz
On Wed, Aug 12, 2009, Gabriel Rossetti wrote: > > Hello everyone, I am trying to use py2app with multiprocessing but it > doesn't work correctly, I get this : > > ImportError: > '/System/Library/Frameworks/Python.framework/Versions/2.5/lib-dynload/multiprocessing/_multiprocessing.so' > > not

Re: [Pythonmac-SIG] run python script on another computer's terminal (LAN)

2009-08-12 Thread pedro
On 2009-08-11 17:55:45 -0400, Ned Deily said: In article , Ned Deily wrote: In article <50697b2c0908111235j42440662ic7cdffa611f96...@mail.gmail.com>, Chris Rebert wrote: On Tue, Aug 11, 2009 at 3:25 PM, pedro wrote: Hi, does anyone know how to send a command that is within a python script

Re: [Pythonmac-SIG] py2app & multiprocessing

2009-08-12 Thread Gabriel Rossetti
Thank you Daniel for your comment, I am having a rather hard time porting my app to Mac. It works great on linux, it also works on windows, but on Mac it goes crazy, it even locks up the OS (all I can do is move the mouse pinwheel of death around but no clicks, no keyboard, no SSH, nothing) and

Re: [Pythonmac-SIG] py2app & multiprocessing

2009-08-12 Thread Daniel Ashbrook
I don't know the answer to this question, but I wanted to warn you: be careful using multiprocessing with PyObjc. I never was able to get it into a easy test case, but sometimes one or more of my multiprocessing processes would never return when used in conjunction with PyObjc, and the prog

[Pythonmac-SIG] py2app & multiprocessing

2009-08-12 Thread Gabriel Rossetti
Hello everyone, I am trying to use py2app with multiprocessing but it doesn't work correctly, I get this : ImportError: '/System/Library/Frameworks/Python.framework/Versions/2.5/lib-dynload/multiprocessing/_multiprocessing.so' not found I don't understand why it is looking for that there sin

Re: [Pythonmac-SIG] run python script on another computer's terminal (LAN)

2009-08-12 Thread Alexandre Quessy
Hi! Do you want to see the output in the remote computer's display? If so, screen might help you. You could also use the "open" command to open the Terminal supplying it a command. The "xterm" terminal in X11 is nice for that. (or better: rxvt) If you just want to get the resulting output, use eith

[Pythonmac-SIG] py2app & multiple executable files with a main launcher

2009-08-12 Thread Gabriel Rossetti
Hello, I am trying to bundle an application I wrote usinf py2app. The application has a launcher "launcher.py" and a Python script "main.py" that calls the launcher several times in sub-processes with diff args. I successfully did this with py2exe for windows. I had py2exe generate "launcher.