Re: [PyQt] Need some assistance on QThread

2011-05-15 Thread Luke Campagnola
If you do want to use threading, then I agree with your approach and Emmanuel's suggestions. However, you do not need to use threading at all for this task (in my opinion, you should always avoid using threads if possible). My approach would be: 1) use subprocess.Popen to execute the command 2) us

Re: [PyQt] sip: translation error with operator *=

2011-05-15 Thread Phil Thompson
On Fri, 6 May 2011 10:44:54 -0700 (PDT), pymab wrote: > Hi, > > The following sip decl > > CMatrix3 & operator*=(const CMatrix3& in_matrix3 ); > > gets translated to > > static PyObject *slot_CMatrix3___imul__(PyObject *sipSelf,int a0) > > which obviously doesn't compiled. I would have expect

Re: [PyQt] sip: unsupported cast operator

2011-05-15 Thread Phil Thompson
On Sun, 8 May 2011 13:49:24 -0700 (PDT), pymab wrote: > Hi, > > sip gives me an unssuported error for a 'signed char' cast operator: > > "sip: xsi_value.sip:428: Unsupported operator cast" > > class CValue > { > %TypeHeaderCode > #include "xsi_value.h" > %End > > public: > ... > operator signe

Re: [PyQt] SIP problem with compiled functions (or anything that is not a function or method)

2011-05-15 Thread Phil Thompson
On Mon, 09 May 2011 21:53:49 +0200, Kay Hayen wrote: > Hello there, > > I am the author of a Python compiler called Nuitka. Please see my page > for info about it: > > http://kayhayen24x7.homelinux.org/blog/nuitka-a-python-compiler/what-is-nuitka/ > > Now this compiler is very compatible to CP