Re: [Zope] os module on different os's
garry saddington wrote at 2006-5-30 20:10 +0100: > ... >On Ubuntu Dapper and FC5 however, these os calls fail. How? What happens precisely? In principle, the "Ubuntu" "os" should behave exactly like the Debian "sarge" one (as they are both linux variants). I do not know "FC5", but almost surely, this holds for it as well. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] os module on different os's
garry saddington wrote: I have a Zope application that runs on WinXP and Debian sarge without problems. I am using os.popen and popen2 to run locally installed applications and use their output in Zope (particularly aspell and diction). I'd suggest moving to the new subprocess module which packages these up in a platform independent way... problem with recent Distros and this module? Python version is 2.3 on all systems but I tried 2.4 on FC5 and that failed too. You need to be using Zope 2.9 and Python 2.4 to have access to the subprocess module, but I'd strongly recommend it in your case... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] os module on different os's
I have a Zope application that runs on WinXP and Debian sarge without problems. I am using os.popen and popen2 to run locally installed applications and use their output in Zope (particularly aspell and diction). On Ubuntu Dapper and FC5 however, these os calls fail. Is there a problem with recent Distros and this module? Python version is 2.3 on all systems but I tried 2.4 on FC5 and that failed too. regards garry ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )