[Kiwiviewer] Paraview to Kiwi (windows)

Casey Goodlett casey.goodlett at kitware.com
Tue May 20 14:54:11 EDT 2014


its possible .  Can you try a different path and see if it works?

Thanks


On Tue, May 20, 2014 at 6:41 AM, Roel Eijg <roelantspam at gmail.com> wrote:

> Thanks for your help! This is all it shows, I realized however, there is a
> dot (.) in my windows username... perhaps that causes an issue in
> determining the extension?:
>
> exporting to C:\Users\r.eijgelaar/Desktop\PVExport-2014-05-20T12_35_05
>
> writing source <paraview.servermanager.STLReader object at
> 0x0000000015D13B00>:
> C:\Users\r.eijgelaar/Desktop\PVExport-2014-05-20T12_35_05\data\STL_LiverRSE.vtp
>
> Traceback (most recent call last):
>
> File "<string>", line 202, in <module>
>
> File "<string>", line 192, in exportToDesktop
>
> File "<string>", line 179, in exportInDirectory
>
> File "<string>", line 135, in exportViewToDirectory
>
> File "<string>", line 93, in exportRepresentation
>
> File "<string>", line 73, in writeSource
>
> File "<string>", line 43, in writeToFile
>
> AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'
>
>
>
> ERROR: In
> C:\DBD\pvs-x64\paraview\src\paraview\ParaViewCore\ServerManager\Core\vtkSMWriterFactory.cxx,
> line 314
>
> vtkSMWriterFactory (00000000088EA4C0): No matching writer found for
> extension: vtp
>
>
> 2014-05-19 16:08 GMT+02:00 Casey Goodlett <casey.goodlett at kitware.com>:
>
>  Not sure why that would be. Does it print a line like?
>>
>> writing source NAME: FILENAME
>>
>> Can you paste the filename here?
>>
>>
>> On Mon, May 19, 2014 at 9:27 AM, Roel Eijg <roelantspam at gmail.com> wrote:
>>
>>> Thanks Casey, this seems to get the script a step further, folders get
>>> created but they are still empty. I get the following output message and
>>> log in the python shell:
>>>
>>> ERROR: In
>>> C:\DBD\pvs-x64\paraview\src\paraview\ParaViewCore\ServerManager\Core\vtkSMWriterFactory.cxx,
>>> line 314
>>> vtkSMWriterFactory (000000000876A4C0): No matching writer found for
>>> extension: vtp
>>>
>>> Traceback (most recent call last):
>>>
>>> File "<string>", line 202, in <module>
>>>
>>> File "<string>", line 192, in exportToDesktop
>>>
>>> File "<string>", line 179, in exportInDirectory
>>>
>>> File "<string>", line 135, in exportViewToDirectory
>>>
>>> File "<string>", line 93, in exportRepresentation
>>>
>>> File "<string>", line 73, in writeSource
>>>
>>> File "<string>", line 43, in writeToFile
>>>
>>> AttributeError: 'NoneType' object has no attribute 'UpdatePipeline'
>>>
>>>
>>> 2014-05-19 15:07 GMT+02:00 Casey Goodlett <casey.goodlett at kitware.com>:
>>>
>>>  You could try changing line170 of the script from
>>>>
>>>> timestamp = datetime.datetime.now().replace(microsecond=0).isoformat()
>>>>
>>>> to
>>>>
>>>> timestamp =
>>>> datetime.datetime.now().replace(microsecond=0).isoformat().replace(':','_')
>>>>
>>>>
>>>> On Mon, May 19, 2014 at 8:57 AM, Casey Goodlett <
>>>> casey.goodlett at kitware.com> wrote:
>>>>
>>>>> Roel,
>>>>>
>>>>> Mixed backward and forward slashes should be fine.  I think its more
>>>>> likely the timestamp putting a colon in the filename.
>>>>>
>>>>>
>>>>> On Mon, May 19, 2014 at 6:37 AM, Roel Eijg <roelantspam at gmail.com>wrote:
>>>>>
>>>>>>  Dear community,
>>>>>>
>>>>>> First off, I love kiwi-viewer, thanks!
>>>>>> I'm having a problem with exporting paraview-scene's using the
>>>>>> paraview_to_kiwi.py macro on Windows 7. On the Mac this script worked like
>>>>>> a charm, but on windows I get the following error:
>>>>>>
>>>>>> Traceback (most recent call last):
>>>>>>
>>>>>> File "<string>", line 202, in <module>
>>>>>>
>>>>>> File "<string>", line 192, in exportToDesktop
>>>>>>
>>>>>> File "<string>", line 179, in exportInDirectory
>>>>>>
>>>>>> File "<string>", line 112, in exportViewToDirectory
>>>>>>
>>>>>> File "C:\Program Files (x86)\ParaView 4.1.0\bin\lib\os.py", line 150,
>>>>>> in makedirs
>>>>>>
>>>>>> makedirs(head, mode)
>>>>>>
>>>>>> File "C:\Program Files (x86)\ParaView 4.1.0\bin\lib\os.py", line 157,
>>>>>> in makedirs
>>>>>>
>>>>>> mkdir(name, mode)
>>>>>>
>>>>>> WindowsError: [Error 123] The filename, directory name, or volume
>>>>>> label syntax is incorrect:
>>>>>> 'C:\\Users\\username/Desktop\\PVExport-2014-05-19T12:29:55'
>>>>>>
>>>>>>
>>>>>> I would say it's an issue with back/forward- slashes, but my python
>>>>>> knowledge is insufficient to resolve the issue. Could someone please take a
>>>>>> look at it?
>>>>>>
>>>>>>
>>>>>> Kind regards, Roelant
>>>>>>
>>>>>> _______________________________________________
>>>>>> Kiwiviewer mailing list
>>>>>> Kiwiviewer at public.kitware.com
>>>>>> http://public.kitware.com/cgi-bin/mailman/listinfo/kiwiviewer
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Casey B. Goodlett, Ph.D.
>>>>> Technical Leader
>>>>> Kitware, Inc. - North Carolina Office
>>>>> http://www.kitware.com
>>>>> (919) 969-6990 x310
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Casey B. Goodlett, Ph.D.
>>>> Technical Leader
>>>> Kitware, Inc. - North Carolina Office
>>>> http://www.kitware.com
>>>> (919) 969-6990 x310
>>>>
>>>
>>>
>>
>>
>> --
>> Casey B. Goodlett, Ph.D.
>> Technical Leader
>> Kitware, Inc. - North Carolina Office
>> http://www.kitware.com
>> (919) 969-6990 x310
>>
>
>


-- 
Casey B. Goodlett, Ph.D.
Technical Leader
Kitware, Inc. - North Carolina Office
http://www.kitware.com
(919) 969-6990 x310
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/kiwiviewer/attachments/20140520/c0b0709d/attachment-0002.html>


More information about the Kiwiviewer mailing list