Re: [PyKDE] How do you get HTML source from konqueror/KHTMLPart?

2006-12-21 Thread yichun wei
could I get a piece of code where .toString () works without throwing a DOM::DOMException instance and not crashing the application? Thanks a lot! The code I have, which crashes will be attached in the following: - from kdecore import KCmdLineArgs, KURL, KA

[PyKDE] Unchecked plugin directory access

2006-12-21 Thread Lorenzo Mancini
Hello, in PyQt 4.1.1 and snapshot 20061220, class QObjectCreator makes an unchecked access to widget-plugins directory in its constructor: (PyQt4/uic/objcreator.py: 21) plugindir = os.path.join(os.path.split(__file__)[0], "widget-plugins") for filename in os.listdir(plu

[PyKDE] Re: Problem compiling PyKDE 3.16.0

2006-12-21 Thread Rex Dieter
Detlev Offenbach wrote: > I am trying to compile PyKDE 3.16.0 for Python 2.5.0 with latest sip > snapshot (tried with 4.5.2 as well), but it fails with error messages like ... > sip/kdecore/kurl.sip: In function ‘PyObject* > slot_KURL_List___getitem__(PyObject*, PyObject*)’: > sip/kdecore/kurl.sip

Re: [PyKDE] How do you get HTML source from konqueror/KHTMLPart?

2006-12-21 Thread Marcos Dione
On Wed, Dec 20, 2006 at 05:40:03PM -0800, yichun wei wrote: > where .toString() is called. Is there any other reason leading to this > other than the 0 values when initiate the KHTMLPart object? I'm not sure, and I didn't explore it too much, because I works for me (I'm using it to browse the

[PyKDE] Problem compiling PyKDE 3.16.0

2006-12-21 Thread Detlev Offenbach
Hi, I am trying to compile PyKDE 3.16.0 for Python 2.5.0 with latest sip snapshot (tried with 4.5.2 as well), but it fails with error messages like sip/kdecore/kurl.sip: In function ‘PyObject* slot_KURL_List___getitem__(PyObject*, PyObject*)’: sip/kdecore/kurl.sip:329: error: cannot convert ‘in

Re: [PyKDE] QTimer and QThread error

2006-12-21 Thread Remy Anthoine
Set up a breakpoint in Qt where this message is printed and examine backtrace? Thank for the reply. I found out that I get the message when the application quit and i am not getting the message if I remove a statement where I add a pixmap item to a QGraphicsScene. I have to investigate this matt

[PyKDE] Building SIP 4.5.2

2006-12-21 Thread Remy Anthoine
Hi I am trying to build SIP 4.5.2 because I need to work with PyQT latest snapshot. Under WinXP, using mingw32 and Python 2.5 installed, I ran this in command prompt: python configure.py -p win32-g++ mingw32-make (...) It went fine. After that I tried to install : C:\tmp>C:\MinGW\bin\mingw32-

Re: [PyKDE] QTimer and QThread error

2006-12-21 Thread Krzysztof Lichota
Remy Anthoine napisał(a): > Hi all, > > I'm getting the following error inside the console after quiting my > application : > > QObject::startTimer: QTimer can only be used with threads started with > QThread > > I am not explicity creating any timer nor thread. I would like to give > more detai