From Jack.Jansen@cwi.nl Tue Apr 1 12:03:39 1997 From: Jack.Jansen@cwi.nl (Jack Jansen) Date: Tue, 01 Apr 1997 13:03:39 +0100 Subject: [PYTHONMAC-SIG] Application Running? In-Reply-To: Message by Pete Steacy , Mon, 31 Mar 1997 11:47:13 -0500 , Message-ID: <9704011203.AA08687=jack@snelboot.cwi.nl> > I need to be able to test if an application that I launched with > findertools.launch(file) is still running. Can anyone tell me how to do > that in Python? If the app supports appleevents you could poll it with an appleevent, that's the only way you can currently do this easily in Python. An alternative could be to use calldll to generate an interface to the process manager. -- Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++ Jack.Jansen@cwi.nl | ++++ if you agree copy these lines to your sig ++++ http://www.cwi.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm _______________ PYTHONMAC-SIG - SIG on Python for the Apple Macintosh send messages to: pythonmac-sig@python.org administrivia to: pythonmac-sig-request@python.org _______________ From jstrout@ucsd.edu Tue Apr 1 17:09:02 1997 From: jstrout@ucsd.edu (Joseph Strout) Date: Tue, 1 Apr 1997 09:09:02 -0800 (PST) Subject: [PYTHONMAC-SIG] Application Running? In-Reply-To: <9704011203.AA08687=jack@snelboot.cwi.nl> Message-ID: On Tue, 1 Apr 1997, Jack Jansen wrote: > > I need to be able to test if an application that I launched with > > findertools.launch(file) is still running. Can anyone tell me how to do > > that in Python? > > If the app supports appleevents you could poll it with an appleevent, that's > the only way you can currently do this easily in Python. An alternative could > be to use calldll to generate an interface to the process manager. When I want to do this in AppleScript, I just ask the Finder for a list of processes, then scan the list for the application I'm interested in. Couldn't you do the same thing from Python? -- Joe ,------------------------------------------------------------------. | Joseph J. Strout Department of Neuroscience, UCSD | | jstrout@ucsd.edu http://www-acs.ucsd.edu/~jstrout/ | `------------------------------------------------------------------' _______________ PYTHONMAC-SIG - SIG on Python for the Apple Macintosh send messages to: pythonmac-sig@python.org administrivia to: pythonmac-sig-request@python.org _______________ From arw@dante.mh.lucent.com Tue Apr 1 20:09:19 1997 From: arw@dante.mh.lucent.com (Aaron Watters) Date: Tue, 1 Apr 1997 15:09:19 -0500 Subject: [PYTHONMAC-SIG] FWD: cgi + odbc under MacPython? Message-ID: <199704012008.PAA27850@dante.mh.lucent.com> Got this off dejanews. I can't answer with any authority (wish I could). Can anybody on this list? Please copy me. The context is CGI under Mac with ODBC. -- Aaron Watters ps: the answer to 1+2 is "yes" under Windows, if that matters. Subject: cgi's written in python From: "Matthew Field" Date: 1997/03/28 Message-Id: <01bc3bb0$6d0888d0$2eaa5fcc@deathstar> Newsgroups: comp.sys.mac.programmer.help [More Headers] hi i justed picked up a book on internet programming using Python. before i invest too much time i'd like to know what this language is capable of. specifically i'd like to know 1) can i write a cgi in python 2) can i write a cgi in python that has ODBC connectivity 3) if (2) is true then what kind of performance can i get from a python cgi. will it be similar to an applescript cgi, or can i compile the python cgi. please respond to ekhausd@jdpub.com thanks dave _______________ PYTHONMAC-SIG - SIG on Python for the Apple Macintosh send messages to: pythonmac-sig@python.org administrivia to: pythonmac-sig-request@python.org _______________ From billpy@mail.demon.net Wed Apr 2 22:47:09 1997 From: billpy@mail.demon.net (Bill Bedford) Date: Wed, 2 Apr 1997 23:47:09 +0100 Subject: [PYTHONMAC-SIG] Application Running? Message-ID: At 5:47 pm +0100 31/03/97, Pete Steacy wrote: ~I need to be able to test if an application that I launched with ~findertools.launch(file) is still running. Can anyone tell me how to do ~that in Python? You can use the GTQ applescript addition. Run gensuitemodule on the 'Is application running' addition and then add the resulting mdoule and class to the finder class inheritance. You will have to keep any addition you use in the extention folder. This works for any scripting addition, but if they extend the object model then you will have to add the new clases to your aetypes modulde I have an osax module that gives an inteface to the apple standard scripting additions if any one wants a copy. ----------------------------------------------------------------------- Bill Bedford Designer of Photo-Etches billb@mousa.demon.co.uk owner Brit_Rail-L --- british railways historical list ----------------------------------------------------------------------- _______________ PYTHONMAC-SIG - SIG on Python for the Apple Macintosh send messages to: pythonmac-sig@python.org administrivia to: pythonmac-sig-request@python.org _______________ From guzdial@cc.gatech.edu Mon Apr 7 22:04:01 1997 From: guzdial@cc.gatech.edu (Mark Guzdial) Date: Mon, 7 Apr 1997 17:04:01 -0400 (EDT) Subject: [PYTHONMAC-SIG] Quit Python from AppleScripts? Message-ID: Is there anyway to Quit a terminated PythonPPC program via AppleScripts? I'm trying to write a script that I can execute remotely that will kill a crashed Python program (POO dies occasionally with disconnected and then a crash on the map over connected lines) and then restart it. I can restart it okay, but it seems that Python doesn't understand the Application Quit event, so I can only restart it manually. (Or restart the whole Finder, but that's a bit drastic.) Suggestions? Thanks! Mark -------------------------- Mark Guzdial : Georgia Tech : College of Computing : Atlanta, GA 30332-0280 (404) 894-5618 : Fax (404) 894-0673 : guzdial@cc.gatech.edu http://www.cc.gatech.edu/gvu/people/Faculty/Mark.Guzdial.html _______________ PYTHONMAC-SIG - SIG on Python for the Apple Macintosh send messages to: pythonmac-sig@python.org administrivia to: pythonmac-sig-request@python.org _______________ From jstrout@ucsd.edu Mon Apr 7 23:49:17 1997 From: jstrout@ucsd.edu (Joseph Strout) Date: Mon, 7 Apr 1997 15:49:17 -0700 (PDT) Subject: [PYTHONMAC-SIG] Quit Python from AppleScripts? In-Reply-To: Message-ID: On Mon, 7 Apr 1997, Mark Guzdial wrote: > I'm trying to write a script that I can execute remotely that will kill a > crashed Python program (POO dies occasionally with disconnected characters> and then a crash on the map over connected lines) and then > restart it. Hmm, can you get me more info on these crashes? Are they reproducible? I'd naturally like to eliminate them... As for your current issue, you might try using something like KeyQuencer to select Quit from the File menu (via an Applescript). That works even on apps that don't respond to Apple Events. -- Joe ,------------------------------------------------------------------. | Joseph J. Strout Department of Neuroscience, UCSD | | jstrout@ucsd.edu http://www-acs.ucsd.edu/~jstrout/ | `------------------------------------------------------------------' _______________ PYTHONMAC-SIG - SIG on Python for the Apple Macintosh send messages to: pythonmac-sig@python.org administrivia to: pythonmac-sig-request@python.org _______________ From just@knoware.nl Tue Apr 15 17:17:23 1997 From: just@knoware.nl (Just van Rossum) Date: Tue, 15 Apr 1997 18:17:23 +0200 Subject: [PYTHONMAC-SIG] buglet in PythonSlave (BBPy) Message-ID: Jurjen N.E. Bos found a really stupid problem with PythonSlave.py: It didn't execute code in a proper namespace, which caused globals not being accesible from functions. This is the fix: line 90 in PythonSlave.py was: exec stuff and should be: exec stuff in {} I guess nobody really used it so far (I don't even use it ;-), which might explain that it wasn't found earlier. Just _______________ PYTHONMAC-SIG - SIG on Python for the Apple Macintosh send messages to: pythonmac-sig@python.org administrivia to: pythonmac-sig-request@python.org _______________ From jeff@ollie.clive.ia.us Tue Apr 15 18:15:09 1997 From: jeff@ollie.clive.ia.us (Jeffrey C. Ollie) Date: Tue, 15 Apr 1997 12:15:09 -0500 Subject: [PYTHONMAC-SIG] New Regular Expressions Message-ID: <199704151715.MAA31784@worf.netins.net> -----BEGIN PGP SIGNED MESSAGE----- I (along with the rest of us on the STRING SIG) are working on an update to the regular expression package for inclusion in Python 1.5. I would like to make sure that the new code runs on Macs. I have a Mac at home, but no compiler. So I'd appreciate it if someone could pick up a copy and see if it works. Hopefully, I'll be able to afford CodeWarrior sometime this summer. I would have already bought it, but it's tax time here in the U.S. :) The code can be found at: [A copy of the headers and the PGP signature follow.] Date: Tue, 15 Apr 1997 12:15:09 -0500 From: "Jeffrey C. Ollie" Subject: New Regular Expressions To: pythonmac-sig@python.org -----BEGIN PGP SIGNATURE----- Version: 2.6.2 Comment: AnySign 1.4 - A Python tool for PGP signing e-mail and news. iQCVAwUBM1O3o5wkOQz8sbZFAQEktgQAuo9i8SNY5LFpUZ/+5fDrz5AEpyG7tYIW eLn5QL8mV+zZxcpgk3E/j2t/Vf4oPcgFBpujJNImhI0XSMBhYqZNLdZXpjTr0tsi ExPNFC5VmwS61W8b/tXnT9PGclP55sTzgz1NhdkDOviHyejFdkmxo9HBsL1A0EQb hh4fZkMi75g= =4Z2i -----END PGP SIGNATURE----- -- Jeffrey C. Ollie | Should Work Now (TM) Python Hacker, Mac Lover | _______________ PYTHONMAC-SIG - SIG on Python for the Apple Macintosh send messages to: pythonmac-sig@python.org administrivia to: pythonmac-sig-request@python.org _______________ From billpy@mail.demon.net Wed Apr 16 13:28:15 1997 From: billpy@mail.demon.net (Bill Bedford) Date: Wed, 16 Apr 1997 13:28:15 +0100 Subject: [PYTHONMAC-SIG] Test message Message-ID: This is a test, but does anyone know the format of the apple date object string? ----------------------------------------------------------------------- Bill Bedford Designer of Photo-Etches billb@mousa.demon.co.uk owner Brit_Rail-L --- british railways historical list ----------------------------------------------------------------------- _______________ PYTHONMAC-SIG - SIG on Python for the Apple Macintosh send messages to: pythonmac-sig@python.org administrivia to: pythonmac-sig-request@python.org _______________ From managan@llnl.gov Thu Apr 17 19:22:46 1997 From: managan@llnl.gov (Rob Managan) Date: Thu, 17 Apr 1997 11:22:46 -0700 Subject: [PYTHONMAC-SIG] CW 11 In-Reply-To: <199704151715.MAA31784@worf.netins.net> Message-ID: I was wondering what the status of MacPython and CW11 is. I recently tried to add a new module and found that the library changes affect a lot of things. Namely settings in the projects and what libraries are included. Jack, have you switched over to CW11 yet? Any idea when new projects for the full source and/or extensions will be available? I will continue to plod along as I find time and if I get anything working will forward it to the group. *-*-*-*-*-*-*-*-*-*-**-*-*-*-*-*-*-*-*-*-*- Rob Managan mailto://managan@llnl.gov LLNL ph: 510-423-0903 P.O. Box 808, L-183 FAX: 510-423-5804 Livermore, CA 94551-0808 _______________ PYTHONMAC-SIG - SIG on Python for the Apple Macintosh send messages to: pythonmac-sig@python.org administrivia to: pythonmac-sig-request@python.org _______________ From sdm7g@virginia.edu Thu Apr 17 20:15:02 1997 From: sdm7g@virginia.edu (Steven D. Majewski) Date: Thu, 17 Apr 1997 15:15:02 -0400 (EDT) Subject: [PYTHONMAC-SIG] Re: [PYTHON GUI-SIG] native Python GUI module(s)? In-Reply-To: Message-ID: On Thu, 17 Apr 1997, Steven D. Majewski wrote: > The Tk8.0 widgets all look pretty good and Native on a Mac now. > > Some Tk *applications* ( like some of the demo code that comes with > wish ) look pretty awful on a Mac, because they use some Tk idioms > that don't translate well to a Mac -- they don't have native > implementations and they typically don't look as good and perform > poorly. And I should add: some of it even works properly with Kaleidoscope! ( And some of it didn't look so good! Same type of problem -- since Kaleidoscope works by patching some of the standard window defs and dialogs, etc. the more standard the app, the better the result. But when it mostly works, the effect of "falling off the native look and feel horizon" is even more jarring! ) [ For those who don't know what I'm talking about, Kaleidoscope is a shareware control panel that can customize the Mac look & feel. It can change the window & finder color schemes, the look of checkboxes and other controls, the default system font for menus, etc. Sort of a limited version of the Appearance Manager that's been promised in a future MacOS release. That is another aspect of Native Look & Feel: on that Mac, that has often translated to TWO separate principles: (1): That all application should have a consistent L&F. (2): That what that L&F actually *IS*, should be end-user programmable. but #2 relies heavily on the way that #1 is implemented. ] ---| Steven D. Majewski (804-982-0831) |--- ---| Department of Molecular Physiology and Biological Physics |--- ---| University of Virginia Health Sciences Center |--- ---| P.O. Box 10011 Charlottesville, VA 22906-0011 |--- By doing just a little every day, you can gradually let the task completely overwhelm you. _______________ PYTHONMAC-SIG - SIG on Python for the Apple Macintosh send messages to: pythonmac-sig@python.org administrivia to: pythonmac-sig-request@python.org _______________ From Jack.Jansen@cwi.nl Fri Apr 18 11:30:39 1997 From: Jack.Jansen@cwi.nl (Jack Jansen) Date: Fri, 18 Apr 1997 12:30:39 +0200 Subject: [PYTHONMAC-SIG] CW 11 In-Reply-To: Message by Rob Managan , Thu, 17 Apr 1997 11:22:46 -0700 , Message-ID: <9704181030.AA05064=jack@snelboot.cwi.nl> > I was wondering what the status of MacPython and CW11 is. I recently tried > to add a new module and found that the library changes affect a lot of > things. Namely settings in the projects and what libraries are included. For the time being it is best to load the "obsolete ANSI libraries" off the CW11 CD and use those. This should work without a problem. I'm busy porting everything to the new MSL libraries, and it all seems to work with only some minor problems, but my sourcetree already has a lot of Guido's mods for 1.5, so I can't really make a distribution at this point. If you really want to try the MSL libraries: make sure you get the updated version from the MW website, and ask me for the modified GUSI to work with them. -- Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++ Jack.Jansen@cwi.nl | ++++ if you agree copy these lines to your sig ++++ http://www.cwi.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm _______________ PYTHONMAC-SIG - SIG on Python for the Apple Macintosh send messages to: pythonmac-sig@python.org administrivia to: pythonmac-sig-request@python.org _______________ From doug@sonosphere.com Fri Apr 18 13:14:18 1997 From: doug@sonosphere.com (Doug Wyatt) Date: Fri, 18 Apr 1997 08:14:18 -0400 Subject: [PYTHONMAC-SIG] CW 11 In-Reply-To: <9704181030.AA05064=jack@snelboot.cwi.nl> References: Message by Rob Managan , Thu, 17 Apr 1997 11:22:46 -0700 , Message-ID: At 12:30 +0200 4/18/97, Jack Jansen wrote: > > I was wondering what the status of MacPython and CW11 is. I recently tried > > to add a new module and found that the library changes affect a lot of > > things. Namely settings in the projects and what libraries are included. > > For the time being it is best to load the "obsolete ANSI libraries" off the > CW11 CD and use those. This should work without a problem. I'm busy porting > everything to the new MSL libraries, and it all seems to work with only some > minor problems, but my sourcetree already has a lot of Guido's mods for 1.5, > so I can't really make a distribution at this point. > > If you really want to try the MSL libraries: make sure you get the updated > version from the MW website, and ask me for the modified GUSI to work with Hi, I was just complaining to the appropriate people about GUSI and MSL, fdopen() being the place where things went wrong. Matthias Neeracher suggested Inserting the following definition (ahead of all MSL libraries): #ifdef __cplusplus extern "C" { #endif FILE * __find_unopened_file(); FILE * __handle_reopen(int fd, char * type, FILE * f); #ifdef __cplusplus } #endif FILE *fdopen(int fildes, char *type) { FILE *str; if (!(str = __find_unopened_file())) return(0); return(__handle_reopen(fildes, type, str)); } In case this helps Doug -- Doug Wyatt software development, Opcode Systems Inc. work: doug@opcode.com http://www.opcode.com/ personal: doug@sonosphere.com http://www.sonosphere.com/doug/ "Chaotic action is preferable to orderly inaction." - John Geirland _______________ PYTHONMAC-SIG - SIG on Python for the Apple Macintosh send messages to: pythonmac-sig@python.org administrivia to: pythonmac-sig-request@python.org _______________ From jstrout@ucsd.edu Fri Apr 18 17:06:29 1997 From: jstrout@ucsd.edu (Joseph J. Strout) Date: Fri, 18 Apr 1997 09:06:29 -0700 Subject: [PYTHONMAC-SIG] CW 11 In-Reply-To: <9704181030.AA05064=jack@snelboot.cwi.nl> References: Message by Rob Managan , Thu, 17 Apr 1997 11:22:46 -0700 , Message-ID: At 3:30 AM -0700 4/18/97, Jack Jansen wrote: >If you really want to try the MSL libraries: make sure you get the updated >version from the MW website, and ask me for the modified GUSI to work with >them. If somebody does make a new compilation of Python 1.4, please consider rolling in the latest betas of Tk 8.0. I hear that it's MUCH improved over the current version, mainly because it uses native GUI elements, and I'd rather not wait until Python 1.5 to give it a try. (BTW, is there any chance things like Tk could be dynamically loaded libraries, so you can just unplug one version and plug in another without recompiling Python? I really don't know what I'm talking about here, so if this is complete nonsense, just say so...) Thanks, -- Joe ,------------------------------------------------------------------. | Joseph J. Strout Department of Neuroscience, UCSD | | jstrout@ucsd.edu http://www-acs.ucsd.edu/~jstrout/ | `------------------------------------------------------------------' _______________ PYTHONMAC-SIG - SIG on Python for the Apple Macintosh send messages to: pythonmac-sig@python.org administrivia to: pythonmac-sig-request@python.org _______________ From managan@llnl.gov Fri Apr 18 23:48:28 1997 From: managan@llnl.gov (Rob Managan) Date: Fri, 18 Apr 1997 15:48:28 -0700 Subject: [PYTHONMAC-SIG] fabs error In-Reply-To: <9611122139.AA06063=jack@schelvis.cwi.nl> References: Message by "jeffrey P. Shell" , Tue, 12 Nov 1996 09:00:58 -0700 , <32889F3A.6CD8@cynapses.com> Message-ID: Well, I decided to follow Jack's suggestion of using the obsolete ANSI libraries under CW11 for now. When I recompiled the NumPy modules I found that I had to include instead of . Do we need to get this into the original source so the mac version will pick it up automatically or will this problem go away when we get switched over to the MSL libraries?? *-*-*-*-*-*-*-*-*-*-**-*-*-*-*-*-*-*-*-*-*- Rob Managan mailto://managan@llnl.gov LLNL ph: 510-423-0903 P.O. Box 808, L-183 FAX: 510-423-5804 Livermore, CA 94551-0808 _______________ PYTHONMAC-SIG - SIG on Python for the Apple Macintosh send messages to: pythonmac-sig@python.org administrivia to: pythonmac-sig-request@python.org _______________ From Jack.Jansen@cwi.nl Sat Apr 19 12:55:47 1997 From: Jack.Jansen@cwi.nl (Jack Jansen) Date: Sat, 19 Apr 1997 13:55:47 +0200 Subject: [PYTHONMAC-SIG] CW 11 In-Reply-To: Message by "Joseph J. Strout" , Fri, 18 Apr 1997 09:06:29 -0700 , Message-ID: <9704191155.AA08399=jack@snelboot.cwi.nl> Recently, "Joseph J. Strout" said: > > If somebody does make a new compilation of Python 1.4, please consider > rolling in the latest betas of Tk 8.0. I hear that it's MUCH improved over > the current version, mainly because it uses native GUI elements, and I'd > rather not wait until Python 1.5 to give it a try. Has anyone looked at how much changes are needed for using Tk 8.0? I didn't look at it at all yet... > (BTW, is there any chance things like Tk could be dynamically loaded > libraries, so you can just unplug one version and plug in another without > recompiling Python? I really don't know what I'm talking about here, so if > this is complete nonsense, just say so...) I think you can forget that. The include files and such will have changed too, so the least you'll have to do is recompile _tkinter. It is of course an option to distribute a new _tkinter plugin module which uses Tk 8.0 to replace the current _tkinter, if someone is willing to create such a distribution. As said previously I can't volunteer right now. -- Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++ Jack.Jansen@cwi.nl | ++++ if you agree copy these lines to your sig ++++ http://www.cwi.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm _______________ PYTHONMAC-SIG - SIG on Python for the Apple Macintosh send messages to: pythonmac-sig@python.org administrivia to: pythonmac-sig-request@python.org _______________ From ned@olympus.net Fri Apr 25 17:04:03 1997 From: ned@olympus.net (Ned Schumann) Date: Fri, 25 Apr 1997 08:04:03 -0800 Subject: [PYTHONMAC-SIG] MkPluginAliases crash Message-ID: I've unpacked Python 1.4 CFM68K on my 20Mb PowerBook running 7.6. With no Python related files in the Extension and Preferences folders the system crashes with a n "Error type 10" when I invoke MkPluginAliases. Any clues to what I should do are welcome. I've installed Python on our Unix boxes and am addicted. Now I need to carry it home on my Mac. Regards, Ned Townsend Communications, Inc _______________ PYTHONMAC-SIG - SIG on Python for the Apple Macintosh send messages to: pythonmac-sig@python.org administrivia to: pythonmac-sig-request@python.org _______________ From managan@llnl.gov Fri Apr 25 17:08:50 1997 From: managan@llnl.gov (Rob Managan) Date: Fri, 25 Apr 1997 09:08:50 -0700 Subject: [PYTHONMAC-SIG] plotting with Igor Message-ID: In response to the plotting module debates and some of my own needs and desires I am planning to try and write a module to plot data from python with Igor. Kevin R. Boyce has provided a C library to interact with Igor via its PPC hook. So unless someone else has done it already I will work on writing a module that will wrap the library and then work on python classes to interact with it. Has anyone worked with Boyce's Bluchert library? *-*-*-*-*-*-*-*-*-*-**-*-*-*-*-*-*-*-*-*-*- Rob Managan mailto://managan@llnl.gov LLNL ph: 510-423-0903 P.O. Box 808, L-183 FAX: 510-423-5804 Livermore, CA 94551-0808 _______________ PYTHONMAC-SIG - SIG on Python for the Apple Macintosh send messages to: pythonmac-sig@python.org administrivia to: pythonmac-sig-request@python.org _______________ From sdm7g@virginia.edu Fri Apr 25 17:19:41 1997 From: sdm7g@virginia.edu (Steven D. Majewski) Date: Fri, 25 Apr 1997 12:19:41 -0400 (EDT) Subject: [PYTHONMAC-SIG] MkPluginAliases crash In-Reply-To: Message-ID: On Fri, 25 Apr 1997, Ned Schumann wrote: > I've unpacked Python 1.4 CFM68K on my 20Mb PowerBook running 7.6. With > no Python related files in the Extension and Preferences folders the > system crashes with a n "Error type 10" when I invoke MkPluginAliases. > Any clues to what I should do are welcome. > Wasn't CFM68K disabled on 7.6 ? I think so -- they do have some patches to fix it and re-enable it, but I don't think they were ready when 7.6 went out the door. I assume that is the cause of your problem. Look on apples update web sit. You should be able to run the "68k classis" version until then. ---| Steven D. Majewski (804-982-0831) |--- ---| Department of Molecular Physiology and Biological Physics |--- ---| University of Virginia Health Sciences Center |--- ---| P.O. Box 10011 Charlottesville, VA 22906-0011 |--- By doing just a little every day, you can gradually let the task completely overwhelm you. _______________ PYTHONMAC-SIG - SIG on Python for the Apple Macintosh send messages to: pythonmac-sig@python.org administrivia to: pythonmac-sig-request@python.org _______________ From billpy@mail.demon.net Fri Apr 25 19:43:14 1997 From: billpy@mail.demon.net (Bill Bedford) Date: Fri, 25 Apr 1997 19:43:14 +0100 Subject: [PYTHONMAC-SIG] MkPluginAliases crash In-Reply-To: References: Message-ID: At 5:19 pm +0100 25/04/97, Steven D. Majewski wrote: ~On Fri, 25 Apr 1997, Ned Schumann wrote: ~ ~> I've unpacked Python 1.4 CFM68K on my 20Mb PowerBook running 7.6. With ~> no Python related files in the Extension and Preferences folders the ~> system crashes with a n "Error type 10" when I invoke MkPluginAliases. ~> Any clues to what I should do are welcome. ~> ~ ~ ~Wasn't CFM68K disabled on 7.6 ? ~I think so -- they do have some patches to fix it and re-enable it, ~but I don't think they were ready when 7.6 went out the door. ~I assume that is the cause of your problem. ~ ~Look on apples update web sit. ~ They put it back in in 7.6.1 -- This is from the readme * CFM-68K Runtime Enabler included for computers with 68030 and 68040 processors Computers with 68030 and 68040 processors can now use programs that require the CFM-68K Runtime Enabler. The CFM-68K Runtime Enabler is a system extension which allows application programs to share code resources. Because of a problem with this extension, it was not included with Mac OS 7.6. This problem has been fixed. ----------------------------------------------------------------------- Bill Bedford Designer of Photo-Etches billb@mousa.demon.co.uk owner Brit_Rail-L --- british railways historical list ----------------------------------------------------------------------- _______________ PYTHONMAC-SIG - SIG on Python for the Apple Macintosh send messages to: pythonmac-sig@python.org administrivia to: pythonmac-sig-request@python.org _______________ From billpy@mail.demon.net Fri Apr 25 19:43:14 1997 From: billpy@mail.demon.net (Bill Bedford) Date: Fri, 25 Apr 1997 19:43:14 +0100 Subject: [PYTHONMAC-SIG] MkPluginAliases crash In-Reply-To: References: Message-ID: At 5:19 pm +0100 25/04/97, Steven D. Majewski wrote: ~On Fri, 25 Apr 1997, Ned Schumann wrote: ~ ~> I've unpacked Python 1.4 CFM68K on my 20Mb PowerBook running 7.6. With ~> no Python related files in the Extension and Preferences folders the ~> system crashes with a n "Error type 10" when I invoke MkPluginAliases. ~> Any clues to what I should do are welcome. ~> ~ ~ ~Wasn't CFM68K disabled on 7.6 ? ~I think so -- they do have some patches to fix it and re-enable it, ~but I don't think they were ready when 7.6 went out the door. ~I assume that is the cause of your problem. ~ ~Look on apples update web sit. ~ They put it back in in 7.6.1 -- This is from the readme * CFM-68K Runtime Enabler included for computers with 68030 and 68040 processors Computers with 68030 and 68040 processors can now use programs that require the CFM-68K Runtime Enabler. The CFM-68K Runtime Enabler is a system extension which allows application programs to share code resources. Because of a problem with this extension, it was not included with Mac OS 7.6. This problem has been fixed. ----------------------------------------------------------------------- Bill Bedford Designer of Photo-Etches billb@mousa.demon.co.uk owner Brit_Rail-L --- british railways historical list ----------------------------------------------------------------------- _______________ PYTHONMAC-SIG - SIG on Python for the Apple Macintosh send messages to: pythonmac-sig@python.org administrivia to: pythonmac-sig-request@python.org _______________ From ned@olympus.net Sat Apr 26 03:57:22 1997 From: ned@olympus.net (Ned Schumann) Date: Fri, 25 Apr 1997 18:57:22 -0800 Subject: [PYTHONMAC-SIG] MkPluginAliases crash In-Reply-To: References: Message-ID: Thanks so much for the helpful replies from Guido, Bill Bedford, Steven Majewski and Joe Strout. Bill - yours was on the mark and because of it am now up and running. In case the issue pops up again here's the story.... Unpacking Python 1.4 CFM68K onto a Mac OS Version 7.6 without version 4.0 of CFM-68K Runtime Enabler will crash the system immediately after invoking MkPluginAliases. The solution is to replace ' CFM-68K Runtime Enabler' in the Extensions folder by version 4.0 or later from ftp://ftp.info.apple.com/Apple.Support.Area/Apple_SW_Updates/US/Macintosh/System /CFM-68K/. Follow the 'Readme' that is packed with the 'Enabler', then invoke MkPluginAliases and resume the Python distribution instructions. As Bill points out, ' CFM-68K Runtime Enabler' is back in 7.6.1 for 68030 and 68040 processors. Regards, Ned Townsend Communications, Inc >At 5:19 pm +0100 25/04/97, Steven D. Majewski wrote: >~Wasn't CFM68K disabled on 7.6 ? >~I think so -- they do have some patches to fix it and re-enable it, >~but I don't think they were ready when 7.6 went out the door. >~I assume that is the cause of your problem. >~ >~Look on apples update web sit. >~ > >They put it back in in 7.6.1 -- This is from the readme > >* CFM-68K Runtime Enabler included for computers with 68030 and 68040 >processors >Computers with 68030 and 68040 processors can now use programs that require >the CFM-68K Runtime Enabler. The CFM-68K Runtime Enabler is a system >extension which allows application programs to share code resources. >Because of a problem with this extension, it was not included with Mac OS >7.6. This problem has been fixed. _______________ PYTHONMAC-SIG - SIG on Python for the Apple Macintosh send messages to: pythonmac-sig@python.org administrivia to: pythonmac-sig-request@python.org _______________ From drwpci@cis.rit.edu Mon Apr 28 16:59:54 1997 From: drwpci@cis.rit.edu (Dave Wyble) Date: Mon, 28 Apr 1997 11:59:54 -0400 (EDT) Subject: [PYTHONMAC-SIG] plotting with Igor In-Reply-To: Message-ID: On comp.lang.python there was recent mention of Peter Godman's blt.py TK based plotting package. My first attempt at running it on my Mac failed. In fairness, Peter claims it is only alpha code. It looks like he writes things for Unix; my attempts die in what looks like a TK incompatibility, although I think I have the most recent code. Any experience with this? Should I expect Unix Python/TK code to work directly on the Mac? (I know it probably should, or what's the use?) I am too new on the Mac to be a judge as to whether this will require 10 minutes or 10 days to straighten out. Thanks, Dave David R. Wyble drwpci@cis.rit.edu Munsell Color Science Laboratory voice: (716)475-7310 Center for Imaging Science fax: (716)475-5988 Rochester Institute of Technology 54 Lomb Memorial Drive Rochester NY 14623 _______________ PYTHONMAC-SIG - SIG on Python for the Apple Macintosh send messages to: pythonmac-sig@python.org administrivia to: pythonmac-sig-request@python.org _______________