[Paraview] ANN: ParaView 4.0.0-RC1 now available for download
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Thu May 23 10:03:57 EDT 2013
Oops, sorry, I should I read the email properly. Any reason why you're
closing the stdout stream? ParaView captures the streams and replaces
them with custom ones.
Utkarsh
On Thu, May 23, 2013 at 9:08 AM, Utkarsh Ayachit
<utkarsh.ayachit at kitware.com> wrote:
> Can you share your python script of the section that's failing please?
>
> Utkarsh
>
> On Thu, May 23, 2013 at 6:06 AM, Gena Bug <archaerolog at mail.ru> wrote:
>> On Wed May 22 2013 21:56:04 Utkarsh Ayachit wrote:
>>> Folks,
>> Hi!
>>
>> My old python-scripts that works fine with 3.98.1 are now complains about
>> printing to file-object. May be I do it wrong? This simple script:
>>
>> import sys
>> out = sys.stdout
>> if len(sys.argv) > 1:
>> out = open('foo.txt', 'w')
>> out.write('foo\n')
>> out.close()
>> sys.exit()
>>
>> works with 3.98.1 (and previous) but not with 4.0.0rc1:
>> $ ~/ParaView-4.0.0-RC1-Linux-64bit/bin/pvpython foo.py
>> foo
>> Traceback (most recent call last):
>> File "foo.py", line 6, in <module>
>> out.close()
>> AttributeError: 'vtkPythonStdStreamCaptureHelper' object has no attribute
>> 'close'
>>
>> Can you explain me how to get rid of this error? Thanks in advance!
>>
>> P.S. Debian testing amd64, paraview 4.0.0rc1 downloaded from the site as binary
>> for linux 64bit platform
>>
>>> In preparation of the next ParaView release, the ParaView 4.0.0, RC1
>>> (Release Candidate 1) is now available for download
>>> (http://paraview.org/paraview/resources/software.php).
>>>
>>> We will have a detailed summary for the new features and enhancements
>>> in this release soon. In the mean time, a complete list of features
>>> implemented and bugs fixed in this release can be found on the bug
>>> tracker (http://paraview.org/Bug/changelog_page.php).
>>>
>>> The ParaView Team
>>> _______________________________________________
>>> 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
>>
>> -----|-
>> Гена.
>>
>> _______________________________________________
>> 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
More information about the ParaView
mailing list