Re: [PyQt] bug: QProcessEnvironment insert failing

2010-12-10 Thread Wolfgang Rohdewald
On Freitag 10 Dezember 2010, Scott Ballard wrote: The insert method of QProcessEnvironment overwrites the environment variable instead of inserting into it. according to the manual, this is correct. Inserts the environment variable of name name and contents value into this QProcessEnvironment

Re: [PyQt] Problem with QFileSystemWatcher

2010-12-10 Thread NARCISO, Rui
In fact I had already tried that syntax without any success. Further tests showed that in fact I am able to watch a file if it's in the same folder as my application, ie, if the path that I add to the watcher is just the name of the file with no other folder/levels. As soon as I try to watch a

Re: [PyQt] Problem with QFileSystemWatcher

2010-12-10 Thread Hans Meine
Am Freitag 10 Dezember 2010, 10:36:22 schrieb NARCISO, Rui: In fact I had already tried that syntax without any success. Further tests showed that in fact I am able to watch a file if it's in the same folder as my application, ie, if the path that I add to the watcher is just the name of the

Re: [PyQt] Problem with QFileSystemWatcher

2010-12-10 Thread NARCISO, Rui
When I use absolute paths (os.path.abspath) or real paths (os.path.realpath) or even relative paths (../../toto) it doesn't work. It only works when I use only the file name. I don't think permissions are the problem because I tried the with the same file in the current folder and then in the

[PyQt] Next Releases of SIP, PyQt and QScintilla

2010-12-10 Thread Phil Thompson
Development has now finished on the next releases of SIP, PyQt and QScintilla and the current snapshots should be considered as release candidates. The most significant changes are in the SIP parser so anybody creating their own bindings might want to check they don't get syntax errors. Phil

Re: [PyQt] Next Releases of SIP, PyQt and QScintilla

2010-12-10 Thread Tóth Csaba
Hey Phil, attached there is a patch what fixes a dependencie of pylupdate. I'm sure you can write it better, this was a quick fix. regards, tsabi 2010.12.10. 11:18 keltezéssel, Phil Thompson írta: Development has now finished on the next releases of SIP, PyQt and QScintilla and the

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

2010-12-10 Thread Baz Walter
On 10/12/10 07:57, Christopher Singley wrote: Sorry, I spoke too fast. The issue persists on my system: Python 2.7.1 (r271:86832, Dec 1 2010, 23:37:45) [GCC 4.4.5] on linux2 Type help, copyright, credits or license for more information. from PyQt4 import QtCore, QtGui QtCore.PYQT_VERSION_STR

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

2010-12-10 Thread Hans-Peter Jansen
On Friday 10 December 2010, 18:04:08 Baz Walter wrote: On 10/12/10 07:57, Christopher Singley wrote: Sorry, I spoke too fast. The issue persists on my system: Python 2.7.1 (r271:86832, Dec 1 2010, 23:37:45) [GCC 4.4.5] on linux2 Type help, copyright, credits or license for more

Re: [PyQt] Problem with QFileSystemWatcher

2010-12-10 Thread Baz Walter
On 10/12/10 10:08, NARCISO, Rui wrote: When I use absolute paths (os.path.abspath) or real paths (os.path.realpath) or even relative paths (../../toto) it doesn't work. It only works when I use only the file name. I don't think permissions are the problem because I tried the with the same

Re: [PyQt] Problem with QFileSystemWatcher

2010-12-10 Thread Hans-Peter Jansen
Dear Rui, On Friday 10 December 2010, 11:08:50 NARCISO, Rui wrote: When I use absolute paths (os.path.abspath) or real paths (os.path.realpath) or even relative paths (../../toto) it doesn't work. It only works when I use only the file name. Works fine here with absolute paths. Consequently,

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

2010-12-10 Thread Baz Walter
On 10/12/10 17:27, Hans-Peter Jansen wrote: On Friday 10 December 2010, 18:04:08 Baz Walter wrote: On 10/12/10 07:57, Christopher Singley wrote: Sorry, I spoke too fast. The issue persists on my system: Python 2.7.1 (r271:86832, Dec 1 2010, 23:37:45) [GCC 4.4.5] on linux2 Type help,

Re: [PyQt] bug: QProcessEnvironment insert failing

2010-12-10 Thread Scott Ballard
Thanks for the reply Wolfgang! I guess the verbiage is a little misleading then. Insert implies to add to whats existing. Perhaps QT needs to add a replace method as well. :) Easy enough to work around though. Cheers, -Scott On Fri, Dec 10, 2010 at 1:12 AM, Wolfgang Rohdewald

Re: [PyQt] Problem with QFileSystemWatcher

2010-12-10 Thread Baz Walter
On 10/12/10 18:10, Hans-Peter Jansen wrote: Dear Rui, On Friday 10 December 2010, 11:08:50 NARCISO, Rui wrote: When I use absolute paths (os.path.abspath) or real paths (os.path.realpath) or even relative paths (../../toto) it doesn't work. It only works when I use only the file name. Works

[PyQt] using HTML in a QLabel

2010-12-10 Thread James Polk
Greetings All,.. I used PyQt's Designer to create a .ui file... In this file, I created a simple QLabel, but I wanted/needed to change the font, size, and color. In Maya, there is a custom command (loadUI) that will automatically interpret and display the UI correctly. Separately, I used pyuic

Re: [PyQt] Problem with QFileSystemWatcher

2010-12-10 Thread Andreas Pakulat
On 10.12.10 19:10:36, Hans-Peter Jansen wrote: On Friday 10 December 2010, 11:08:50 NARCISO, Rui wrote: I don't think permissions are the problem because I tried the with the same file in the current folder and then in the parent folder and it works for the first and it doesn't for the

Re: [PyQt] using HTML in a QLabel

2010-12-10 Thread James Polk
...Whoops,...please disregard my question... I found the problem,...was a stupid typo on my part ;-) We now rejoin your regularly scheduled program in progress ___ PyQt mailing listPyQt@riverbankcomputing.com

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

2010-12-10 Thread Kovid Goyal
See http://bugs.gentoo.org/show_bug.cgi?id=317557 Kovid. On Thu, Dec 09, 2010 at 08:56:18PM -0600, Christopher Singley wrote: I'm using PyQt4 v4.7.3. Check this out: Python 2.7.1 (r271:86832, Dec 1 2010, 23:37:45) [GCC 4.4.5] on linux2 Type help, copyright, credits or license for more

[PyQt] Bug in sip.voidptr?

2010-12-10 Thread Nathan Weston
I think I've found a bug when constructing sip.voidptr from an integer. This statement: sip.voidptr(2**31) raises an exception: TypeError: a single integer, Capsule, CObject, None or another voidptr is required The problem appears to be at voidptr.c:568 ptr = (void *)PyInt_AsLong(arg)

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

2010-12-10 Thread Christopher Singley
Thanks Kovid. util-linux-2.17-r1 has already been phased out of the Portage tree; I don't suppose you happen to have a copy of the ebuild on hand? On Fri, Dec 10, 2010 at 2:27 PM, Kovid Goyal ko...@kovidgoyal.net wrote: See http://bugs.gentoo.org/show_bug.cgi?id=317557 Kovid. On Thu, Dec