[PyKDE] Segmentation fault

2006-02-09 Thread Mikhail Yarmish
Hello guys, I'm using gentoo linux and there is a little trouble with ebuild for pykde so I decided to build it manually. I've builded the latest sip snapshot and the latest pykde snapshot. But when I'm trying to make importTest I get Segmentation fault at the beginning. I've tried to impor

Re: [PyKDE] What little detail am I missing?

2006-02-09 Thread Tina Isaksen
Sundance wrote: It comes with practice. Don't despair, and by all means, whenever you find yourself wondering how you could go about implementing something (command line file finder, automated mailed reminders, network prober... anything!), sit at your keyboard and do it. That's how you imp

Re: [PyKDE] Tina's question

2006-02-09 Thread Tina Isaksen
Hans-Peter Jansen wrote: Keep in mind, that you have to recapitulate several quantum leaps in software development technics, if approaching from some basic dialect knowledge 20 years ago.. Take your time. Yes, I know. But that's really why I threw myself into GUI stuff. I used to do Basic p

Re: [PyKDE] python types as arguments toPyQt4 signals

2006-02-09 Thread Andreas Pakulat
On 10.02.06 00:00:55, Mārtiņš Možeiko wrote: > I understood that he was ill not sick :) Even though its OT, what's the difference? My favorite online-translator translates both to the same. To be exact, IIRC he caught a flu from his child(ren?). Andreas -- You will reach the highest possible p

Re: [PyKDE] What little detail am I missing?

2006-02-09 Thread Sundance
I heard Tina Isaksen said: > Well, I have been doing that for quite a while actually and can > pretty much do what I want. And maybe that is the problem... I do > stuff 'the wrong way'... Hello Tina, I'd say there are two important things there: 1) Figuring out just what you're doing wrong; 2) F

Re: [PyKDE] What little detail am I missing?

2006-02-09 Thread Hans-Peter Jansen
Am Donnerstag, 9. Februar 2006 18:08 schrieb Andreas Pakulat: > On 09.02.06 17:47:28, Tina Isaksen wrote: > > > >>void enkelTest::click() > > >>{ > > >>innput=self.lineEdit1.text().toInt() > > >>return innput > > >>} > > > > > >You're mixing C++ and Python here, not good. > > > > This I took direct

Re: [PyKDE] Tina's question

2006-02-09 Thread Hans-Peter Jansen
Am Donnerstag, 9. Februar 2006 08:17 schrieb Tina Isaksen: > Thanks Jim and Tobias! > > Sorry about the missing topic in my original post... > > I still don't get the basics I think. I haven't really programmed > anything since BASIC some 20+ years ago so I'm a bit rusty. Keep in mind, that you ha

[PyKDE] Re: QEvent.User

2006-02-09 Thread Patrick Stinson
Also, QEvent() won't tak an integer as an argument, only a PyQt4.QtCore.QEvent.Type object, and you are supposed to be able to use a range between QEvent.User and QEvent.MaxUser. Python 2.4.2 (#1, Dec 13 2005, 10:02:01) [GCC 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)] on linux2 Type "help",

Re: [PyKDE] python types as arguments toPyQt4 signals

2006-02-09 Thread Mārtiņš Možeiko
I understood that he was ill not sick :) -- Martins Mozeiko Original Message From: Andreas Pakulat <[EMAIL PROTECTED]> To: pykde@mats.imk.fraunhofer.de Subject: Re:[PyKDE] python types as arguments toPyQt4 signals Date: 2/9/2006 23:52 On 09.02.06 12:01:08, Patrick Stinson wro

Re: [PyKDE] python types as arguments toPyQt4 signals

2006-02-09 Thread Andreas Pakulat
On 09.02.06 12:01:08, Patrick Stinson wrote: > What is the proper way of writing a signal argument list for python types? This is not possible atm. Phil wanted to think about it and "disappeared" shortly after announcing that. He'll hopefully be back next week, he was sick as you can read in the a

[PyKDE] QEvent.User

2006-02-09 Thread Patrick Stinson
I show QEvent.User as Shouldn't it be PyQt4.QtCore.QEvent.Type?-- Patrick Kidd Stinsonhttp://pkaudio.sourceforge.net/http://pksampler.sourceforge.net/ ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo

[PyKDE] python types as arguments toPyQt4 signals

2006-02-09 Thread Patrick Stinson
What is the proper way of writing a signal argument list for python types? Will it only work for basic types? What about types defined in c-extensions (I'm trying gst.Message). def on_emit(*arg):     print arg SIG = 'bleh(dict)' app = QApplication([]) QObject.connect(app, SIGNAL(SIG), on_emit) ap

[PyKDE] Re: confirm 705f76d127842c9de374c5e6de01f09c6ea15af6

2006-02-09 Thread wwp
Hello [EMAIL PROTECTED], On Thu, 09 Feb 2006 21:55:37 +0100 [EMAIL PROTECTED] wrote: > Mailing list removal confirmation notice for mailing list PyKDE > > We have received a request for the removal of your email address, > "[EMAIL PROTECTED]" from the pykde@mats.imk.fraunhofer.de mailing > list

Re: [PyKDE] QTimers on MacOSX?

2006-02-09 Thread Tobias Rundström
El 08-02-2006, a las 17:04, Tobias_Rundström escribió: To repond myself, Acutually it seems like QSocketNotifer doesn't work either. Anyone working with the MacOSX port that know what's going on? Or have hints on where I should look? It seems like pythonw starts some kind of thread madnes

Re: [PyKDE] "import khtml" causes weird problem

2006-02-09 Thread Jim Bublitz
On Thursday 09 February 2006 09:03, D Bera wrote: > Yeah! > [EMAIL PROTECTED] yabipy]$ python > Python 2.4.1 (#2, Aug 25 2005, 18:20:57) > [GCC 4.0.1 (4.0.1-2mdk for Mandriva Linux release 2006.0)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > > >>> from qt i

Re: [PyKDE] PyQt4: setPaletteBackgroundColor

2006-02-09 Thread Patrick Stinson
I new it! that worked for meOn 2/8/06, V. Armando Sole <[EMAIL PROTECTED]> wrote: Hi Gerard,At 20:08 08/02/2006 +0100, Gerard Vermeulen wrote:>Please, read my mail again.  You are trying to do something which you>cannot do without a cast in C++, because QWidget::palette() returns >'const QPalette&'

Re: [PyKDE] What little detail am I missing?

2006-02-09 Thread Andreas Pakulat
On 09.02.06 17:47:28, Tina Isaksen wrote: > Andreas Pakulat wrote: > >Did you check Python docs? Because your problem simply is a lack of > >understanding how python works. > > But big thanks for your explanation. I just had a big AHA! moment! :) That's good to hear. > >>void enkelTest::click()

Re: [PyKDE] "import khtml" causes weird problem

2006-02-09 Thread D Bera
> It could be a problem with KURL::List - there are two 'filePreview' > functions: > > namespace KIO > { >KIO::PreviewJob* filePreview (KURL::List, ...) >KIO::PreviewJob* filePreview (KFileList, ...) > } > > where KFileList is a mapped type of QPtrList. I haven't looked > at that (the secon

Re: [PyKDE] What little detail am I missing?

2006-02-09 Thread Tina Isaksen
Andreas Pakulat wrote: Did you check Python docs? Because your problem simply is a lack of understanding how python works. Thanks Andreas I have read the docs till my eyes went sore. But you are absolutly right, I'm lacking some basic understanding. But it's difficult to find anything for

Re: [PyKDE] What little detail am I missing?

2006-02-09 Thread Tina Isaksen
Doug Bell wrote: Tina, I think you're taking on too many new things at the same time. I'd recommend putting aside the graphical interface for a while. Start by experimenting with terminal-based, pure Python programs. The tutorial on the Python website is a good place to start. Once you're co

Re: [PyKDE] Re: new snapshots of sip4 and pyqt4 ?

2006-02-09 Thread V. Armando Sole
Hi! At 12:35 09/02/2006 +, [EMAIL PROTECTED] wrote: Hello Andreas, ok. i ask because i have problems with this snapshots to compile on windows with py23 or py24 and would not report problems with old snapshots. marc I remember just one problem to compile PyQt with Visual Studio .NET 2003

Re: [PyKDE] What little detail am I missing?

2006-02-09 Thread Andreas Pakulat
On 09.02.06 14:40:55, Tina Isaksen wrote: > Ok, an even simpler thing: Take the innput and print it in a terminal. And I > can't even do that so I must be missing something so basic that it's probably > redicilous. I have read examples, webpages etc and I just don't get it!!! :( Did you check Py

Re: [PyKDE] What little detail am I missing?

2006-02-09 Thread Doug Bell
Tina Isaksen wrote: > Ok, an even simpler thing: Take the innput and print it in a terminal. > And I can't even do that so I must be missing something so basic that > it's probably redicilous. I have read examples, webpages etc and I just > don't get it!!! :( Tina, I think you're taking on too

[PyKDE] What little detail am I missing?

2006-02-09 Thread Tina Isaksen
Ok, an even simpler thing: Take the innput and print it in a terminal. And I can't even do that so I must be missing something so basic that it's probably redicilous. I have read examples, webpages etc and I just don't get it!!! :( My program named "enkeltestMain" from qt import * from enkel

Re: [PyKDE] Re: new snapshots of sip4 and pyqt4 ?

2006-02-09 Thread Andreas Pakulat
On 09.02.06 12:35:32, [EMAIL PROTECTED] wrote: > Hello Andreas, > ok. i ask because i have problems with this snapshots to compile on windows > with py23 or py24 and would not report problems with old snapshots. IIRC PyQt4 on windows is still in the testing phase, so 1) report bugs if you use

[PyKDE] build failure of SIP 4.3 on Mandrake 2006.0 qt 3.4.4 build failure

2006-02-09 Thread martin . bartlett
configure step fails because in this distribution the edition cannot be found in /usr/lib/qt3/include/qconfig.h but in /usr/lib/qt3/include/multiarch-i386-linux/qconfig.h. As a work around, backup the expected file, copy the real file to the expected file location, configure and build, then rei

[PyKDE] Re: new snapshots of sip4 and pyqt4 ?

2006-02-09 Thread m . gehling
Hello Andreas, ok. i ask because i have problems with this snapshots to compile on windows with py23 or py24 and would not report problems with old snapshots. marc Andreas Pakulat schrieb: On 09.02.06 11:36:42, [EMAIL PROTECTED] wrote: Hello, the last snapshot is 10 days old. Is the url

Re: [PyKDE] new snapshots of sip4 and pyqt4 ?

2006-02-09 Thread Andreas Pakulat
On 09.02.06 11:36:42, [EMAIL PROTECTED] wrote: > Hello, > the last snapshot is 10 days old. Is the url So what? The software is perfect, no new snapshot needed ;-) Try to read the last couple of mails on the list and you'll discover that Phil wasn't able to pull out any new snapshots. Andreas

[PyKDE] new snapshots of sip4 and pyqt4 ?

2006-02-09 Thread m . gehling
Hello, the last snapshot is 10 days old. Is the url http://www.riverbankcomputing.com/Downloads/Snapshots correct ? marc ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Re: [PyKDE] "import khtml" causes weird problem

2006-02-09 Thread Jim Bublitz
On Wednesday 08 February 2006 17:44, D Bera wrote: > Hi > Have a look at this simple script below trying out kio.filepreview. > > If I dont include "import khtml" at (1), slot_preview prints > > > > If I include "import khtml" at (1), slot_preview prints > > NotImplemented > > (I found this in a