Python-spe-users digest, Vol 1 #17 - 2 msgs
python-spe-users-request-tdrK/[email protected] Sat, 27 Aug 2005 12:00:13 +0200
| Newsgroups | gmane.comp.python.spe.user |
|---|---|
| Message-ID | <[email protected]> |
Send Python-spe-users mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://lists.berlios.de/mailman/listinfo/python-spe-users or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of Python-spe-users digest..." Today's Topics: 1. Running Jython programs from SPE? (Bill Woodward) 2. Re: OT:Problem installing wxPython 2.6.1 (Mario Lacunza) --__--__-- Message: 1 Date: Fri, 26 Aug 2005 09:22:00 -0500 From: Bill Woodward <[email protected]> To: [email protected] Subject: [spe-users] Running Jython programs from SPE? Reply-To: [email protected] Good morning, I recently started using SPE for python development (before that, I was using DrPython). I'm also interested in using Jython for some Java test scripting, so I was trying to see if there was any way to change the interpreter that gets used to run Python/Jython programs. It looks like SPE just uses whatever python interpreter you ran SPE with. Am I missing something? Again, I don't want to run SPE under Jython, just run the program I'm writing under Jython when I use the Run/F9 button. TIA, -- Bill Woodward [email protected] http://www.saifa.net "I have more trouble with D. L. Moody than with any other man I ever met." -- D. L. Moody s/D. L. Moody/Bill Woodward/g --__--__-- Message: 2 Subject: Re: [spe-users] OT:Problem installing wxPython 2.6.1 From: Mario Lacunza <[email protected]> To: python-spe-users-tdrK/[email protected] Date: Fri, 26 Aug 2005 21:27:29 -0500 Reply-To: [email protected] --=-ZaEufflNFVJdfuMvxoDr Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Hello, I follow of instructions in the website but later 1.00 hrs compiling.... follow the last lines from my console: ../../.././bk-deps g++ -c -o stcdll_XPM.o -D__WXGTK__ -I../../../../contrib/src/stc/../../include -I../../../../contrib/src/stc/scintilla/include -I../../../../contrib/src/stc/scintilla/src -D__WX__ -DSCI_LEXER -DLINK_LEXERS -DWXUSINGDLL -DWXMAKINGDLL_STC -fPIC -DPIC -D__WXDEBUG__ -I../../../lib/wx/include/gtk2-unicode-debug-2.6 -I../../../../include -DXTHREADS -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -I/usr/X11R6/include -O2 -pthread -I/usr/include/SDL -D_REENTRANT -Wall -Wno-ctor-dtor-privacy ../../../../contrib/src/stc/scintilla/src/XPM.cxx g++ -shared -fPIC -o ../../../lib/libwx_gtk2ud_stc-2.6.so.0.0.0 stcdll_PlatWX.o stcdll_ScintillaWX.o stcdll_stc.o stcdll_AutoComplete.o stcdll_CallTip.o stcdll_CellBuffer.o stcdll_ContractionState.o stcdll_Document.o stcdll_DocumentAccessor.o stcdll_Editor.o stcdll_ExternalLexer.o stcdll_Indicator.o stcdll_KeyMap.o stcdll_KeyWords.o stcdll_LexAPDL.o stcdll_LexAU3.o stcdll_LexAVE.o stcdll_LexAda.o stcdll_LexAsm.o stcdll_LexAsn1.o stcdll_LexBaan.o stcdll_LexBash.o stcdll_LexBullant.o stcdll_LexCLW.o stcdll_LexCPP.o stcdll_LexCSS.o stcdll_LexConf.o stcdll_LexCrontab.o stcdll_LexEScript.o stcdll_LexEiffel.o stcdll_LexErlang.o stcdll_LexForth.o stcdll_LexFortran.o stcdll_LexGui4Cli.o stcdll_LexHTML.o stcdll_LexKix.o stcdll_LexLisp.o stcdll_LexLout.o stcdll_LexLua.o stcdll_LexMMIXAL.o stcdll_LexMPT.o stcdll_LexMSSQL.o stcdll_LexMatlab.o stcdll_LexMetapost.o stcdll_LexNsis.o stcdll_LexOthers.o stcdll_LexPB.o stcdll_LexPOV.o stcdll_LexPS.o stcdll_LexPascal.o stcdll_LexPerl.o stcdll_LexPython.o stcdll_LexRuby.o stcdll_LexSQL.o stcdll_LexScriptol.o stcdll_LexSpecman.o stcdll_LexTeX.o stcdll_LexVB.o stcdll_LexVHDL.o stcdll_LexVerilog.o stcdll_LexYAML.o stcdll_LineMarker.o stcdll_PropSet.o stcdll_RESearch.o stcdll_ScintillaBase.o stcdll_Style.o stcdll_StyleContext.o stcdll_UniConversion.o stcdll_ViewStyle.o stcdll_WindowAccessor.o stcdll_XPM.o -pthread -L/usr/X11R6/lib -L../../../lib -Wl,-soname,libwx_gtk2ud_stc-2.6.so.0 -lwx_gtk2ud-2.6 -lwxtiffd-2.6 -lwxjpegd-2.6 -lwxpngd-2.6 -lwxregexud-2.6 -pthread -L/usr/X11R6/lib -Wl,--version-script,../../../version-script -lz -ldl -lm -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lXinerama (cd ../../../lib/; rm -f libwx_gtk2ud_stc-2.6.so libwx_gtk2ud_stc-2.6.so.0; ln -s libwx_gtk2ud_stc-2.6.so.0.0.0 libwx_gtk2ud_stc-2.6.so.0; ln -s libwx_gtk2ud_stc-2.6.so.0 libwx_gtk2ud_stc-2.6.so) make: Leaving directory `/usr/src/rpm/BUILD/wxPython-src-2.6.1.0/bld/contrib/src/stc' + cd /usr/src/rpm/BUILD/wxPython-src-2.6.1.0/wxPython + /usr/bin/python2.4 setup.py WXPORT=gtk2 UNICODE=1 EP_ADD_OPTS=1 NO_SCRIPTS=1 'WX_CONFIG=/usr/src/rpm/BUILD/wxPython-src-2.6.1.0/bld/wx-config --no_rpath' build_ext --rpath=/usr/lib/wxPython-2.6.1.0-gtk2-unicode/lib build Preparing CORE... Preparing GLCANVAS... Preparing STC... Preparing GIZMOS... Preparing ANIMATE... running build_ext error: invalid Python installation: unable to open /usr/lib/python2.4/config/Makefile (Is a directory) error: Bad exit status from /var/tmp/rpm-tmp.42016 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.42016 (%build) This is the command: root@Laptop-Ubuntu:/home/mario/MisDownloads/Linux/Programas/wxPython # sudo rpmbuild --rebuild --define 'pyver 2.4' wxPython2.6-2.6.1.0-1.src.rpm I follow the instructions form this website: http://www.bitpim.org/developer.html Thanks in advance!!! Mario El mar, 23-08-2005 a las 00:33 +1000, Rasjid Wilcox escribió: > On Mon, 22 Aug 2005 07:01 am, Mario Lacunza wrote: > > Im a newbie in Linux, recently I install Ubuntu 5.04(this become with v > > 2.5.3 too old!) and I could not install wxPython 2.6.1 and the SpeIde > > not run!! for this reason I could not do my work in Linux, Im only work > > in Win :-( > > My suggestions are: > a) See if there is a Ubuntu .deb already done by someone. This is quite > likely. Ask on the Ubuntu forums. > > If a) does not lead anywhere, then > > b) Get the source rpm from http://www.wxpython.org/download.php > and rebuild it with the required flags. See > http://www.bitpim.org/developer.html for an example of how to do this under a > debian-based distro. > > Cheers, > > Rasjid. > Saludos / Best regards Mario Lacunza Vásquez Desarrollador de Sistemas - Webmaster Celular : +51193100386 (Tim) Website : http://www.lacunza.tk Email : [email protected] Blog : http://mlacunza.blogspot.com Lima - Peru --=-ZaEufflNFVJdfuMvxoDr Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; CHARSET=3DUTF-8"> <META NAME=3D"GENERATOR" CONTENT=3D"GtkHTML/3.6.2"> </HEAD> <BODY> Hello,<BR> <BR> I follow of instructions in the website but later 1.00 hrs compiling.= ...<BR> <BR> follow the last lines from my console:<BR> <BR> ../../.././bk-deps g++ -c -o stcdll_XPM.o -D__WXGTK__ -I../../../../contrib= /src/stc/../../include -I../../../../contrib/src/stc/scintilla/include -I..= /../../../contrib/src/stc/scintilla/src -D__WX__ -DSCI_LEXER -DLINK_LEXERS = -DWXUSINGDLL -DWXMAKINGDLL_STC -fPIC -DPIC -D__WXDEBUG__ -I../../../lib/wx/= include/gtk2-unicode-debug-2.6 -I../../../../include -DXTHREADS -pthread -I= /usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr= /include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/i= nclude/glib-2.0 -I/usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=3D64 -D_LAR= GE_FILES -D_LARGEFILE_SOURCE=3D1 -I/usr/X11R6/include -O2 -pthread -I/usr/i= nclude/SDL -D_REENTRANT -Wall -Wno-ctor-dtor-privacy ../../../../contrib/sr= c/stc/scintilla/src/XPM.cxx<BR> g++ -shared -fPIC -o ../../../lib/libwx_gtk2ud_stc-2.6.so.0.0.0 stcdll_Plat= WX.o stcdll_ScintillaWX.o stcdll_stc.o stcdll_AutoComplete.o stcdll_CallTip= .o stcdll_CellBuffer.o stcdll_ContractionState.o stcdll_Document.o stcdll_D= ocumentAccessor.o stcdll_Editor.o stcdll_ExternalLexer.o stcdll_Indicator.o= stcdll_KeyMap.o stcdll_KeyWords.o stcdll_LexAPDL.o stcdll_LexAU3.o stcdll_= LexAVE.o stcdll_LexAda.o stcdll_LexAsm.o stcdll_LexAsn1.o stcdll_LexBaan.o = stcdll_LexBash.o stcdll_LexBullant.o stcdll_LexCLW.o stcdll_LexCPP.o stcdll= _LexCSS.o stcdll_LexConf.o stcdll_LexCrontab.o stcdll_LexEScript.o stcdll_L= exEiffel.o stcdll_LexErlang.o stcdll_LexForth.o stcdll_LexFortran.o stcdll_= LexGui4Cli.o stcdll_LexHTML.o stcdll_LexKix.o stcdll_LexLisp.o stcdll_LexLo= ut.o stcdll_LexLua.o stcdll_LexMMIXAL.o stcdll_LexMPT.o stcdll_LexMSSQL.o s= tcdll_LexMatlab.o stcdll_LexMetapost.o stcdll_LexNsis.o stcdll_LexOthers.o = stcdll_LexPB.o stcdll_LexPOV.o stcdll_LexPS.o stcdll_LexPascal.o stcdll_Lex= Perl.o stcdll_LexPython.o stcdll_LexRuby.o stcdll_LexSQL.o stcdll_LexScript= ol.o stcdll_LexSpecman.o stcdll_LexTeX.o stcdll_LexVB.o stcdll_LexVHDL.o st= cdll_LexVerilog.o stcdll_LexYAML.o stcdll_LineMarker.o stcdll_PropSet.o stc= dll_RESearch.o stcdll_ScintillaBase.o stcdll_Style.o stcdll_StyleContext.o = stcdll_UniConversion.o stcdll_ViewStyle.o stcdll_WindowAccessor.o stcdll_XP= M.o -pthread -L/usr/X11R6/lib -L../../../lib -Wl,-soname,libwx_gtk2ud_stc-2= .6.so.0 -lwx_gtk2ud-2.6 -lwxtiffd-2.6 -lwxjpegd-2.6 -lwxpngd-2.6 -lwxregexu= d-2.6 -pthread -L/usr/X11R6/lib -Wl,--version-script,../../../version-scrip= t -lz -ldl -lm -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-= 2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0= -ldl -lgthread-2.0 -lglib-2.0 -lXinerama<BR> (cd ../../../lib/; rm -f libwx_gtk2ud_stc-2.6.so libwx_gtk2ud_stc-2.6.so.0;= ln -s libwx_gtk2ud_stc-2.6.so.0.0.0 libwx_gtk2ud_stc-2.6.so.0; ln -s libwx= _gtk2ud_stc-2.6.so.0 libwx_gtk2ud_stc-2.6.so)<BR> make: Leaving directory `/usr/src/rpm/BUILD/wxPython-src-2.6.1.0/bld/contri= b/src/stc'<BR> + cd /usr/src/rpm/BUILD/wxPython-src-2.6.1.0/wxPython<BR> + /usr/bin/python2.4 setup.py WXPORT=3Dgtk2 UNICODE=3D1 EP_ADD_OPTS=3D1 NO_= SCRIPTS=3D1 'WX_CONFIG=3D/usr/src/rpm/BUILD/wxPython-src-2.6.1.0/bld/wx-con= fig --no_rpath' build_ext --rpath=3D/usr/lib/wxPython-2.6.1.0-gtk2-unicode/= lib build<BR> Preparing CORE...<BR> Preparing GLCANVAS...<BR> Preparing STC...<BR> Preparing GIZMOS...<BR> Preparing ANIMATE...<BR> running build_ext<BR> error: invalid Python installation: unable to open /usr/lib/python2.4/confi= g/Makefile (Is a directory)<BR> error: Bad exit status from /var/tmp/rpm-tmp.42016 (%build)<BR> <BR> <BR> RPM build errors:<BR> Bad exit status from /var/tmp/rpm-tmp.42016 (%build)<BR> <BR> This is the command:<BR> root@Laptop-Ubuntu:/home/mario/MisDownloads/Linux/Programas/wxPython # sudo= rpmbuild --rebuild --define 'pyver 2.4' wxPython2.6-2.6.1.0-1.src.rpm<BR> <BR> I follow the instructions form this website: <A HREF=3D"http://www.bitpim.o= rg/developer.html">http://www.bitpim.org/developer.html</A><BR> <BR> Thanks in advance!!!<BR> <BR> Mario<BR> <BR> <BR> <BR> El mar, 23-08-2005 a las 00:33 +1000, Rasjid Wilcox escribió: <BLOCKQUOTE TYPE=3DCITE> <PRE> <FONT COLOR=3D"#000000">On Mon, 22 Aug 2005 07:01 am, Mario Lacunza wrote:<= /FONT> <FONT COLOR=3D"#000000">> Im a newbie in Linux, recently I install Ubunt= u 5.04(this become with v</FONT> <FONT COLOR=3D"#000000">> 2.5.3 too old!) and I could not install wxPyth= on 2.6.1 and the SpeIde</FONT> <FONT COLOR=3D"#000000">> not run!! for this reason I could not do my wo= rk in Linux, Im only work</FONT> <FONT COLOR=3D"#000000">> in Win :-(</FONT> <FONT COLOR=3D"#000000">My suggestions are:</FONT> <FONT COLOR=3D"#000000">a) See if there is a Ubuntu .deb already done by so= meone. This is quite </FONT> <FONT COLOR=3D"#000000">likely. Ask on the Ubuntu forums.</FONT> <FONT COLOR=3D"#000000">If a) does not lead anywhere, then</FONT> <FONT COLOR=3D"#000000">b) Get the source rpm from <A HREF=3D"http://www.wx= python.org/download.php">http://www.wxpython.org/download.php</A></FONT> <FONT COLOR=3D"#000000">and rebuild it with the required flags. See </FONT= > <FONT COLOR=3D"#000000"><A HREF=3D"http://www.bitpim.org/developer.html">ht= tp://www.bitpim.org/developer.html</A> for an example of how to do this und= er a </FONT> <FONT COLOR=3D"#000000">debian-based distro.</FONT> <FONT COLOR=3D"#000000">Cheers,</FONT> <FONT COLOR=3D"#000000">Rasjid.</FONT> </PRE> </BLOCKQUOTE> <TABLE CELLSPACING=3D"0" CELLPADDING=3D"0" WIDTH=3D"100%"> <TR> <TD> Saludos / Best regards <BR> <BR> Mario Lacunza Vásquez <BR> Desarrollador de Sistemas - Webmaster <BR> Celular : +51193100386 (Tim) <BR> Website : http://www.lacunza.tk <= BR> Email : mlacunza@gmai= l.com <BR> Blog : http://m= lacunza.blogspot.com <BR> Lima - Peru </TD> </TR> </TABLE> </BODY> </HTML> --=-ZaEufflNFVJdfuMvxoDr-- --__--__-- _______________________________________________ Python-spe-users mailing list [email protected] http://lists.berlios.de/mailman/listinfo/python-spe-users End of Python-spe-users Digest