<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi, Pat.<br>
<br>
You're right. When the print comes from inside a programmable
filter, the output goes to the Output Messages, and when I print
from the macro, the output goes to the Python Shell.<br>
<br>
I had thought that, within a programmable filter,<br>
<br>
print "something"<br>
<br>
was going to the Output Messages, and <br>
<br>
print "something", mylist<br>
<br>
was going to the Python Shell, but I am not able to reproduce this.<br>
<br>
Thanks for solving the mystery!<br>
<br>
Greg<br>
<br>
On 10/06/2011 10:33 AM, pat marion wrote:
<blockquote
cite="mid:CAMetC=Qi6Ajxk2REcYG2vwUkEaTAp+94M1mVdUkzgbrOmNKUVQ@mail.gmail.com"
type="cite">Hi Greg,<br>
<br>
I may be out of touch with some recent paraview developments, but
I have never seen this behavior before, it sounds like a bug to
me. Output from code that is executed in the python console,
which includes python macros, should always be routed to the
python console, not paraview's output window. Perhaps you are
printing from inside a python programmable filter?<br>
<br>
Pat<br>
<br>
<br>
<div class="gmail_quote">2011/10/6 Greg Schussman <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:schussman@slac.stanford.edu">schussman@slac.stanford.edu</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
Hi, Pierre.<br>
<br>
Thanks for responding, especially considering your workload.<br>
<br>
Best of luck on your mission.<br>
<br>
I'll keep looking at this, and will post if I find something
or figure something out.<br>
<font color="#888888">
<br>
Greg</font>
<div class="im"><br>
<br>
On 10/06/2011 01:28 AM, Pierre Chevalier Géologue wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
Hello,<br>
<br>
Sorry for the delay: too much work!<br>
<br>
Le 05/10/2011 00:46, Greg Schussman claviota:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
Would you have any idea how to set the focus from
python?<br>
</blockquote>
Hm, not really. I'll see if I can figure it out, I'll
keep you<br>
informed. Not in the coming days, I'm afraid, I'm just
about to leave<br>
for a mission in Africa.<br>
<br>
À+<br>
Pierre<br>
<br>
</blockquote>
<br>
</div>
<div>
<div class="h5">
_______________________________________________<br>
Powered by <a moz-do-not-send="true"
href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a
moz-do-not-send="true"
href="http://www.kitware.com/opensource/opensource.html"
target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki
at: <a moz-do-not-send="true"
href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a moz-do-not-send="true"
href="http://www.paraview.org/mailman/listinfo/paraview"
target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</blockquote>
<br>
</body>
</html>