tag:blogger.com,1999:blog-1693831864832387340.post3300733520791613239..comments2024-03-11T10:58:01.492+01:00Comments on SPE IDE - Stani's Python Editor: SPE packaged for Mac OS XStanihttp://www.blogger.com/profile/16059756624190203689noreply@blogger.comBlogger24125tag:blogger.com,1999:blog-1693831864832387340.post-69158519490565383352013-01-30T20:01:47.585+01:002013-01-30T20:01:47.585+01:00Superb application, works great.
Just want to note...Superb application, works great.<br />Just want to note though that I still had the "bouncing and not launching' issue and had to change the #!... to #!/urs/bin/env python as mentionned above even today (4 years later...:P)Anonymoushttps://www.blogger.com/profile/00276852368044517207noreply@blogger.comtag:blogger.com,1999:blog-1693831864832387340.post-42839706208506614192012-05-04T15:29:30.782+02:002012-05-04T15:29:30.782+02:00Thanks iayork!Thanks iayork!Vamtigerhttps://www.blogger.com/profile/02269210148140245504noreply@blogger.comtag:blogger.com,1999:blog-1693831864832387340.post-51637176179285514942010-12-09T02:21:29.374+01:002010-12-09T02:21:29.374+01:00#!/usr/bin/env python
instead of
#!/Library/Fra...#!/usr/bin/env python<br /><br />instead of <br /><br />#!/Library/Frameworks/Python.framework/ Versions/2.5/Resources/Python.app/ Contents/MacOS/Python<br /><br />on first line of /Applications/SPE.app/Contents/MacOS/SPE<br /><br />worked beautifully.Neil Millikinhttps://www.blogger.com/profile/09529665021771398599noreply@blogger.comtag:blogger.com,1999:blog-1693831864832387340.post-89338914383175838962010-07-27T04:42:36.634+02:002010-07-27T04:42:36.634+02:00how to make a mac app for SPE
get Platypus from h...how to make a mac app for SPE<br /><br />get Platypus from http://www.sveinbjorn.org/platypus<br /><br />create a folder called SPE<br />create a bash script called spe.sh in the SPE folder<br /><br /><br />#!/bin/sh<br />cd _spe<br />python SPE.py &<br /><br />download the _spe folder and move it to the SPE folder<br /><br />Open platypus<br />Change the icon to the Generic Application Icon<br />App Name: SPE<br />Script Type: Shell<br />Script Path: /spe.sh<br />Output: none<br />Advanced options<br />Author: (c)2003-2008 www.stani.be<br />Version: <br />Click the "+" icon and and add the _spe folder<br />uncheck Remains running after initial execution<br />check Runs in background<br /><br />Select Profiles: Save Profile<br />Click the Create Button<br /><br />You should now have a SPE application!Unknownhttps://www.blogger.com/profile/08003863125460623883noreply@blogger.comtag:blogger.com,1999:blog-1693831864832387340.post-8342146326832687482010-02-07T21:16:16.797+01:002010-02-07T21:16:16.797+01:00If anyone is trying to run SPE in OSX 10.6 and get...If anyone is trying to run SPE in OSX 10.6 and getting an error similar to:<br /><br />Spe Error: Please install the right version of wxPython: 2.6.1.0.<br />/usr/local/lib/wxPython-unicode-2.8.10.1/lib/python2.6/site-packages/wx-2.8-mac-unicode/wx/_core_.so: no appropriate 64-bit architecture (see "man python" for running in 32-bit mode)<br /><br />You can fix the error by telling OSX to prefer 32-bit python by entering the following command into the shell:<br /><br />defaults write com.apple.versioner.python Prefer-32-Bit -bool yes<br /><br />This should allow you to use SPE again with the latest version of wxPython!Sphireshttps://www.blogger.com/profile/09020500100853927481noreply@blogger.comtag:blogger.com,1999:blog-1693831864832387340.post-89452725100523177312010-02-04T21:10:45.254+01:002010-02-04T21:10:45.254+01:00One thing that is not so great on a Mac, which I g...One thing that is not so great on a Mac, which I guess will also be annoying on Linux: you open non-python files with 'os.startfile', which only exists in Windows. (I don't know why this method is not implemented in Linux or MacOS, it doesn't seem hard, but it is missing).<br /><br />So if you have a mixed-use project (Python, SQL, HTML, JavaScript...) the user needs to remember to use the Finder to open some files and SPE to open others.<br /><br />Converting this to use the subprocess module calls would make it platform independent (though perhaps more verbose).Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1693831864832387340.post-8566287843741492292010-02-04T19:49:30.636+01:002010-02-04T19:49:30.636+01:00I doubt that Snow Leopard has anything to do with ...I doubt that Snow Leopard has anything to do with it.... All the difficulties installing seem to have to do with where you keep Python.<br /><br />Python installations do not seem to be as standard on the Mac and it may have moved between OS versions. (For instance if Snow Leopard runs 2.6 by default, the path will be different. But it would also be different for folks who have upgraded...)<br /><br />Do 'which python' in a terminal, to find out where you have it, and change the #! at the start of he file as instructed above.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1693831864832387340.post-59505824544814117912009-12-07T00:04:05.143+01:002009-12-07T00:04:05.143+01:00@Jack
The Mac version is done by Krzysztof Olczyk...@Jack<br /><br />The Mac version is done by Krzysztof Olczyk as written in the post. You better contact him to know if he could be convinced to release one.Stanihttps://www.blogger.com/profile/16059756624190203689noreply@blogger.comtag:blogger.com,1999:blog-1693831864832387340.post-13483435490581536652009-11-20T13:32:50.277+01:002009-11-20T13:32:50.277+01:00It appears that the MAC version does not work in S...It appears that the MAC version does not work in Snow Leopard. I tried to launch but it fails immediately. <br /><br />Any chance you will produce a version for Snow Leopard ?<br /><br />thanks, <br /><br />JM -- usaUnknownhttps://www.blogger.com/profile/10030708271211296573noreply@blogger.comtag:blogger.com,1999:blog-1693831864832387340.post-23252918041577012812009-07-13T19:16:17.539+02:002009-07-13T19:16:17.539+02:00Just installed the dmg. Upon opening SPE, it immed...Just installed the dmg. Upon opening SPE, it immediately crashes. I see the following error in my Console log: com.apple.launchd[177] ([0x0-0x249249].SPE[22169]) posix_spawnp("/Applications/SPE.app/Contents/MacOS/SPE", ...): No such file or directoryLee Calcotehttps://www.blogger.com/profile/09813688767557658123noreply@blogger.comtag:blogger.com,1999:blog-1693831864832387340.post-60426740215927331772009-06-16T07:03:32.712+02:002009-06-16T07:03:32.712+02:00Buba with spe and wx.In Ubuntu only, in windows wo...Buba with spe and wx.In Ubuntu only, in windows work well.Wrong wx version? I do not have time to check out, but if i try 'run/stop' it seems that wx(2.8) have change since 2.6 and gest hung up.I think that is a easy way to fix, gest switch the call to correct wx element, and I think that SPE should be in the same boat with ubuntu's wx version.ovoidhttps://www.blogger.com/profile/17981527534213733994noreply@blogger.comtag:blogger.com,1999:blog-1693831864832387340.post-39068419216989872692009-05-29T20:23:46.473+02:002009-05-29T20:23:46.473+02:00Couple quick questions:
1. How can I run code in ...Couple quick questions:<br /><br />1. How can I run code in SPE IDE for OS X and enter input from the output window? The editor shows my code executing and prompting for input but I cannot type in the field.<br /><br />2. Who maintains the OS X port and is there documentation on how the build is done? <br /><br />3. Is there a "auto-ident" tool for SPE?<br /><br />Thanks again for this GREAT tool!Unknownhttps://www.blogger.com/profile/18087641844018621135noreply@blogger.comtag:blogger.com,1999:blog-1693831864832387340.post-22625520739765545752009-05-29T20:21:14.973+02:002009-05-29T20:21:14.973+02:00This is a great app for OS X. Thanks!! I LOVE this...This is a great app for OS X. Thanks!! I LOVE this editor and my Mac and now can use both w/o running a VM to have the editor in Linux. Thanks much!!!!Unknownhttps://www.blogger.com/profile/18087641844018621135noreply@blogger.comtag:blogger.com,1999:blog-1693831864832387340.post-19813773497479499202009-05-01T02:09:00.000+02:002009-05-01T02:09:00.000+02:00Hey -- If anyone else has the problem where you...Hey -- If anyone else has the problem where you've installed the app, but it won't run, try to alter the shebang, as described above (ctrl-click SPE in the applications folder, open Contents, MacOS, then open SPE with textedit or some other editor, change the first line to #!/usr/bin/env python )<br /><br />Once you've done that, if it still doesn't load,try opening that same file with terminal (Applications -> utilities-> terminal) and it may give you a message that wxPython is not installed (it did for me) proceed to www.wxpython.org and grab whichever flavor best suits you, then try re-launching SPE. Worked for me, hopefully it can help someone else too.<br /><br />Thanks for the help, all.Unknownhttps://www.blogger.com/profile/17963326147948686148noreply@blogger.comtag:blogger.com,1999:blog-1693831864832387340.post-35970702661851081132009-04-01T22:42:00.000+02:002009-04-01T22:42:00.000+02:00I changed my shebang to:#!/usr/bin/env pythonThank...I changed my shebang to:<BR/><BR/>#!/usr/bin/env python<BR/><BR/>Thanks Stani!Jim Carrollhttps://www.blogger.com/profile/15365571519743154481noreply@blogger.comtag:blogger.com,1999:blog-1693831864832387340.post-64775105295145427682008-07-10T02:34:00.000+02:002008-07-10T02:34:00.000+02:00I have a brand new MacBool Pro purchased 2 weeks a...I have a brand new MacBool Pro purchased 2 weeks ago and I had the same issues as listed above. I tried every suggestion above and iayork suggestion was the one that actually worked...Thanks iayorkBradd Schickhttps://www.blogger.com/profile/10095776529275732902noreply@blogger.comtag:blogger.com,1999:blog-1693831864832387340.post-57104611306979006342008-07-08T19:32:00.000+02:002008-07-08T19:32:00.000+02:00Hi, Stani. As with others I had to change the #! ...Hi, Stani. As with others I had to change the #! to make the package run. I believe that Krzysztof's use of a specific path (#!/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python<BR/>) is not ideal, as it relies on a specific configuration; it might be safer to have <BR/>#!/usr/bin/env python <BR/>instead. <BR/><BR/>I am sending this comment to Krzysztof as well.<BR/><BR/>If I understand what is supposed to happen I believe there is another glitch in SPE. When I try to "Run Without Argument" the run fails apparently because there is a space in the file path. The file is <BR/>/Users/iayork/Scripts/XPlasMap/XPlasMap v.1.0/XPlasMap.py <BR/>and the error message says<BR/>/Users/iayork/Downloads/SPE.app/Contents/MacOS/Python: '/Users/iayork/Scripts/XPlasMap/XPlasMap' is a directory, cannot continue<BR/><BR/>So it seems to be truncating the path at the space. <BR/><BR/>I've been following SPE with interest since shortly after you first introduced it and hope these glitches can get sorted out, because I'd like to start using it as my main IDE.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1693831864832387340.post-71973312829698190412008-06-20T17:43:00.000+02:002008-06-20T17:43:00.000+02:00I am having the same problem as the user above whe...I am having the same problem as the user above where SPE gives me the App icon briefly then goes away. No error as far as I can tell. I am running Leopard 10.5.3 as well.Joehttps://www.blogger.com/profile/07847391362566117888noreply@blogger.comtag:blogger.com,1999:blog-1693831864832387340.post-22361792524466105192008-06-09T23:38:00.000+02:002008-06-09T23:38:00.000+02:00Id did:vi /Applications/SPE.app/Contents/MacOS/SPE...Id did:<BR/><BR/>vi /Applications/SPE.app/Contents/MacOS/SPE<BR/><BR/>and then added "/System" to the beginning of the path the python binary.<BR/><BR/>Seems to work (sorry if that is already what the first post said - I could not interpret it)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1693831864832387340.post-57617706341136173352008-06-01T10:40:00.000+02:002008-06-01T10:40:00.000+02:00I successfully dragged the program to the applicat...I successfully dragged the program to the application folder BUT when I tried to launch it, the icon kept bouncing in the dock and then disappeared. I tried different times the same operation but got the same result.<BR/><BR/>I have the last version of MacPython and Leopard (10.5.3)<BR/><BR/>ThxAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1693831864832387340.post-79573130108785967602008-05-06T17:59:00.000+02:002008-05-06T17:59:00.000+02:00Hi,These are great news. I just installed and work...Hi,<BR/><BR/>These are great news. I just installed and worked fine. I do not have any of the two mentioned problems.<BR/><BR/>Many thanks to Stani and Krzysztof!<BR/><BR/>BTW: I'm using Mac OS X 10.5.2 (Leopard) and installed MacPython, i.e., I'm not using the pre-installed python.<BR/><BR/>Ernesto CostaAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1693831864832387340.post-38499208227810285592008-03-27T18:30:00.000+01:002008-03-27T18:30:00.000+01:00I've just installed this version. It really looks ...I've just installed this version. It really looks good, but I have an annoying problem: If I write e.g. math. a call tip appears (well, that's not the problem) and after if disappears my keyboard is dead inside the editor window.<BR/><BR/>Is this a known bug?Unknownhttps://www.blogger.com/profile/10215865972594810825noreply@blogger.comtag:blogger.com,1999:blog-1693831864832387340.post-14472338986490335022008-03-26T13:56:00.000+01:002008-03-26T13:56:00.000+01:00Please contact Krzysztof Olczyk directly about it....Please contact Krzysztof Olczyk directly about it. You can find his email under the section "Contact Me" on this page:<BR/>http://olczyk.krzysztof.googlepages.com/Stanihttps://www.blogger.com/profile/16059756624190203689noreply@blogger.comtag:blogger.com,1999:blog-1693831864832387340.post-70799088933674314712008-03-25T17:11:00.000+01:002008-03-25T17:11:00.000+01:00I tried installing the package and the install wen...I tried installing the package and the install went fine. When trying to run SPE I got an error that /Library/Frameworks/Python.framework/ Versions/2.5/Resources/Python.app/ Contents/MacOS/Python could not be found. <BR/>(spaces in path added to make the blogger show the entire line)<BR/><BR/>I changed the #! at the top of /Applications/SPE/Contents/MacOS/SPE to <BR/><BR/>/Applications/SPE/Contents/MacOS/Python<BR/><BR/>and all worked fine.<BR/><BR/>I am not sure if this change was needed because of a package I am missing or what. <BR/><BR/>ConlaochAnonymousnoreply@blogger.com