Re: [PyKDE] Trying to use VendorId

2006-07-17 Thread Giovanni Bajo
Chris Dunscombe <[EMAIL PROTECTED]> wrote: > I am trying to make use of the VendorId program to create a signed > Python interpreter but am having some dificulties. > > First some background. > > 1. I have a PyQt based application, for Windows, that I wish to > distribute to users making use Vendo

Re: [PyKDE] Model indexes and internal pointers

2006-07-17 Thread David Boddie
On Tue Jul 18 00:23:47 MEST 2006, Phil Thompson wrote: > On Monday 17 July 2006 10:09 pm, Arve Knudsen wrote: > > On 7/17/06, Andreas Pakulat wrote: > > > On 17.07.06 22:00:41, Arve Knudsen wrote: > > > > Ok, I found the original thread. There is no explanation as to why no > > > > extra reference

Re: [PyKDE] Model indexes and internal pointers

2006-07-17 Thread Phil Thompson
On Monday 17 July 2006 10:09 pm, Arve Knudsen wrote: > On 7/17/06, Andreas Pakulat <[EMAIL PROTECTED]> wrote: > > On 17.07.06 22:00:41, Arve Knudsen wrote: > > > Ok, I found the original thread. There is no explanation as to why no > > > extra reference is kept however. > > > > I don't know too muc

Re: [PyKDE] Model indexes and internal pointers

2006-07-17 Thread Arve Knudsen
On 7/17/06, Andreas Pakulat <[EMAIL PROTECTED]> wrote: On 17.07.06 22:00:41, Arve Knudsen wrote: > Ok, I found the original thread. There is no explanation as to why no > extra reference is kept however. I don't know too much about python refcounting, but I think one problem could be what to do

Re: [PyKDE] Model indexes and internal pointers

2006-07-17 Thread Andreas Pakulat
On 17.07.06 22:00:41, Arve Knudsen wrote: > Ok, I found the original thread. There is no explanation as to why no > extra reference is kept however. I don't know too much about python refcounting, but I think one problem could be what to do if the model index disappears. Also decrease the referenc

Re: [PyKDE] PyQt 4.0.1 - howto ?

2006-07-17 Thread David Boddie
On Monday 17 July 2006 19:55, Kevin Cureton wrote: > Did you build Python has a framework for MacOSX? I ran into a similar > problem (PyQt3). Once I rebuilt Python as a framework, along with > rebuilding the various extensions, SIP, and PyQt, things worked fine. > > Here are the commands to build P

Re: [PyKDE] QScintilla snapshot not auto-indenting anymore

2006-07-17 Thread Andreas Pakulat
On 17.07.06 21:37:59, Andreas Pakulat wrote: > On 17.07.06 19:04:21, Detlev Offenbach wrote: > > PS: For those of you, who are willing to patch it themselves. In the Editor > > methods "bindLexer" and "readSettings" (Editor.py) make the lines dealing > > with autoindentation settings for Python r

Re: [PyKDE] Model indexes and internal pointers

2006-07-17 Thread Arve Knudsen
Ok, I found the original thread. There is no explanation as to why no extra reference is kept however. There might be a good reason for this behaviour, but it does represent a rather nasty pitfall. Arve On 7/17/06, Andreas Pakulat <[EMAIL PROTECTED]> wrote: On 16.07.06 12:34:34, Arve Knudsen wr

Re: [PyKDE] QScintilla snapshot not auto-indenting anymore

2006-07-17 Thread Andreas Pakulat
On 17.07.06 19:04:21, Detlev Offenbach wrote: > PS: For those of you, who are willing to patch it themselves. In the Editor > methods "bindLexer" and "readSettings" (Editor.py) make the lines dealing > with autoindentation settings for Python read Thanks, I would have asked for it else ;-) For

Re: [PyKDE] PyQt 4.0.1 - howto ?

2006-07-17 Thread Kevin Cureton
Did you build Python has a framework for MacOSX? I ran into a similar problem (PyQt3). Once I rebuilt Python as a framework, along with rebuilding the various extensions, SIP, and PyQt, things worked fine.Here are the commands to build Python as a framework from the source.    configure --enable-fr

Re: [PyKDE] Starting a PyQt application from a console daemon

2006-07-17 Thread Kevin Cureton
While I haven't used it myself, Qt4 has support for console applications.http://doc.trolltech.com/4.1/qcoreapplication.htmlThe list can comment on whether or not this is fully supported in PyQt.To clarify, you want to run a daemon of some sort. The daemon then, depending on what signals it gets, wi

Re: [PyKDE] Re: [eric3]api file generation

2006-07-17 Thread Andreas Pakulat
On 17.07.06 18:58:10, Detlev Offenbach wrote: > On Monday 17 July 2006 10:10, Andreas Pakulat wrote: > > @Detlev: If you read this, even though it might sound like I'm not > > complaining about eric3 having no proper code completion. I know code > > completion is not an easy thing to implement and

Re: [PyKDE] QScintilla snapshot not auto-indenting anymore

2006-07-17 Thread Detlev Offenbach
Hi, that will be fixed in the next release of eric3. Regards, Detlev PS: For those of you, who are willing to patch it themselves. In the Editor methods "bindLexer" and "readSettings" (Editor.py) make the lines dealing with autoindentation settings for Python read if Preferences.

Re: [PyKDE] Re: [eric3]api file generation

2006-07-17 Thread Detlev Offenbach
On Monday 17 July 2006 10:10, Andreas Pakulat wrote: > On 16.07.06 21:26:32, Timothy Reaves wrote: > > Andreas Pakulat wrote: > > >On 14.07.06 10:15:35, Timothy Reaves wrote: > > >> How are these files in general supposed to be created? I see the two > > >>scripts, one that generates for python a

[PyKDE] Trying to use VendorId

2006-07-17 Thread Chris Dunscombe
Hi, I am trying to make use of the VendorId program to create a signed Python interpreter but am having some dificulties. First some background. 1. I have a PyQt based application, for Windows, that I wish to distribute to users making use VendorId and a signed Python interpreter. Ideally I wi

Re: [PyKDE] PyQt 4.0.1 - howto ?

2006-07-17 Thread David Boddie
On Sun Jul 16 14:13:59 MEST 2006, Adrien Bourdet wrote: > In my previous post, I paste an example of code that crash python on > import of PyQt. > I also have the crash with examples from the tutorial : > > tiggrou at TiggrouPB:~/Documents/Prog/Download/PyQt-mac-gpl-4.0.1/ > examples/tutorial$

Re: [PyKDE] Model indexes and internal pointers

2006-07-17 Thread Andreas Pakulat
On 16.07.06 12:34:34, Arve Knudsen wrote: > Phil: Might it be an idea to make QModelIndex update the reference > count for its "internalPointer"? This is only a suggestion on my part, > as I'm in not an expert on Python/C++ interfacing. I just resolved > some mysterious segfaults in an application

Re: [PyKDE] Re: [eric3]api file generation

2006-07-17 Thread Andreas Pakulat
On 16.07.06 21:26:32, Timothy Reaves wrote: > Andreas Pakulat wrote: > >On 14.07.06 10:15:35, Timothy Reaves wrote: > >>How are these files in general supposed to be created? I see the two > >>scripts, one that generates for python and one for sip. But I can find no > >>information on a gen