Filter by topic: spe, python, ubuntu

Tuesday, March 25, 2008

SPE packaged for Mac OS X

Krzysztof Olczyk did a wonderful job by packaging SPE for Mac OS X. You can download it here:
http://olczyk.krzysztof.googlepages.com/SPE.dmg

He commented:

You can install now SPE in your Macintosh in a way you do with native applcation.
Simply mount the DMG and drag the SPE to Applications folder.

Another advantage is, that now SPE will have its own icon in dock, like any application in Mac.

Have fun.

I will release soon SPE 0.8.4.e with some important bug fixes and I hope Krzysztof Olczyk will update the package for the Mac.

Please test the package and let Krystof know how it works.

Thanks Krystof!
Stani

9 Kommentare:

Anonymous said...

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.
(spaces in path added to make the blogger show the entire line)

I changed the #! at the top of /Applications/SPE/Contents/MacOS/SPE to

/Applications/SPE/Contents/MacOS/Python

and all worked fine.

I am not sure if this change was needed because of a package I am missing or what.

Conlaoch

Stani said...

Please contact Krzysztof Olczyk directly about it. You can find his email under the section "Contact Me" on this page:
http://olczyk.krzysztof.googlepages.com/

hgk said...

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.

Is this a known bug?

Ernesto Costa said...

Hi,

These are great news. I just installed and worked fine. I do not have any of the two mentioned problems.

Many thanks to Stani and Krzysztof!

BTW: I'm using Mac OS X 10.5.2 (Leopard) and installed MacPython, i.e., I'm not using the pre-installed python.

Ernesto Costa

Anonymous said...

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.

I have the last version of MacPython and Leopard (10.5.3)

Thx

Johan Rylander said...

Id did:

vi /Applications/SPE.app/Contents/MacOS/SPE

and then added "/System" to the beginning of the path the python binary.

Seems to work (sorry if that is already what the first post said - I could not interpret it)

Joe said...

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.

iayork said...

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
) is not ideal, as it relies on a specific configuration; it might be safer to have
#!/usr/bin/env python
instead.

I am sending this comment to Krzysztof as well.

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
/Users/iayork/Scripts/XPlasMap/XPlasMap v.1.0/XPlasMap.py
and the error message says
/Users/iayork/Downloads/SPE.app/Contents/MacOS/Python: '/Users/iayork/Scripts/XPlasMap/XPlasMap' is a directory, cannot continue

So it seems to be truncating the path at the space.

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.

Pentheus said...

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 iayork