[PyKDE] Request for Testing
İsmail Dönmez
ismail at uludag.org.tr
Thu Aug 18 09:30:26 BST 2005
Perşembe 18 Ağustos 2005 10:11 tarihinde, Phil Thompson şunları yazmıştı:
> Although I planned to release the next versions of SIP, PyQt and
> QScintilla this week, I've just made changes to SIP and PyQt that need
> more testing. The changes are more intrusive than I would like at this
> stage, but they are necessary for proper support for the cyclic garbage
> collector.
>
> I would appreciate it if as many people as possible could test the current
> snapshots. I need to know about successful tests as well as unsuccessful
> ones - just drop me a private email that says "it works for me". I won't
> make the final releases until I'm sure it has had a reasonable amount of
> testing.
Hi,
I downloaded latest PyQt & sip snapshot ato test and my old PyKDE apps started
to crash even simple ones like :
===================================================================
cartman at pardus:~/PyWork/test3$ cat hwidget.py
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'hwidget.ui'
#
# Created: Çrş Ağu 10 10:13:52 2005
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
import sys
from qt import *
from kdecore import KCmdLineArgs, KApplication
from kdeui import *
class HWidget(QWidget):
def __init__(self,parent = None,name = None,fl = 0):
QWidget.__init__(self,parent,name,fl)
if not name:
self.setName("HWidget")
self.displayFrame = QFrame(self,"displayFrame")
self.displayFrame.setGeometry(QRect(40,30,421,301))
self.displayFrame.setFrameShape(QFrame.StyledPanel)
self.displayFrame.setFrameShadow(QFrame.Raised)
self.languageChange()
self.resize(QSize(492,376).expandedTo(self.minimumSizeHint()))
self.clearWState(Qt.WState_Polished)
def languageChange(self):
pass
cartman at pardus:~/PyWork/test3$ cat test3.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from qt import *
from hwidget import HWidget
import khtml
from kdecore import KApplication, KCmdLineArgs, KAboutData
class HtmlWidget(HWidget):
def __init__(self, parent=None, name="Html Widget", fl=0):
HWidget.__init__(self,parent,name,fl)
self.khtmlPart = khtml.KHTMLPart(self.displayFrame)
self.khtmlPart.begin()
self.khtmlPart.write("<b>Testing Baby!</b>")
self.khtmlPart.end()
self.khtmlPart.view().resize(420,300)
self.khtmlPart.show()
# Workaround PyKDE bug resulting in a crash at exit
def close(self, alsoDelete = 1):
return HWidget.close(self, 1)
if __name__ == "__main__":
import sys
app = KApplication (sys.argv, "test")
hw = HtmlWidget()
app.setMainWidget(hw)
hw.setCaption("Html Widget")
hw.show()
app.exec_loop()
===================================================================
So I downloaded latest PyKDE snapshot again and tried to compile but not it
doesn't even compile :
cartman at pardus:~/PyKDE-snapshot20050628$ make
make[1]: Entering directory `/home/cartman/PyKDE-snapshot20050628/dcop'
g++ -c -Wno-deprecated-declarations -pipe -fPIC -mcpu=i686 -O2 -pipe -Wall -W
-D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde340
-I/usr/kde/3.4/include -I/usr/include/python2.4 -I/usr/qt/3/include
-I/usr/X11R6/include -o sipdcoppart0.o sipdcoppart0.cpp
sip/dcop/dcopclient.sip: In function `PyObject*
convertFrom_QValueList_0200QCString(void*)':
sip/dcop/dcopclient.sip:201: error: invalid conversion from `int' to `
sipWrapper*'
make[1]: *** [sipdcoppart0.o] Error 1
make[1]: Leaving directory `/home/cartman/PyKDE-snapshot20050628/dcop'
make: *** [all] Error 2
System Specs :
cartman at pardus:~$ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/specs
Configured
with: /var/tmp/portage/gcc-3.3.5.20050130-r1/work/gcc-3.3.5/configure
--enable-version-specific-runtime-libs --prefix=/usr
--bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130/info
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3
--host=i686-pc-linux-gnu --disable-altivec --enable-nls
--without-included-gettext --with-system-zlib --disable-checking
--disable-werror --disable-libunwind-exceptions --disable-multilib
--enable-java-awt=gtk --enable-languages=c,c++,java --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.3.5-20050130 (Pardus Linux 3.3.5.20050130-r1,
ssp-3.3.5.20050130-1, pie-8.7.7.1)
cartman at pardus:~$ as -V
GNU assembler version 2.16.1 (i686-pc-linux-gnu) using BFD version 2.16.1
Regards,
ismail
--
Biggest lies ever told :
1. The check is in the mail
2. Don't worry, I won't come in your mouth
3. We're from the government and we're here to help
4. This patent is only for defense
More information about the PyQt
mailing list