[Paraview] macros and pyqt

pat marion pat.marion at kitware.com
Tue May 17 15:48:25 EDT 2011


I've published the patches on github now.  The branch is called
fix-multi-interp and the repo is git://github.com/patmarion/ParaView.git

    https://github.com/patmarion/ParaView/commits/fix-multi-interp

These commits fix the issues with using pyqt signal/slots in the paraview
python console, at least in my limited test cases.

Pat

On Tue, May 17, 2011 at 10:14 AM, pat marion <pat.marion at kitware.com> wrote:

> Hi Stephane,
>
> Have you seen this email before?
>
> http://paraview.markmail.org/message/6h767kpak5dcoqwt
>
> Are you using a paraview release or building from source?  If you're
> building from source I can send you a patch that will fix the multiple
> interpreter issue for pyqt.  With that patch, the workaround described in
> the above link is not needed.
>
> Pat
>
> 2011/5/17 Stephane PLOIX <stephane.ploix at edf.fr>
>
>>
>> Hi,
>>
>> Did anyone try to use pyqt in a macro (to get some input from the user)?
>> I can't make anything working with signal and slots, it seems to mess with
>> the python threads.
>> I can understand that it may not be possible to use non modal dialogs
>> because the paraview gui in single-threaded, but even modal dialogs freeze
>> if I use signals.
>>
>> Any hint or recommendation?
>>
>> Best,
>> Stephane
>>
>>
>>       *Stephane PLOIX**
>> Pilote Opérationnel - Visualisation scientifique*
>> EDF - R&D
>> SINETICS
>> 1, Av du Général de Gaulle
>> 92140 Clamart
>>
>> *stephane.ploix at edf.fr*
>> Tél. : +33 (0) 1 47 65 51 10   Un geste simple pour l'environnement,
>> n'imprimez ce message que si vous en avez l'utilité.
>>
>>
>>
>> Ce message et toutes les pièces jointes (ci-après le 'Message') sont
>> établis à l'intention exclusive des destinataires et les informations qui y
>> figurent sont strictement confidentielles. Toute utilisation de ce Message
>> non conforme à sa destination, toute diffusion ou toute publication totale
>> ou partielle, est interdite sauf autorisation expresse.
>>
>> Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de
>> le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou
>> partie. Si vous avez reçu ce Message par erreur, merci de le supprimer de
>> votre système, ainsi que toutes ses copies, et de n'en garder aucune trace
>> sur quelque support que ce soit. Nous vous remercions également d'en avertir
>> immédiatement l'expéditeur par retour du message.
>>
>> Il est impossible de garantir que les communications par messagerie
>> électronique arrivent en temps utile, sont sécurisées ou dénuées de toute
>> erreur ou virus.
>> ____________________________________________________
>>
>> This message and any attachments (the 'Message') are intended solely for
>> the addressees. The information contained in this Message is confidential.
>> Any use of information contained in this Message not in accord with its
>> purpose, any dissemination or disclosure, either whole or partial, is
>> prohibited except formal approval.
>>
>> If you are not the addressee, you may not copy, forward, disclose or use
>> any part of it. If you have received this message in error, please delete it
>> and all copies from your system and notify the sender immediately by return
>> message.
>>
>> E-mail communication cannot be guaranteed to be timely secure, error or
>> virus-free.
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110517/f50939fa/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1816 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110517/f50939fa/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1151 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110517/f50939fa/attachment-0001.gif>


More information about the ParaView mailing list