From s_t_a_n_i at yahoo.com Fri Dec 12 14:13:45 2003 From: s_t_a_n_i at yahoo.com (www.stani.be) Date: Fri, 12 Dec 2003 05:13:45 -0800 (PST) Subject: [Spe-user] test Message-ID: <20031212131345.16655.qmail@web21107.mail.yahoo.com> test __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ From s_t_a_n_i at yahoo.com Fri Dec 12 15:04:17 2003 From: s_t_a_n_i at yahoo.com (www.stani.be) Date: Fri, 12 Dec 2003 06:04:17 -0800 (PST) Subject: [spe.pycs.net] welcome Message-ID: <20031212140417.41114.qmail@web21102.mail.yahoo.com> Hi everyone, To start the spe (python ide) mailing list, I used the email addresses of people who emailed me before about spe and showed their appreciation. If you disagree, please just unsubscribe quietly. I hope like that the developement of the spe can go even faster and by users helping each other out I'll get more time for developing spe. The new, most requested feature I wish to focus on now, is the spe debugger. Thank Guillermo because he already started working on it. I'll have to check his code. However I would like to make the current release first as stable as possible. There is still a problem with the tools menu in Linux. Can anyone give the code for 'open terminal emulator' or 'run in terminal emulator' which would work by default on all linux versions. As you know I don't use Linux, so I can't implement this. Thanks, Stani PS If you wouldn't remember: Spe is a python IDE with wxGlade GUI designer, auto-indentation, auto completion, call tips, syntax coloring, syntax highlighting, class explorer, source index, auto todo list, sticky notes, integrated pycrust shell, python file browser, recent file browser, drag&drop, context help, ... Special is its blender support with a blender 3d object browser and its ability to run interactively inside blender. Spe is extensible with boa. For more info: see http://spe.pycs.net __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ From rasjidw at openminddev.net Sat Dec 13 01:57:01 2003 From: rasjidw at openminddev.net (Rasjid Wilcox) Date: Sat, 13 Dec 2003 11:57:01 +1100 Subject: [spe.pycs.net] welcome In-Reply-To: <20031212140417.41114.qmail@web21102.mail.yahoo.com> References: <20031212140417.41114.qmail@web21102.mail.yahoo.com> Message-ID: <200312131157.01292.rasjidw@openminddev.net> On Saturday 13 December 2003 01:04, www.stani.be wrote: > To start the spe (python ide) mailing list, I used the > email addresses of people who emailed me before about > spe and showed their appreciation. Very happy to be on this list. Thanks Stani for a wonderful python editor. ... > There is still a problem with the tools menu in Linux. > Can anyone give the code for 'open terminal emulator' > or 'run in terminal emulator' which would work by > default on all linux versions. As you know I don't use > Linux, so I can't implement this. What are you trying to do here? Just run or open and Xterm? I have the latest version of spe and Boa, and so I should be able to look at this, although I'd probably like a hint as to which spe module in Boa I should be looking at. To be honest, I don't use Boa much, since I mostly use spe! (I have the latest cvs version of Boa - I assume this is what you use?) Also, there is still the line ending problem on Linux in spe. rasjidw at yoda:/tmp/spe> cat -A SPE-0.4.2.c-wx2.4.2.4.-bl2.31/spe #!/usr/bin/env python$ $ import spe$ spe.main()$ $ rasjidw at yoda:/tmp/spe> cat -A SPE-0.4.2.c-wx2.4.2.4.-bl2.31/build/scripts-2.2/spe #!/usr/bin/env python^M$ ^M$ import spe^M$ spe.main()^M$ The first one is right, the second one is wrong, and should be replaced by the first. Stani, if you like I could repackage spe for Linux, with adjusted line-endings, and put it into a tar.gz archive, to distinguish it from the unadjusted version. Cheers, Rasjid. -- Rasjid Wilcox Canberra, Australia (UTC +10 hrs) http://www.openminddev.net From s_t_a_n_i at yahoo.com Sat Dec 13 11:32:40 2003 From: s_t_a_n_i at yahoo.com (www.stani.be) Date: Sat, 13 Dec 2003 02:32:40 -0800 (PST) Subject: [spe.pycs.net] welcome In-Reply-To: <200312131157.01292.rasjidw@openminddev.net> Message-ID: <20031213103240.37958.qmail@web21105.mail.yahoo.com> Hi Rasjid, > > There is still a problem with the tools menu in > Linux. > > Can anyone give the code for 'open terminal > emulator' > > or 'run in terminal emulator' which would work by > > default on all linux versions. As you know I don't > use > > Linux, so I can't implement this. > > What are you trying to do here? Just run or open > and Xterm? Well xterm or any other terminal emulator. I would like to choose by default the terminal emulator which is automatically installed on all Linux distributions, because xterm doesn't appear to be. > I have the latest version of spe and Boa, and so I > should be able to look at > this, although I'd probably like a hint as to which > spe module in Boa I > should be looking at. The code is in menuToolsConsole and so on in wxMDIParentFrame.py See also the paths tab in the preferences window. > To be honest, I don't use Boa > much, since I mostly use > spe! (I have the latest cvs version of Boa - I > assume this is what you use?) I use the official boa release. In fact I also quit using boa since spe has wxGlade. Only for spe I use boa because of its MDI support. But maybe once I'll port spe completely to spe, probably for better Mac Os X support which has troubles with MDI. > Also, there is still the line ending problem on > Linux in spe. Chu-Ching Huang (check out his livezope, see http://spe.pycs.net!) send me a good spe file. So I hope that one will work fine. Ciao, Stani __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ From rasjidw at openminddev.net Sat Dec 13 13:37:04 2003 From: rasjidw at openminddev.net (Rasjid Wilcox) Date: Sat, 13 Dec 2003 23:37:04 +1100 Subject: [spe.pycs.net] welcome In-Reply-To: <20031213103240.37958.qmail@web21105.mail.yahoo.com> References: <20031213103240.37958.qmail@web21105.mail.yahoo.com> Message-ID: <200312132337.04105.rasjidw@openminddev.net> On Saturday 13 December 2003 21:32, www.stani.be wrote: > > What are you trying to do here? Just run or open > > and Xterm? > > Well xterm or any other terminal emulator. I would > like to choose by default the terminal emulator which > is automatically installed on all Linux distributions, > because xterm doesn't appear to be. Hmm... I believe xterm should should exist whenever X exists. > The code is in menuToolsConsole and so on in > wxMDIParentFrame.py See also the paths tab in the > preferences window. Okay. Eterm does not exist on all Linux installations. I'm not even sure what it is, but I'm guessing it is the emacs terminal emulator? But I'm about 99% certain that /usr/X11R6/bin/xterm is part of the standard X distribution, and so will exists whereever someone is using Spe. Based on what I think you are trying to do, I think you want the following: def menuToolsConsole(self,event): ... if terminal==DEFAULT: if sys.platfrom='win32': os.system(... win32 stuff) else: os.system("cd \"%s\"; /usr/X11R6/bin/xterm &"%(path,)) else: os.system("cd \"%s\"; %s &"%(path,terminal) ## Problem here! You do however, have a slight problem, which is the use of the -e flag in your default options. The use of the -e paramater is not compatible with having a terminal that hangs around for user input. With the -e flag, the terminal will terminal gets created, runs the command, and then exits and closes immediately. So "xterm -e 'cd /some/path/'" will display an xterm for under a second (while it changes to /some/path) and then it will close the said xterm. I would either move the '-e' flag either into the code, or if people need the ability to change it from the GUI, then have a second box for the 'execute' flag. (I'm not completely sure on this, but I think that the use of -e may be standard across all terminal emulators. I can check on this if you like.) The def menuToolsRunExternal(self,event): ... routine it is basically okay, but you should probably use /usr/X11R6/bin/xterm as the default, and if you don't want Spe to block util the xterm is finished, then you should add the '&' at the end of the command (with a space before it) as per above. > > Also, there is still the line ending problem on > > Linux in spe. > > Chu-Ching Huang (check out his livezope, see > http://spe.pycs.net!) send me a good spe file. So I > hope that one will work fine. Well the problem is still there in Spe v0.4.2.c. The issue is that there are two 'spe' files. One at the top level (ie, in the same directory as README.txt) - this file is good. But there is another in build/scripts-2.2, and this has incorrect line endings. Unfotunately, it is also the one that 'python setup.py install' uses. It would be really great if you copied the good one over the bad one. Alternately, you could get dos2unix (http://www.bastet.com/software/UDDU.ZIP) and that way be sure that any shell scripts meant to run on Unix/Linux have the correct line endings. Anyway, thanks again for your work on Spe Stani. Cheers, Rasjid. -- Rasjid Wilcox Canberra, Australia (UTC +10 hrs) http://www.openminddev.net From pevans at catholic.org Sat Dec 13 18:32:32 2003 From: pevans at catholic.org (Paul Evans) Date: Sat, 13 Dec 2003 09:32:32 -0800 Subject: [spe.pycs.net] welcome In-Reply-To: <200312132337.04105.rasjidw@openminddev.net> References: <20031213103240.37958.qmail@web21105.mail.yahoo.com> <200312132337.04105.rasjidw@openminddev.net> Message-ID: <200312130932.32103.pevans@catholic.org> On December 13, 2003 04:37 am, Rasjid Wilcox wrote: > You do however, have a slight problem, which is the use of the -e flag in > your default options. The use of the -e paramater is not compatible with > having a terminal that hangs around for user input. With the -e flag, the > terminal will terminal gets created, runs the command, and then exits and > closes immediately. So "xterm -e 'cd /some/path/'" will display an xterm > for under a second (while it changes to /some/path) and then it will close > the said xterm. I would either move the '-e' flag either into the code, or > if people The usual way to do this is with -hold. Example: xterm -e date The window wouldn't even last long enough to read the output, but xterm -hold -e date will sit there forever until you nuke it. I was going to post the man page, but that's a bit not nice to people on dial up -- like me when I go back home :-) Here's a link to some on-line searchable man pages: http://www.linuxcentral.com/linux/man-pages/ and here's the link to the xterm man page at that site: http://www.linuxcentral.com/linux/man-pages/xterm.1x.html Most linux commands have a man (manual) page like this. Hope that helps. -- Regards, Paul Evans From rasjidw at openminddev.net Sun Dec 14 00:55:08 2003 From: rasjidw at openminddev.net (Rasjid Wilcox) Date: Sun, 14 Dec 2003 10:55:08 +1100 Subject: [spe.pycs.net] welcome In-Reply-To: <200312130932.32103.pevans@catholic.org> References: <20031213103240.37958.qmail@web21105.mail.yahoo.com> <200312132337.04105.rasjidw@openminddev.net> <200312130932.32103.pevans@catholic.org> Message-ID: <200312141055.08522.rasjidw@openminddev.net> On Sunday 14 December 2003 04:32, Paul Evans wrote: > The usual way to do this is with -hold. > > Example: > xterm -e date > > The window wouldn't even last long enough to read the output, but > xterm -hold -e date > > will sit there forever until you nuke it. > > I was going to post the man page, but that's a bit not nice to people on > dial up -- like me when I go back home :-) Particularly with a long man page like the one for xterm. Yes, I did look at the man page, but I clearly missed seeing the hold paramater. So thanks for pointing it out. It may come in useful elsewhere too. :-) However, for menuToolsConsole, what I think Stani is trying to do is get an interactive login terminal. This, as far as I can tell, is still incompatible with using -e, but perhaps there is some magic way of doing that too. Cheers, Rasjid. -- Rasjid Wilcox Canberra, Australia (UTC +10 hrs) http://www.openminddev.net From budgester at budgester.com Sun Dec 14 15:14:35 2003 From: budgester at budgester.com (Martin Norman Stevens) Date: Sun, 14 Dec 2003 14:14:35 +0000 Subject: [spe.pycs.net] welcome In-Reply-To: <200312132337.04105.rasjidw@openminddev.net> References: <20031213103240.37958.qmail@web21105.mail.yahoo.com> <200312132337.04105.rasjidw@openminddev.net> Message-ID: <20031214141435.GA21958@budgester.com> > Okay. Eterm does not exist on all Linux installations. I'm not even sure > what it is, but I'm guessing it is the emacs terminal emulator? > Eterm is the terminal created by the Enlightenment team, If I remember rightly it was one of the first terminals that allowed a transparency, it also had a lot of other funky features that other term's didn't have at the time. Budgester From tehirsch at arcor.de Sun Dec 14 15:18:34 2003 From: tehirsch at arcor.de (Tina Hirsch) Date: Sun, 14 Dec 2003 15:18:34 +0100 Subject: [spe.pycs.net] welcome In-Reply-To: <200312141055.08522.rasjidw@openminddev.net> References: <20031213103240.37958.qmail@web21105.mail.yahoo.com> <200312132337.04105.rasjidw@openminddev.net> <200312130932.32103.pevans@catholic.org> <200312141055.08522.rasjidw@openminddev.net> Message-ID: Hi all :) Stani, I eventually downloaded the latest version of spe :) About the wrong lineendings: you have to remove the directories build/scripts-* before you zip everything. Then the problem will be gone for all platforms. Other than that the install seems to run fine - no problems anymore. Btw. I'm running spe with python2.3 on gentoo without probs (hm, should probably make a new ebuild (package for gentoo) :)). To the others, the script was originally made just for *nix - mainly because of lineendings :P and that there's something on PATH. Though if someone has the wrong spe in /usr/*/bin, a new install of spe won't overwrite it. One has either to use the uninstall script or remove /usr/*/bin/spe by hand. Stani, in README.txt (removal part of linux/bsd/..) there's missing that one needs also to remove /usr/local/bin/spe. Regarding the terminal thing. xterm is probably the best default term, though it's still possible on a few distros (debian?) that it is not installed by default (sometimes FREEDOM *can* be annoying ;)). About the lists in the path options in general: I just made a wild guess when I sent them to Stani. They aren't complete nor may they be correct for everyone. That's why the paths are in the options. Everybody can adjust them to their likings/needs. I hoped that over time other users will send more correct entries and more variations to update those lists. I personally prefer wterm (windowmaker related rxvt clone, btw. Eterm is enlightenment related terminal) at the moment and this one won't work without "-e" (nor has it -hold) and a given command at all :( (Well, actually xterm doesn't work without -e and a command neither?) Rasjid Wilcox wrote: > def menuToolsConsole(self,event): > ... > if terminal==DEFAULT: > if sys.platfrom='win32': > os.system(... win32 stuff) > else: > os.system("cd \"%s\"; /usr/X11R6/bin/xterm &"%(path,)) > else: > os.system("cd \"%s\"; %s &"%(path,terminal) ## Problem here! Oh, I didn't think about that! First cd to a directory and then open the terminal. This works very nice for "Open terminal emulator". "-e" option even doesn't hurd when there's no command after it - at least with wterm ... *sigh* but xterm complains about it. I found out that menuToolsRunExternal is fine with replacing Eterm by xterm as suggested (Question: should this function be blocking or non-blocking? If the latter then there must also be a "&", like in menuToolsConsole above.). But on the other hand wterm doesn't work like that - maybe it's sort of a bug of wterm/rxvt or they wanted it like this. For wterm to work with opening a interactive console or running a command, it'd need two different path options in the dialog (maybe this is also true for some other terminals - I don't know, anybody else here maybe?). I.e. for the first I need to type just "/usr/bin/wterm" and for the second one I need (aargh!!!!!): "/usr/bin/wterm -e /bin/bash -c" Now the question is: Do we need seperate paths for opening a console and run a script in the console? Now something different: A gentoo user asked recently the following: > 1) The SPE package includes wxGlade (bug#29002), so perhaps either (a) > the SPE ebuild should inject wxGlade into the list of installed > packages, or (b) make wxGlade a dependency, so that the wxGlade ebuild > has exclusive right to install it, and the SPE ebuild might delete > SPE's wxGlade files before installing, and create a symlink to the > actual wxGlade installation. What do you plan to do with wxGlade, Stani? If you just distribute always the original, unmodified code of wxGlade, I may do what this user suggests, i.e. delete wxGlade from spe directories and use the official one. By creating links to that version this would mean no changes for spe itself. Greetings, Tina Ps: Submitted the new ebuild right now :) From pevans at catholic.org Sun Dec 14 22:35:51 2003 From: pevans at catholic.org (Paul Evans) Date: Sun, 14 Dec 2003 13:35:51 -0800 Subject: [spe.pycs.net] x11 clipboard Message-ID: <200312141335.51147.pevans@catholic.org> Hi, Tina: are you able to cp out of spe x11 style? I can cp into it fine with mmb, but out - no way. Could be just my libs which are a bit of a mess at the moment. I read about a similar (but opposite) bug on the scintilla list a while back. -- Regards, Paul Evans From rasjidw at openminddev.net Mon Dec 15 00:05:32 2003 From: rasjidw at openminddev.net (Rasjid Wilcox) Date: Mon, 15 Dec 2003 10:05:32 +1100 Subject: [spe.pycs.net] welcome In-Reply-To: References: <20031213103240.37958.qmail@web21105.mail.yahoo.com> <200312141055.08522.rasjidw@openminddev.net> Message-ID: <200312151005.32258.rasjidw@openminddev.net> On Monday 15 December 2003 01:18, Tina Hirsch wrote: > Now the question is: Do we need seperate paths for opening a console and > run a script in the console? I was going to suggest this myself, so I think yes, particularly because of the -e paramater issue, and not all 'xterms' support -hold etc. Cheers, Rasjid. -- Rasjid Wilcox Canberra, Australia (UTC +10 hrs) http://www.openminddev.net From rasjidw at openminddev.net Mon Dec 15 00:08:31 2003 From: rasjidw at openminddev.net (Rasjid Wilcox) Date: Mon, 15 Dec 2003 10:08:31 +1100 Subject: [spe.pycs.net] x11 clipboard In-Reply-To: <200312141335.51147.pevans@catholic.org> References: <200312141335.51147.pevans@catholic.org> Message-ID: <200312151008.31618.rasjidw@openminddev.net> On Monday 15 December 2003 08:35, Paul Evans wrote: > Hi, > > Tina: are you able to cp out of spe x11 style? > > I can cp into it fine with mmb, but out - no way. > > Could be just my libs which are a bit of a mess at the moment. I read about > a similar (but opposite) bug on the scintilla list a while back. I have the same problem, but as it seemed like a bug in the underlying libraries rather than Spe, and it wasn't worrying me much (yet) I have not reported it anywhere. Cheers, Rasjid -- Rasjid Wilcox Canberra, Australia (UTC +10 hrs) http://www.openminddev.net From pevans at catholic.org Mon Dec 15 01:24:21 2003 From: pevans at catholic.org (Paul Evans) Date: Sun, 14 Dec 2003 16:24:21 -0800 Subject: [spe.pycs.net] x11 clipboard In-Reply-To: <200312151008.31618.rasjidw@openminddev.net> References: <200312141335.51147.pevans@catholic.org> <200312151008.31618.rasjidw@openminddev.net> Message-ID: <200312141624.21596.pevans@catholic.org> On December 14, 2003 15:08 pm, Rasjid Wilcox wrote: > > Tina: are you able to cp out of spe x11 style? > > > > I can cp into it fine with mmb, but out - no way. > > > > Could be just my libs which are a bit of a mess at the moment. I read > > about a similar (but opposite) bug on the scintilla list a while back. > > I have the same problem, but as it seemed like a bug in the underlying > libraries rather than Spe, and it wasn't worrying me much (yet) I have not > reported it anywhere. Thanks Rasjid for letting me know I'm not alone in that. Just have to wait for scintilla to fix it I guess. -- Regards, Paul Evans From kristof.semjen at free.fr Mon Dec 15 01:57:45 2003 From: kristof.semjen at free.fr (Kristof) Date: Mon, 15 Dec 2003 01:57:45 +0100 Subject: [spe.pycs.net] x11 clipboard In-Reply-To: <200312141624.21596.pevans@catholic.org> References: <200312141335.51147.pevans@catholic.org> <200312151008.31618.rasjidw@openminddev.net> <200312141624.21596.pevans@catholic.org> Message-ID: <1071449865.23396.31.camel@localhost.localdomain> On Mon, 2003-12-15 at 01:24, Paul Evans wrote: > On December 14, 2003 15:08 pm, Rasjid Wilcox wrote: > > > Tina: are you able to cp out of spe x11 style? > > > > > > I can cp into it fine with mmb, but out - no way. > > > > > > Could be just my libs which are a bit of a mess at the moment. I read > > > about a similar (but opposite) bug on the scintilla list a while back. > > > > I have the same problem, but as it seemed like a bug in the underlying > > libraries rather than Spe, and it wasn't worrying me much (yet) I have not > > reported it anywhere. > > Thanks Rasjid for letting me know I'm not alone in that. > > Just have to wait for scintilla to fix it I guess. Hi all, I have the same problem, but still, if I ctl-c then use the paste tool from the destination program, everything goes just fine. Just to say that it seems data from spe are referenced in the clipboard but on lower level than anything else. I don't know a lot bout all that so I might be wrong. In one word, forgetting MMB and using Windows methods (Edit>copy / Edit>Paste) I can cp anynthing I want from spe (not as fast though). Cheers, KriStof From pevans at catholic.org Mon Dec 15 02:13:18 2003 From: pevans at catholic.org (Paul Evans) Date: Sun, 14 Dec 2003 17:13:18 -0800 Subject: [spe.pycs.net] x11 clipboard In-Reply-To: <1071449865.23396.31.camel@localhost.localdomain> References: <200312141335.51147.pevans@catholic.org> <200312141624.21596.pevans@catholic.org> <1071449865.23396.31.camel@localhost.localdomain> Message-ID: <200312141713.18725.pevans@catholic.org> On December 14, 2003 16:57 pm, Kristof wrote: > I have the same problem, but still, if I ctl-c then use the paste tool > from the destination program, everything goes just fine. Just to say Same for me except I'm given to using ctrl/shift+insert. > wrong. In one word, forgetting MMB and using Windows methods (Edit>copy > / Edit>Paste) I can cp anynthing I want from spe (not as fast though) When working inside the program of course I just use the keyboard and it's fine. It's only when I'm browsing for snippets in other tabs that I use the highlight/MMB style. I'll post a bug report for it then, since I seem to have good company having this problem. Thanks for posting. -- Regards, Paul Evans From pevans at catholic.org Mon Dec 15 02:44:18 2003 From: pevans at catholic.org (Paul Evans) Date: Sun, 14 Dec 2003 17:44:18 -0800 Subject: [spe.pycs.net] x11 clipboard In-Reply-To: <1071449865.23396.31.camel@localhost.localdomain> References: <200312141335.51147.pevans@catholic.org> <200312141624.21596.pevans@catholic.org> <1071449865.23396.31.camel@localhost.localdomain> Message-ID: <200312141744.18301.pevans@catholic.org> Seems to be in pywx not scintilla. Before I submitted a bug I read through the ones for pywx first. Robin Dunn posted this: http://sourceforge.net/tracker/index.php?func=detail&aid=657320&group_id=9863&atid=109863 Which calls attention to the problem. He says in part "BTW, I'm working on this because I'm trying to get the wxSTC to behave like other X apps with the clipboard." Unfortunately it was posted 2002-12-21 and is still open. Since Robin is the author of pywx too it doesn't look like it will be fixed anytime soon. -- Regards, Paul Evans From ivan at w3.org Mon Dec 15 09:28:52 2003 From: ivan at w3.org (Ivan Herman) Date: Mon, 15 Dec 2003 09:28:52 +0100 Subject: [spe.pycs.net] welcome In-Reply-To: <20031212140417.41114.qmail@web21102.mail.yahoo.com> References: <20031212140417.41114.qmail@web21102.mail.yahoo.com> Message-ID: <3FDD70C4.508@w3.org> I am not sure how I should unsubscribe. Can you do it or tell me how? Thanks Ivan www.stani.be wrote: > Hi everyone, > > To start the spe (python ide) mailing list, I used the > email addresses of people who emailed me before about > spe and showed their appreciation. If you disagree, > please just unsubscribe quietly. I hope like that the > developement of the spe can go even faster and by > users helping each other out I'll get more time for > developing spe. > > The new, most requested feature I wish to focus on > now, is the spe debugger. Thank Guillermo because he > already started working on it. I'll have to check his > code. However I would like to make the current release > first as stable as possible. > > There is still a problem with the tools menu in Linux. > Can anyone give the code for 'open terminal emulator' > or 'run in terminal emulator' which would work by > default on all linux versions. As you know I don't use > Linux, so I can't implement this. > > > Thanks, > Stani > > PS If you wouldn't remember: > > Spe is a python IDE with wxGlade GUI designer, > auto-indentation, auto completion, call tips, syntax > coloring, syntax highlighting, class explorer, source > index, auto todo list, sticky notes, integrated > pycrust shell, python file browser, recent file > browser, drag&drop, context help, ... Special is its > blender support with a blender 3d object browser and > its ability to run interactively inside blender. Spe > is extensible with boa. > For more info: see http://spe.pycs.net > > __________________________________ > Do you Yahoo!? > New Yahoo! Photos - easier uploading and sharing. > http://photos.yahoo.com/ > _______________________________________________ > Spe-user mailing list > Spe-user at blender.org > http://www.blender.org/mailman/listinfo/spe-user -- Ivan Herman W3C Head of Offices C/o W3C Benelux Office at CWI, Kruislaan 413 1098SJ Amsterdam, The Netherlands tel: +31-20-5924163; mobile: +31-641044153; URL: http://www.w3.org/People/all?pictures=yes#ivan From rasjidw at openminddev.net Mon Dec 15 09:46:09 2003 From: rasjidw at openminddev.net (Rasjid Wilcox) Date: Mon, 15 Dec 2003 19:46:09 +1100 Subject: [spe.pycs.net] welcome In-Reply-To: <3FDD70C4.508@w3.org> References: <20031212140417.41114.qmail@web21102.mail.yahoo.com> <3FDD70C4.508@w3.org> Message-ID: <200312151946.09798.rasjidw@openminddev.net> On Monday 15 December 2003 19:28, Ivan Herman wrote: > I am not sure how I should unsubscribe. Can you do it or tell me how? From the mail headers: List-Unsubscribe: , The second option is probably the easiest. Just send a email (from the address you are subscribed under) to: spe-user-request at blender.org with 'unsubscribe' as the subject. The first line means that you can go to http://www.blender.org/mailman/listinfo/spe-user. However, you then have to either go to the Subscriber list and choose your address, or enter it at the bottom and hit 'Edit Options'. You are then given a choice to unsubscibe. You will need to request your password first, however. Cheers, Rasjid. -- Rasjid Wilcox Canberra, Australia (UTC +10 hrs) http://www.openminddev.net From tehirsch at arcor.de Mon Dec 15 11:24:33 2003 From: tehirsch at arcor.de (Tina Hirsch) Date: Mon, 15 Dec 2003 11:24:33 +0100 Subject: [spe.pycs.net] x11 clipboard In-Reply-To: <200312141713.18725.pevans@catholic.org> References: <200312141335.51147.pevans@catholic.org> <200312141624.21596.pevans@catholic.org> <1071449865.23396.31.camel@localhost.localdomain> <200312141713.18725.pevans@catholic.org> Message-ID: MMB doesn't work for me either. However it seems to be even worse. I can only copy between gtk2 apps (with Ctrl-C/V) and since I compiled wxpython with gtk2.... Hmm, maybe it's not spe, nor wx, nor scintilla, but gtk2? Because mmb works fine between most gtk1 <-> non-gtk apps. Which gtk version do you use? Greetings, Tina Paul Evans wrote: > On December 14, 2003 16:57 pm, Kristof wrote: > > I have the same problem, but still, if I ctl-c then use the paste > > tool from the destination program, everything goes just fine. Just > > to say > Same for me except I'm given to using ctrl/shift+insert. > > > wrong. In one word, forgetting MMB and using Windows methods > > (Edit>copy/ Edit>Paste) I can cp anynthing I want from spe (not as > > fast though) > When working inside the program of course I just use the keyboard and > it's fine. It's only when I'm browsing for snippets in other tabs that > I use the highlight/MMB style. > > I'll post a bug report for it then, since I seem to have good company > having this problem. Thanks for posting. > > -- > Regards, Paul Evans > > > _______________________________________________ > Spe-user mailing list > Spe-user at blender.org > http://www.blender.org/mailman/listinfo/spe-user From pevans at catholic.org Mon Dec 15 17:34:18 2003 From: pevans at catholic.org (Paul Evans) Date: Mon, 15 Dec 2003 08:34:18 -0800 Subject: [spe.pycs.net] x11 clipboard In-Reply-To: References: <200312141335.51147.pevans@catholic.org> <200312141713.18725.pevans@catholic.org> Message-ID: <200312150834.18734.pevans@catholic.org> On December 15, 2003 02:24 am, Tina Hirsch wrote: > works fine between most gtk1 <-> non-gtk apps. > Which gtk version do you use? Both, like you. I have emelfm (gtk1) up all day along with mgt (gtk2). I haven't noticed any problem with mmb cp/paste with anything else. By now I expect (and actually like) the text editor's clipbuffer not to end up like it was ever the primary selection to x11 - just clutters up klipper for me. I do think it's pywx, because RobbinD explained just where he was lost in reading the gtk stuff to fix it when he posted it as a bug. -- Regards, Paul Evans From s_t_a_n_i at yahoo.com Tue Dec 16 15:14:30 2003 From: s_t_a_n_i at yahoo.com (www.stani.be) Date: Tue, 16 Dec 2003 06:14:30 -0800 (PST) Subject: [spe.pycs.net] tar.gz releases In-Reply-To: <200312151005.32258.rasjidw@openminddev.net> Message-ID: <20031216141430.21541.qmail@web21106.mail.yahoo.com> The script bug (line-endings) is solved for the next release. There was a small bug in my small program which automatically builds the exe and zip releases. So now the two spe scripts will be fine. Question: If anyone has a small windows program which can convert a directory in a tar.gz with one click (not first tar and than gz) I'll can change the zip source releases into tar.gz, as windows users will use the exe release. __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ From s_t_a_n_i at yahoo.com Tue Dec 16 15:17:56 2003 From: s_t_a_n_i at yahoo.com (www.stani.be) Date: Tue, 16 Dec 2003 06:17:56 -0800 (PST) Subject: [spe.pycs.net] wxGlade Message-ID: <20031216141757.10163.qmail@web21110.mail.yahoo.com> Tina, I added "one needs also to remove /usr/local/bin/spe." in the README file wxGlade >Now something different: >A gentoo user asked recently the following: > 1) The SPE package includes wxGlade (bug#29002), so perhaps either (a) > the SPE ebuild should inject wxGlade into the list of installed > packages, or (b) make wxGlade a dependency, so that the wxGlade ebuild > has exclusive right to install it, and the SPE ebuild might delete > SPE's wxGlade files before installing, and create a symlink to the > actual wxGlade installation. >What do you plan to do with wxGlade, Stani? If you just distribute >always the original, unmodified code of wxGlade, I may do what this >user suggests, i.e. delete wxGlade from spe directories and use the official >one. By creating links to that version this would mean no changes for >spe itself. wxGlade doesn't have to be part of spe, as long as spe can find the path (see menuToolsGlade in wxMDIParentFrame1.py). The problem is that wxGlade can be anywhere installed on the system and it is not available as a module to import. So it makes things smoother if wxGlade already ships with spe, such that spe easily can find wxGlade and that users don't have to start downloading seperate files. The best would be if the setup script of spe checks if wxGlade is installed and if not install it. But this is in a way impossible because I don't know how to figure out where wxGlade is installed. I could of course add an entry in the preferences window but it makes wxGlade more loose from spe. __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ From s_t_a_n_i at yahoo.com Tue Dec 16 15:16:56 2003 From: s_t_a_n_i at yahoo.com (www.stani.be) Date: Tue, 16 Dec 2003 06:16:56 -0800 (PST) Subject: [spe.pycs.net] terminal emulator functions Message-ID: <20031216141656.22580.qmail@web21106.mail.yahoo.com> About terminal emulator functions in wxMDIParentFrame.py: The purpose of these routines is to run programs in a non blocking way outside spe. This gives the opportunity to continue editing while you see the ouput when the program is still running. Programs run faster that way than inside spe. Beside some programs (eg containing wxPython code) will crash when runned inside spe. Now I made in the paths three entries for the terminal emulator functions: 'open', 'run' and 'run & exit' I use now a dictionary with a 'dir' and 'file' key for the string interpolation, see console for an example. ANY VOLUNTEER FOR... Now I need two things from one of you: the linux code for the three functions, where the default is xterm for linux, and a list of predefined paths (eg "cd \"%(dir)s\"; /usr/X11R6/bin/xterm &"%arg") for open, run and run&exit. I hope I'm clear. Paul, thanks for the links to the man pages. Of course it is usefull. However I prefer if you linux users give me the code, because for me I can only than do the theory and not test the code I wrote. If one of you send me the code than I'm sure it works. a) menuToolsConsole This routine allows the user to play with argument values. Thanks Rasjid for the patch, I changed now the function into: def menuToolsConsole(self,event): arg = {'dir' : os.path.dirname(self.GetActiveChild().fileName), 'file' : self.GetActiveChild().fileName} terminal = self.get('Terminal') if terminal==DEFAULT: if sys.platform=='win32': os.system('start "Spe console - Press Ctrl+Break to stop" /D"%(dir)s"'%arg) else: os.system("cd \"%(dir)s\"; /usr/X11R6/bin/xterm &"%arg) else: os.system(terminal%arg) b) menuToolsRunExternal This routine should run a program externally in a terminal emulator, displays its output and not exit at the end of the program. Please send me c) menuToolsRunExternalExit Same as above, but exists at the end of the program. __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ From guillermo.fernandez at epfl.ch Tue Dec 16 15:36:23 2003 From: guillermo.fernandez at epfl.ch (Guillermo Fernandez Castellanos) Date: Tue, 16 Dec 2003 15:36:23 +0100 Subject: [spe.pycs.net] tar.gz releases In-Reply-To: <20031216141430.21541.qmail@web21106.mail.yahoo.com> References: <20031216141430.21541.qmail@web21106.mail.yahoo.com> Message-ID: <3FDF1867.3030900@epfl.ch> Cheers, >Question: >If anyone has a small windows program which can >convert a directory in a tar.gz with one click (not >first tar and than gz) I'll can change the zip source >releases into tar.gz, as windows users will use the >exe release. > > Did not try this under windows, but should work just fine (python portability ;-) It's a quick and dirty script, I can improve it later if you wish. import sys import tarfile import gzip if len(sys.argv)!=3: print "Bad number of arguments" print sys.argv[0], "outputfile dir_to_add" sys.exit(1) tar = tarfile.open(sys.argv[1]+".tar", "w") tar.add(sys.argv[2]) tar.close() gz = gzip.open(sys.argv[1]+".tar.gz","w") tar=open(sys.argv[1]+".tar","r") gz.write(tar.read()) gz.close() Could someone try it under windows and see if the file is readable under *NIX? I'm under Linux rigth now, and the tar.gz file created works just fine :-) The syntax is: program outputfile(without the .tar.gz extension) dir_to_add If it works, I could extend it to read standard input and a list of dirs. Guille From s_t_a_n_i at yahoo.com Tue Dec 16 17:07:58 2003 From: s_t_a_n_i at yahoo.com (www.stani.be) Date: Tue, 16 Dec 2003 08:07:58 -0800 (PST) Subject: [spe.pycs.net] tar.gz releases In-Reply-To: <3FDF1867.3030900@epfl.ch> Message-ID: <20031216160758.30042.qmail@web21104.mail.yahoo.com> Hi Guillermo, I tried it and it worked under windows. Can you open the file under Linux? Than I can adapt the file myself, as I want to put it in my build script. It's a small file, so I included it as an attachment. Thanks, Stani --- Guillermo Fernandez Castellanos wrote: > Cheers, > > >Question: > >If anyone has a small windows program which can > >convert a directory in a tar.gz with one click (not > >first tar and than gz) I'll can change the zip > source > >releases into tar.gz, as windows users will use the > >exe release. > > > > > Did not try this under windows, but should work just > fine (python > portability ;-) > It's a quick and dirty script, I can improve it > later if you wish. > > import sys > import tarfile > import gzip > > if len(sys.argv)!=3: > print "Bad number of arguments" > print sys.argv[0], "outputfile dir_to_add" > sys.exit(1) > tar = tarfile.open(sys.argv[1]+".tar", "w") > tar.add(sys.argv[2]) > tar.close() > gz = gzip.open(sys.argv[1]+".tar.gz","w") > tar=open(sys.argv[1]+".tar","r") > gz.write(tar.read()) > gz.close() > > Could someone try it under windows and see if the > file is readable under > *NIX? > I'm under Linux rigth now, and the tar.gz file > created works just fine :-) > > The syntax is: > program outputfile(without the .tar.gz extension) > dir_to_add > > If it works, I could extend it to read standard > input and a list of dirs. > > Guille > > _______________________________________________ > Spe-user mailing list > Spe-user at blender.org > http://www.blender.org/mailman/listinfo/spe-user __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ -------------- next part -------------- A non-text attachment was scrubbed... Name: test.tar.gz Type: application/x-compressed Size: 188 bytes Desc: test.tar.gz Url : http://lists.blender.org/pipermail/spe-user/attachments/20031216/950391cf/attachment.bin From guillermo.fernandez at epfl.ch Tue Dec 16 17:15:21 2003 From: guillermo.fernandez at epfl.ch (Guillermo Fernandez Castellanos) Date: Tue, 16 Dec 2003 17:15:21 +0100 Subject: [spe.pycs.net] tar.gz releases In-Reply-To: <20031216160758.30042.qmail@web21104.mail.yahoo.com> References: <20031216160758.30042.qmail@web21104.mail.yahoo.com> Message-ID: <3FDF2F99.2060407@epfl.ch> It works :-) I have: test/subfolder/nothing.rtf Cheers, Guille www.stani.be wrote: >Hi Guillermo, >I tried it and it worked under windows. Can you open >the file under Linux? Than I can adapt the file >myself, as I want to put it in my build script. It's a >small file, so I included it as an attachment. >Thanks, >Stani > >--- Guillermo Fernandez Castellanos > wrote: > > >>Cheers, >> >> >> >>>Question: >>>If anyone has a small windows program which can >>>convert a directory in a tar.gz with one click (not >>>first tar and than gz) I'll can change the zip >>> >>> >>source >> >> >>>releases into tar.gz, as windows users will use the >>>exe release. >>> >>> >>> >>> >>Did not try this under windows, but should work just >>fine (python >>portability ;-) >>It's a quick and dirty script, I can improve it >>later if you wish. >> >>import sys >>import tarfile >>import gzip >> >>if len(sys.argv)!=3: >> print "Bad number of arguments" >> print sys.argv[0], "outputfile dir_to_add" >> sys.exit(1) >>tar = tarfile.open(sys.argv[1]+".tar", "w") >>tar.add(sys.argv[2]) >>tar.close() >>gz = gzip.open(sys.argv[1]+".tar.gz","w") >>tar=open(sys.argv[1]+".tar","r") >>gz.write(tar.read()) >>gz.close() >> >>Could someone try it under windows and see if the >>file is readable under >>*NIX? >>I'm under Linux rigth now, and the tar.gz file >>created works just fine :-) >> >>The syntax is: >>program outputfile(without the .tar.gz extension) >>dir_to_add >> >>If it works, I could extend it to read standard >>input and a list of dirs. >> >>Guille >> >>_______________________________________________ >>Spe-user mailing list >>Spe-user at blender.org >>http://www.blender.org/mailman/listinfo/spe-user >> >> > >__________________________________ >Do you Yahoo!? >New Yahoo! Photos - easier uploading and sharing. >http://photos.yahoo.com/ > From pevans at catholic.org Tue Dec 16 18:35:15 2003 From: pevans at catholic.org (Paul Evans) Date: Tue, 16 Dec 2003 09:35:15 -0800 Subject: [spe.pycs.net] tar.gz releases In-Reply-To: <20031216160758.30042.qmail@web21104.mail.yahoo.com> References: <20031216160758.30042.qmail@web21104.mail.yahoo.com> Message-ID: <200312160935.15271.pevans@catholic.org> On December 16, 2003 08:07 am, www.stani.be wrote: > test.tar.gz Works fine for me too under linux. Those modules are handy. The other day I scripted a qt gui (under windows even) to take apart openoffice drawings, replace the image info in them and zip them back up. neat (all openoffice files are really zipped xml, despite what the extension says). You could use the python api to save things out in ms formats if you wanted to do the same with .doc or xls file types. To keep at least a little on topic, the py2exe for distutils worked perfectly and quickly to produce an exe and the needed gui dlls for distribution to non-python windows boxen. Maybe we could have a version of spe like that? Obviously pointless for people wishing to use a python texted, but maybe blender people would appreciate it if it has a builtin python interpreter (I use neither blender nor windows, so it may be a dumb idea). -- Regards, Paul Evans