heh, this thread is kinda all over the place, but if anyone is
following it is interested in the pi-files for Maya API I mentioned, I
posted them over here:

http://groups.google.com/group/python_inside_maya/browse_thread/thread/8f0923d15747aa8e

-Andrew

On Nov 4, 1:05 am, Sebastian Thiel <[EMAIL PROTECTED]> wrote:
> chadrik wrote:we got eclipse/pydev remote debugging working with maya, but 
> after using it we end up with the partially dead maya window that always 
> seems to crop up when diverting the main thread in maya.  here's a 
> description written by my co-worker:
>
> "When the process has terminated, the main window loses its interactivity; 
> you can create a sphere through the script editor, select it with your mouse 
> and manipulate it with editor commands, but the main window is dead from the 
> neck down - no hotkeys, no spacebar-menu call, etc. We see this same behavior 
> when we launch PyQt4 or wx UIs. With pyQt we've loaded the pumpthread.py 
> file, but are still seeing the same behavior once the process has completed. 
> After the main qt UI has successfully completed, the qt ui closes and Maya is 
> in the same limbo as described in the above paragraph. We have some secondary 
> functionality, but the main window is unreachable by the user."
>
>
>
> this same threading problem is killing many great possibilities.  pyQt 
> windows, iPython console, and remote debugging, are all crippled by it.  it 
> seems worse on osx than other platforms.  does anyone have any more insight 
> into this?  
>
>
>
>
>
> on a different note, how is the svn integration in Wing?  i'm growing pretty 
> frustrated with svn integration in eclipse, but i'm not sure if the problems 
> are due to svn itself or the subversive/subclipse plugins.
>
>
>
>
>
> -chad
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On Nov 3, 2008, at 2:14 AM, Olivier Renouard wrote:Should look like this, an 
> icon on the debug perspective 
> :http://www.fabioz.com/pydev/manual_adv_remote_debugger.html
> But you need PyDev + PyDev extensions installed in eclipse (it's specific to 
> the extensions, not in base PyDev I think)
> Olivier
> Sylvain Berger wrote:I can't set it up today, on monday next week i will set 
> it up at work and provided feedback on how it went.2008/10/31 Ofer 
> Koren<[EMAIL PROTECTED]>
>
> okay then now translate! :)
>
> One thing though - I couldn't find this PyDev Debug Server in Eclipse - am I 
> using an old version? how do I install this? 
>
>
>
> Thanks, 
>
>
>
> Ofer 
>
>
>
> From:[EMAIL PROTECTED]:[EMAIL PROTECTED] Behalf OfSylvain BergerSent:Friday, 
> October 31, 2008 12:05 PMTo:[email protected]
>
> Subject:[Maya-Python Club:1285] Re: Syntax Highlighting in Wing IDE
>
>  
>
>
>
> sweet!  yes I do speak french, so the explanation provided is perfect for me.
> Thanks
>
> On Fri, Oct 31, 2008 at 10:31 AM, Olivier Renouard <[EMAIL PROTECTED]> wrote:
>
> Hi Sylvain,
> If you read French you can use this explanation I made for a coworker. If not 
> I'll try to make an english verison when I get the chance :
>
> On peut egalement attacher une session de debug a un processus deja lance. 
> Donc entrer en debug sur un Maya ouvert sans avoir besoin de le relancer, 
> ceci a l'aide du serveur de debug (remote debug server). L'utilisation en est 
> detaillee dans la doc de 
> PyDev :http://www.fabioz.com/pydev/manual_adv_remote_debugger.html
>
> Menu:
>
> Window/Open Perspective/Debug/PyDev/Start Debug Server
>
> Rapidement le principe est :D'abord lancer depuis l'interface de debug de 
> PyDev le serveur qui va "ecouter" sur un port precis.Ensuite dans maya, 
> lancer la commande Python qui va etablir la communication avec le "remote 
> debug server" :import pydevdsettrace(stdoutToServer=True, 
> stderrToServer=True, port=5678)     
>
> A voir dans le module Python sys et en particulier sys.stdin, sys.stdout, 
> sys.stderr sur comment il est possible de rediriger les entrees et sortie 
> d'un processus. Maya a son lancement en mode interractif source 
> "maya.app.gui" depuis le package maya et assigne leurs valeurs ainsi :# 
> Replace sys.stdin with a GUI version that will request input from the 
> usersys.stdin = maya.app.baseUI.StandardInput()# Replace sys.stdout and 
> sys.stderr with versions that can output to Maya's# GUIsys.stdout = 
> maya.utils.Output()sys.stderr = maya.utils.Output( error=1 )     
>
> Autant on recupere bien les sorties stdout et stderr de Maya dans la console 
> de l'interface de debug de PyDev, autant je n'ai pas trouve comment rediriger 
> une entree vers la zone de saisie du script editor Maya. Si quelqu'un le sait 
> info bienvenue.
>
> <mime-attachment.jpeg>
>
> <mime-attachment.png>...
>
> read more »
--~--~---------~--~----~------------~-------~--~----~
Yours,
Maya-Python Club Team.
-~----------~----~----~----~------~----~------~--~---

Reply via email to