[Eric] eric 4.4.1 subprocess problem

Linos info at linos.es
Wed Feb 10 17:00:01 GMT 2010


Hello,
	i have upgraded today to version 4.4.1 and i now have a problem i had not 
before upgrade, i have a line in code where i do this:
	subprocess.Popen(["soffice", filename])

I use this to open a csv file i generate from code, with the new eric version i 
get a dialog where i have to choose "Parent process" or "Child process", if i 
choose parent i get an excepcion from subprocess.py (9, Bad file descriptor), if 
i choose child openoffice loads the file cleanly but on close openoffice, eric 
close my program too.

This same code works well if i launch the program directly without eric. I have 
other lines in code where i use subprocess.call instead of Popen but i get the 
same result. I am using python 2.6 in Linux 2.6.32. How can i fix this? any 
configuration option? Thanks.

Regards,
Miguel Angel.


More information about the Eric mailing list