[PyKDE] PyQt dbus doesn't work with HAL

2007-01-10 Thread Kovid Goyal
. -- _ Kovid Goyal MC 452-48 California Institute of Technology 1200 E California Blvd Pasadena, CA 91125 home : +01 626 390 8699 office: +01 626 395 6595 (449 Lauritsen) email : [EMAIL PROTECTED] web : http://www.kovidgoyal.net

Re: [PyKDE] PyQt dbus doesn't work with HAL

2007-01-11 Thread Kovid Goyal
Nice catch. It works if I create the QApplication before the mainloop. There are also no warnings from QSocketNotifier. Thanks, Kovid. On Thursday 11 January 2007 01:01, Phil Thompson wrote: On Thursday 11 January 2007 4:28 am, Kovid Goyal wrote: Hi, I've been testing dbus.mainloop.qt

[PyKDE] (no subject)

2007-01-30 Thread Kovid Goyal
numbers when called via the command line client. Using kde 3.5.6. Other method calls on ktorrent work as shown by the call to maxUploadRate. Thanks, Kovid. _ Kovid Goyal MC 452-48 California Institute of Technology 1200 E California Blvd Pasadena, CA 91125

Re: [PyKDE] DCOP memory leak

2007-01-31 Thread Kovid Goyal
___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde !DSPAM:2,45c0fac944256935130580! -- _ Kovid Goyal MC 452-48 California Institute of Technology 1200 E California Blvd Pasadena, CA 91125 home

[PyKDE] mysterious dcopext bug

2007-02-02 Thread Kovid Goyal
the commandline client it produces a list of torrent numbers as expected. Using kde 3.5.6. Other method calls on ktorrent work as shown by the call to maxUploadRate. Thanks, Kovid. -- _ Kovid Goyal MC 452-48 California Institute of Technology 1200 E

Re: [PyKDE] mysterious dcopext bug

2007-02-03 Thread Kovid Goyal
', 'getTorrentNumbers(int)', b) s = QDataStream(arr, IO_ReadOnly) print dcop_next(s, rtype) gives None. I've verified that there are bytes in arr by read rawbytes from s. Thanks, Kovid On Friday 02 February 2007 10:42:52 Kovid Goyal wrote: Hi, Calling a particular method using dcopext yields

Re: [PyQt] OSX and threads

2007-06-09 Thread Kovid Goyal
. On Saturday 09 June 2007 16:11:57 Phil Thompson wrote: On Saturday 09 June 2007 11:35 pm, Kovid Goyal wrote: Hi, The following test code gives me an error on OSX but not on either windows or linux: from PyQt4.Qt import * import sys class test(QObject): def __init__(self, window

Re: [PyQt] OSX and threads

2007-06-10 Thread Kovid Goyal
didn't have to recompile everything more than once. Thanks, Kovid. On Sunday 10 June 2007 08:18:41 Phil Thompson wrote: On Sunday 10 June 2007 3:55 pm, Kovid Goyal wrote: So I cannot create a Universal binary for distribution of my PyQt based app? That's something of a blow. Is there an estimate

Re: [PyQt] OSX and threads

2007-06-11 Thread Kovid Goyal
It was indeed the static build. Thanks. Kovid. On Sunday 10 June 2007 09:38:53 Phil Thompson wrote: On Sunday 10 June 2007 5:17 pm, Kovid Goyal wrote: Hmm then it must be something else in my environment. I'm now with fewer non-default flags, unfortunately I only have an old and slow G3

Re: [PyQt] PyQT Universal Binary - MAC Intel PPC

2007-06-13 Thread Kovid Goyal
/mailman/listinfo/pyqt !DSPAM:2,46700db7187168330580563! -- _ Kovid Goyal MC 452-48 California Institute of Technology 1200 E California Blvd Pasadena, CA 91125 home : +01 626 390 8699 office: +01 626 395 6595 (449 Lauritsen) email : [EMAIL PROTECTED] web

Re: [PyQt] pyuic vs. uic.loadUi()?

2007-06-15 Thread Kovid Goyal
? Thanks Dirk ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt !DSPAM:2,4672b21b235121694714482! -- _ Kovid Goyal MC 452-48 California

Re: [PyQt] pyuic vs. uic.loadUi()?

2007-06-15 Thread Kovid Goyal
but the simplest of applications, eggs don't work for cross platform development. They do however work very well if your sticking to linux. Kovid. On Friday 15 June 2007 10:00:49 Andreas Pakulat wrote: On 15.06.07 09:35:34, Kovid Goyal wrote: Just write a Makefile to help you during development

Re: [PyQt] pyuic4 doesn't handle qlistwidgets

2008-05-24 Thread Kovid Goyal
. On Saturday 24 May 2008 12:42:18 Andreas Pakulat wrote: On 24.05.08 10:54:32, Kovid Goyal wrote: Hi Phil, Another pyuic4 (Python User Interface Compiler 4.4.2 for Qt version 4.4.0) bug. It generates invalid .py files from .ui files that contain qlistwidgets with icons. See attached

Re: [PyQt] pyuic4 doesn't handle qlistwidgets

2008-06-02 Thread Kovid Goyal
sample, for example just having a single QListWidget with just one item in it that has a pixmap set. Andreas -- _ Kovid Goyal MC 452-48 California Institute of Technology 1200 E California Blvd Pasadena, CA 91125 cell : +01 626 390 8699 office: +01 626

[PyQt] another pyuic icon bug

2008-06-17 Thread Kovid Goyal
to go through testing 100s of old ui files. Here's some linux code demonstrating the bug grep -c svg user_profile.ui gives 9 matches pyuic4 user_profile.ui | grep svg gives 1 match Kovid. -- _ Kovid Goyal MC 452-48 California Institute of Technology 1200 E

Re: [PyQt] another pyuic icon bug

2008-06-24 Thread Kovid Goyal
Thanks, fixed. Kovid. On Monday 23 June 2008 04:17:54 Phil Thompson wrote: On Mon, 16 Jun 2008 23:52:31 -0700, Kovid Goyal [EMAIL PROTECTED] wrote: Attached is a ui file that sets different icons for various push buttons. However, with pyuic4 (Python User Interface Compiler 4.4.3

Re: [PyQt] Advice for building PyQt4 (Qt 4.4) on Windows XP

2008-07-17 Thread Kovid Goyal
his/her experiences. Best regards, Maik ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt !DSPAM:3,487df93733962860433998! -- _ Kovid Goyal MC 452-48

Re: [PyQt] Wrap C++ QWidget Subclass for use in PyQt4

2008-07-29 Thread Kovid Goyal
the pictureflow widget, I would be immensely grateful. Tyler Distad Both files I have attached are modified versions of Kovid's from the Calibre source. !DSPAM:3,488f30a033969229514251! -- _ Kovid Goyal MC 452-48 California Institute of Technology 1200

Re: [PyQt] display a widget in a QTableView

2008-10-16 Thread Kovid Goyal
://www.riverbankcomputing.com/mailman/listinfo/pyqt !DSPAM:3,48f771b131535171880063! -- _ Kovid Goyal MC 452-48 California Institute of Technology 1200 E California Blvd Pasadena, CA 91125 cell : +01 626 390 8699 office: +01 626 395 6595 (449 Lauritsen) email : [EMAIL

Re: [PyQt] i18n

2009-02-11 Thread Kovid Goyal
to a Qt i18n stuff? Thanks, -- Frédéric ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt !DSPAM:3,4992e80175721139086412! -- _ Kovid Goyal MC

Re: [PyQt] i18n

2009-02-11 Thread Kovid Goyal
script. -- Kovid Goyal www.kovidgoyal.net ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] i18n

2009-02-11 Thread Kovid Goyal
On Wednesday 11 February 2009 17:41:46 Doug Bell wrote: Kovid Goyal wrote: On Wednesday 11 February 2009 12:06:13 Doug Bell wrote: I like that idea in general, but how do you deal with translations of strings that are internal to Qt (in file dialogs, etc.)? Qt provides .mo files

Re: [PyQt] Any Large PyQt Projects?

2009-02-19 Thread Kovid Goyal
http://www.riverbankcomputing.com/mailman/listinfo/pyqt !DSPAM:3,499ddeb575724022331274! -- _ Kovid Goyal http://www.kovidgoyal.net http://calibre.kovidgoyal.net _ pgp2jCp988cFP.pgp Description: PGP signature

Re: [PyQt] Next Releases

2009-05-26 Thread Kovid Goyal
! -- _ Dr. Kovid Goyal http://www.kovidgoyal.net http://calibre.kovidgoyal.net _ ?xml version=1.0 encoding=UTF-8? ui version=4.0 classWizardPage/class widget class=QWizardPage name=WizardPage property name=geometry rect

Re: [PyQt] Is this possible using pyqt?

2009-09-08 Thread Kovid Goyal
! -- _ Dr. Kovid Goyal http://www.kovidgoyal.net http://calibre.kovidgoyal.net _ pgpYNcxelkkHU.pgp Description: PGP signature ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com

[PyQt] Segfault in PyQt 4.6.1

2009-10-29 Thread Kovid Goyal
not happen, so I cannot get a stack trace. This is on Linux giskard 2.6.31-gentoo-r4 #1 SMP Tue Oct 27 16:11:20 MDT 2009 x86_64 Intel(R) Core(TM) i7 CPU 940 @ 2.93GHz GenuineIntel GNU/Linux Kovid. -- _ Dr. Kovid Goyal http://www.kovidgoyal.net http

Re: [PyQt] Segfault in PyQt 4.6.1

2009-10-29 Thread Kovid Goyal
29, 2009 at 11:22:35AM -0600, Kovid Goyal wrote: There appears to be a segfault when constructing the QWebPage object in PyQt 4.6.1 (regression for 4.5.x) Here's a one liner to reproduce it python2.6 -c from PyQt4.Qt import QApplication; QApplication([]); from PyQt4.QtWebKit import QWebPage

Re: [PyQt] PyQt4.QtGui + uuid.uuid4() = segfault

2010-12-10 Thread Kovid Goyal
/pyqt !DSPAM:3,4d0196e713992074819977! -- _ Dr. Kovid Goyal http://www.kovidgoyal.net http://calibre-ebook.com _ pgpOHKosaQlVs.pgp Description: PGP signature ___ PyQt

Re: [PyQt] Hunting down memory leaks

2010-12-14 Thread Kovid Goyal
/listinfo/pyqt !DSPAM:3,4d05fa8d1399204440! -- _ Dr. Kovid Goyal http://www.kovidgoyal.net http://calibre-ebook.com _ pgp8gpNVg485Y.pgp Description: PGP signature

Re: [PyQt] Segfault: QGraphicsView, cyclic references, and threads

2011-03-28 Thread Kovid Goyal
/mailman/listinfo/pyqt !DSPAM:3,4d8ff2b960459713818798! -- _ Dr. Kovid Goyal http://www.kovidgoyal.net http://calibre-ebook.com _ pgpDWxuY7GBnP.pgp Description: PGP signature

Re: [PyQt] subtle bug in PyQt in combination with Python garbage collector

2011-08-13 Thread Kovid Goyal
/sysv/linux/i386/clone.S:130 ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt !DSPAM:3,4e465c069887238618555! -- _ Dr. Kovid Goyal http

Re: [PyQt] Bug in QWebKit?...

2012-01-13 Thread Kovid Goyal
by the two APIs are the same. Kovid. -- _ Dr. Kovid Goyal http://www.kovidgoyal.net http://calibre-ebook.com _ signature.asc Description: Digital signature ___ PyQt mailing list

Re: [PyQt] Bug in QWebKit?...

2012-01-13 Thread Kovid Goyal
disconnects between the javascript API and the C++ API a lot in Qt WebKit, make of that claim whatever you want. Kovid. -- _ Dr. Kovid Goyal http://www.kovidgoyal.net http://calibre-ebook.com _ signature.asc Description: Digital

[PyQt] Help understanding a backtrace

2012-01-19 Thread Kovid Goyal
. Thanks, Kovid. -- _ Dr. Kovid Goyal http://www.kovidgoyal.net http://calibre-ebook.com _ signature.asc Description: Digital signature ___ PyQt mailing listPyQt

Re: [PyQt] Help understanding a backtrace

2012-01-19 Thread Kovid Goyal
was involved in making that change :) However, I cannot always control what version of PyQt calibre runs on and rather than having two different behaviors based on PyQt version, I left in the old workaround, since it doesn't do any harm. Kovid. -- _ Dr. Kovid Goyal

Re: [PyQt] Help understanding a backtrace

2012-01-19 Thread Kovid Goyal
://www.riverbankcomputing.com/hg/sip/rev/da88157d2f03 Phil I'll do that, thanks. I won't know if the problem is fixed by it or not, for a while, since the crashes are rather rare, but, I'll run with it for a week or so and report back. Kovid. -- _ Dr. Kovid Goyal

Re: [PyQt] Help understanding a backtrace

2012-01-26 Thread Kovid Goyal
in response to a click event, so the garbage collector doesn't seem to be involved. Thanks, Kovid. -- _ Dr. Kovid Goyal http://www.kovidgoyal.net http://calibre-ebook.com

Re: [PyQt] Help understanding a backtrace

2012-01-27 Thread Kovid Goyal
On Fri, Jan 27, 2012 at 10:18:13AM +, Phil Thompson wrote: On Fri, 27 Jan 2012 10:21:29 +0530, Kovid Goyal ko...@kovidgoyal.net wrote: Just got another crash, this time the backtrace had no itertools call. I've attached the full backtrace for both crashes to this mail. How would you

Re: [PyQt] Help understanding a backtrace

2012-01-27 Thread Kovid Goyal
’ undeclared (first use in this function) Kovid. -- _ Dr. Kovid Goyal http://www.kovidgoyal.net http://calibre-ebook.com _ signature.asc Description: Digital signature ___ PyQt

Re: [PyQt] Help understanding a backtrace

2012-01-28 Thread Kovid Goyal
to branch default 122 files updated, 0 files merged, 0 files removed, 0 files unresolved Do you mean against the current release tarball? Kovid. On Sat, Jan 28, 2012 at 10:36:45AM +, Phil Thompson wrote: On Sat, 28 Jan 2012 13:07:42 +0530, Kovid Goyal ko...@kovidgoyal.net wrote: On Thu

Re: [PyQt] Help understanding a backtrace

2012-01-29 Thread Kovid Goyal
. -- _ Dr. Kovid Goyal http://www.kovidgoyal.net http://calibre-ebook.com _ signature.asc Description: Digital signature ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman

Re: [PyQt] Help understanding a backtrace

2012-01-30 Thread Kovid Goyal
. -- _ Dr. Kovid Goyal http://www.kovidgoyal.net http://calibre-ebook.com _ [New LWP 13034] [New LWP 13040] [New LWP 13039] [Thread debugging using libthread_db enabled] Using host libthread_db library /lib64/libthread_db.so.1. Core

Re: [PyQt] Help understanding a backtrace

2012-01-30 Thread Kovid Goyal
://bazaar.launchpad.net/~kovid/calibre/trunk/view/head:/src/calibre/gui2/main_window.py#L90 Let me know if there's anything else I can do. Kovid. On Sun, Jan 29, 2012 at 10:14:48PM +, Phil Thompson wrote: On Sun, 29 Jan 2012 22:20:26 +0530, Kovid Goyal ko...@kovidgoyal.net wrote: Got another

Re: [PyQt] Help understanding a backtrace

2012-01-30 Thread Kovid Goyal
crashes, sooner otherwise. Kovid. -- _ Dr. Kovid Goyal http://www.kovidgoyal.net http://calibre-ebook.com _ signature.asc Description: Digital signature ___ PyQt mailing list

Re: [PyQt] Help understanding a backtrace

2012-02-06 Thread Kovid Goyal
. Thanks, Kovid. -- _ Dr. Kovid Goyal http://www.kovidgoyal.net http://calibre-ebook.com _ signature.asc Description: Digital signature ___ PyQt mailing listPyQt

Re: [PyQt] multiprocessing with QApplication

2012-06-11 Thread Kovid Goyal
! ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt !DSPAM:3,4fd6128d18074722032819! -- _ Dr. Kovid Goyal http://www.kovidgoyal.net http://calibre-ebook.com

Re: [PyQt] multiprocessing with QApplication

2012-06-13 Thread Kovid Goyal
objects cannot be unpickled, at least in python 2.7, see: http://bugs.python.org/issue4892 Kovid. -- _ Dr. Kovid Goyal http://www.kovidgoyal.net http://calibre-ebook.com _ signature.asc Description: Digital signature

Re: [PyQt] ANN: PyQt v4.9.2 and SIP v4.13.3 Released

2012-06-23 Thread Kovid Goyal
___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt !DSPAM:3,4fe32df918078536719295! -- _ Dr. Kovid Goyal http://www.kovidgoyal.net http://calibre-ebook.com

Re: [PyQt] ANN: PyQt v4.9.2 and SIP v4.13.3 Released

2012-06-23 Thread Kovid Goyal
On Sat, Jun 23, 2012 at 10:26:08PM +0100, Phil Thompson wrote: On Sat, 23 Jun 2012 21:53:48 +0530, Kovid Goyal ko...@kovidgoyal.net wrote: On Sat, Jun 23, 2012 at 01:36:42PM +0100, Phil Thompson wrote: Hmm, hardly anything has changed in PyQt4. Can you try using the... qpy/QtCore

Re: [PyQt] ANN: PyQt v4.9.2 and SIP v4.13.3 Released

2012-06-23 Thread Kovid Goyal
2012 21:53:48 +0530, Kovid Goyal ko...@kovidgoyal.net wrote: On Sat, Jun 23, 2012 at 01:36:42PM +0100, Phil Thompson wrote: Hmm, hardly anything has changed in PyQt4. Can you try using the... qpy/QtCore/qpycore_pyqtproxy.cpp ...from 4.9.1 in 4.9.2? Still hangs. I'm struggling

Re: [PyQt] ANN: PyQt v4.9.2 and SIP v4.13.3 Released

2012-06-24 Thread Kovid Goyal
On Sun, Jun 24, 2012 at 12:29:06PM +0100, Phil Thompson wrote: As it's a regression I'll do a brown paper bag release of 4.9.3. Thanks, appreciate it. Kovid. -- _ Dr. Kovid Goyal http://www.kovidgoyal.net http://calibre-ebook.com

[PyQt] Small bug in checkPointer in SIP

2012-07-29 Thread Kovid Goyal
*)sw); which should have a lower case %s and you probably want something like PyEval_GetFuncName((PyObject *)sw) or PyObject_Repr((PyObject *)sw). In the latter case, you'd have to check for a NULL return. Kovid. -- _ Dr. Kovid Goyal http

Re: [PyQt] Help tracking down intermittent segfault using QGraphicsItem

2013-01-05 Thread Kovid Goyal
___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt !DSPAM:3,50e86d3047621890519808! -- _ Dr. Kovid Goyal http://www.kovidgoyal.net http://calibre-ebook.com

Re: [PyQt] Help tracking down intermittent segfault using QGraphicsItem

2013-01-06 Thread Kovid Goyal
! -- _ Dr. Kovid Goyal http://www.kovidgoyal.net http://calibre-ebook.com _ signature.asc Description: Digital signature ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman

Re: [PyQt] headless browsing via PyQT4

2013-02-16 Thread Kovid Goyal
___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt !DSPAM:3,512023f0281101428382049! -- _ Dr. Kovid Goyal http://www.kovidgoyal.net http://calibre-ebook.com