Re: [PyKDE] ImportError

2003-07-24 Thread Frederick Polgardy Jr
On Thursday 24 July 2003 08:57 am, Pablo Yabo wrote: I'm trying to extend qt code in c++ using scripts written in python accessing the objects as a java script language. Huh? ___ PyKDE mailing list[EMAIL PROTECTED]

Re: [PyKDE] ImportError

2003-07-24 Thread Pablo Yabo
I need to write an application in c++ that loads .ui files and I want towrite scripts for that .ui definitions in python. So, I load the scriptusing:pModule = PyImport_Import(pName);and the script containg only a line:from qt import *and the error reported is:"ImportError: No module named

[PyKDE] Qt v3.2.0 Support

2003-07-24 Thread Phil Thompson
Tonight's snapshot will include full support for Qt v3.2.0. I haven't got round to looking at any pyuic changes yet. Phil ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Re: [PyKDE] ImportError

2003-07-24 Thread Jonathan Gardner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 24 July 2003 08:12, Pablo Yabo wrote: ImportError: No module named libsip Is the sys.path configured correctly? Is libsip.so where you think it is? - -- Jonathan Gardner [EMAIL PROTECTED] (was [EMAIL PROTECTED]) Live Free, Use Linux!

Re: [PyKDE] ImportError

2003-07-24 Thread Pablo Yabo
I made it work. The problem is that I was compiling in debug and Python try to find the module libsip_d.dll instead of libsip.dll and the debug version is not compiled. Thanks. - Original Message - From: Jonathan Gardner [EMAIL PROTECTED] To: Pablo Yabo [EMAIL PROTECTED]; PyQt [EMAIL

RE: [PyKDE] SIP Support for C++ Operators and Exceptions

2003-07-24 Thread Tuvi, Selim
Phil, we just tried your suggestion and added a wrapped exception class and enabled the -e flag. Although it does translate the C++ exception to Python properly, it does it a little different than the regular Python exceptions would. In Python, one would write: try: raise RuntimeError, Got