thegooglecodearchive / editra-plugins

Automatically exported from code.google.com/p/editra-plugins
0 stars 1 forks source link

Launch not kill Python launch when exit #218

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What version of Editra?
0.7.12

What Plugin does this relate to?
PyStudio

What version of the Plugin?
0.7

What steps will reproduce the problem?
1. Create 02 launches (shelf Launch)
2. Run the scripts
3. Exit Editra (clicking or not the Abort button of the Launch)

What is the expected output?
Something asking me to close launches

What do you see instead?
Nothing

What version of Editra are you using?
0.7.12

On what operating system?
GNU/Linux
Ubuntu x64 with KDE

What version of Python?
Python 2.6.6

Please provide any additional information below.

Original issue reported on code.google.com by zorobabe...@gmail.com on 6 Sep 2012 at 11:35

Attachments:

GoogleCodeExporter commented 9 years ago
I was debugging and I found that Abort button kills sometimes only the thread 
called sh y not kill the thread python. I run a personalized launch, as follows:

Alias: TheCommand
Executable orders: /usr/bin/python2.6 <script_path> <arguments>

Original comment by zorobabe...@gmail.com on 8 Sep 2012 at 5:21

GoogleCodeExporter commented 9 years ago
I'm on it!

Original comment by zorobabe...@gmail.com on 8 Sep 2012 at 5:21

GoogleCodeExporter commented 9 years ago
Sorry I am not clear if you are running from Launch or from PyStudio in the 
debugger?

Original comment by CodyPrec...@gmail.com on 12 Sep 2012 at 1:01

GoogleCodeExporter commented 9 years ago
Oh, I'm running from PyStudio with Launch or Debugging

Original comment by zorobabe...@gmail.com on 12 Sep 2012 at 2:11

GoogleCodeExporter commented 9 years ago
What?

Sorry but that doesn't add any clarity, which tool are you using to start your 
python process?

Are you using the Launch panel OR the Pystudio debugging panel?

Original comment by CodyPrec...@gmail.com on 12 Sep 2012 at 3:07

GoogleCodeExporter commented 9 years ago
I'm using Launch panel AND the Pystudio debugging panel

Original comment by zorobabe...@gmail.com on 12 Sep 2012 at 3:08

GoogleCodeExporter commented 9 years ago
BUT the error is whe I use Launch panel.

I added this line in file eclib/outbuff.py after line 789 (It works for me):

os.kill(pid + 1, self._sig_abort)

I'm using the System Monitor of KDE to see the processes.

Original comment by zorobabe...@gmail.com on 12 Sep 2012 at 3:19

GoogleCodeExporter commented 9 years ago
Ok, so the issue is in the Launch plugin then.

Renaming issue summary to reflect issue.

Thanks for testing a fix, will check on other platforms as well.

Original comment by CodyPrec...@gmail.com on 12 Sep 2012 at 3:23

GoogleCodeExporter commented 9 years ago
Thanks for taking the time to respond. Your editor is the voice.

Oh, one question more: How can I involve into the development of Editra? If 
this possible preferably for GNU/Linux x32-x64 (debugging, fixes, plugings, 
documentation, translations).

Best regards.

Original comment by zorobabe...@gmail.com on 12 Sep 2012 at 3:28

GoogleCodeExporter commented 9 years ago
Hi,

There are many ways to get involved. Fixing bugs and submitting patches, 
reporting bugs, proposing features, writing plugins, ect...

Discussion of features and other issues is preferred to take place on the 
googlegroups page.

Patches for bugs or other issues can be submitted here (for plugins) or at 
editra.googlecode.com for Editra issues at anytime.

Repository write permissions are granted in a few ways.
1) For plugin authors, just submitting a somewhat substantially working plugin 
and intent to support the plugin will allow for write access to this repository 
and inclusion of plugin in plugin manager.
2) For editra core (hosted at wxwidgets) a slightly longer vetting period of 
well written patches is required.

Thanks for the interest!

Original comment by CodyPrec...@gmail.com on 12 Sep 2012 at 4:40