Re: [Paraview] Using ParaviewWeb examples

2018-02-19 Thread Aron Helser
Hi Tom,
The ParaviewWeb examples always live in a sub-directory of the component
they illustrate - so here, this is the Composite example, so '..' just
refers to 'Composite'.
If you look in the left menu, you can see that 'Composite' is grouped into
' Component/Native'. That's the directory it's in.  '../../BackgroundColor'
is a sibling directory to 'Composite', so it will also be in '
Component/Native'

Generally you can follow the '..' out from the example sub-directory and
figure out where you are.

Hope that helps,
Aron

On Mon, Feb 19, 2018 at 2:38 PM, Sgouros, Thomas 
wrote:

> Hello all:
>
> When I see a Paraviewweb example like this (from Composite.html):
>
> import CompositeComponent from '..';
> import BGColorComponent from '../../BackgroundColor';
>
> Where should I look for BackgroundColor and CompositeComponent? I feel
> sure I could find them eventually, but is there another search algorithm
> besides brute force?
>
> Thank you,
>
>  -Tom
>
> ___
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] How to interrupt macros/Python script ?

2018-03-30 Thread Aron Helser
How does the debugger interact with python scripts in ParaView? In
debugging stand-alone scripts, I'll often insert:
  import pdb; pdb.set_trace()

to trigger the debugger. I suspect you might be able to use 'rdbg' and use
that connection?
-Aron

On Fri, Mar 30, 2018 at 4:36 AM, Mathieu Westphal <
mathieu.westp...@kitware.com> wrote:

> Hello Miguel,
>
> The simplest way to do that, especially when debugging, is to raise an
> error.
>
> raise ValueError()
>
> Best regards,
>
> Mathieu Westphal
>
> On Fri, Mar 30, 2018 at 8:52 AM, Miguel Aguirre 
> wrote:
>
>> Hello,
>>
>>
>>
>> I’m testing some macros and Python Shell scripts. One of them requires an
>> iteration: it places the slice plane at several positions in order to
>> integrate values at each position. However, I found that once the
>> macro/script is executed, it is impossible to stop it (which annoys the
>> debugging process). I already tested "exit()" command in the Python Shell
>> but it does not works.  There is way to interrupt the process?
>>
>>
>>
>> Thanks in advance.
>>
>> Miguel Angel AGUIRRE
>>
>> ___
>> 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
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> https://public.kitware.com/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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] ParaView-Superbuild Win10 Errors

2018-03-28 Thread Aron Helser
I don't know how or why vrpn is used by paraview, so I'll have to defer to
others...

On Wed, Mar 28, 2018 at 8:23 AM, Jamil Goettlich <jamil.goettl...@gmail.com>
wrote:

> Hi Aron,
>
> thank you for the reply. Youre right, there was an error way at the
> beginning concerning quat.lib.
> It seems like linking vrpn.lib failed because quat.lib cannot be
> recognized.
> Here is the full error (Using Win10, Compiler Visual Studio12.0 (cl.exe),
> ninja build system.
> Also, I enabled VRPN_USE_HID and disabled VRPN_USE_LOCAL_HIDAPI).
>
> [157/254] Linking CXX shared library vrpn.dll
> FAILED: vrpn.dll vrpn.lib
> cmd.exe /C "cd . && C:\KermsInstalls\cmake\bin\cmake.exe -E vs_link_dll
> --intdir=CMakeFiles\vrpn.dir --manifests  -- 
> C:\PROGRA~2\MICROS~3.0\VC\bin\amd64\link.exe
> /nologo CMakeFiles\vrpn.dir\vrpn_Analog.C.obj 
> CMakeFiles\vrpn.dir\vrpn_Analog_Output.C.obj
> CMakeFiles\vrpn.dir\vrpn_Auxiliary_Logger.C.obj 
> CMakeFiles\vrpn.dir\vrpn_BaseClass.C.obj
> CMakeFiles\vrpn.dir\vrpn_Button.C.obj 
> CMakeFiles\vrpn.dir\vrpn_Connection.C.obj
> CMakeFiles\vrpn.dir\vrpn_Dial.C.obj 
> CMakeFiles\vrpn.dir\vrpn_FileConnection.C.obj
> CMakeFiles\vrpn.dir\vrpn_FileController.C.obj 
> CMakeFiles\vrpn.dir\vrpn_ForceDevice.C.obj
> CMakeFiles\vrpn.dir\vrpn_Forwarder.C.obj 
> CMakeFiles\vrpn.dir\vrpn_ForwarderController.C.obj
> CMakeFiles\vrpn.dir\vrpn_FunctionGenerator.C.obj 
> CMakeFiles\vrpn.dir\vrpn_Imager.C.obj
> CMakeFiles\vrpn.dir\vrpn_LamportClock.C.obj 
> CMakeFiles\vrpn.dir\vrpn_Mutex.C.obj
> CMakeFiles\vrpn.dir\vrpn_Poser.C.obj 
> CMakeFiles\vrpn.dir\vrpn_RedundantTransmission.C.obj
> CMakeFiles\vrpn.dir\vrpn_Serial.C.obj 
> CMakeFiles\vrpn.dir\vrpn_SerialPort.C.obj
> CMakeFiles\vrpn.dir\vrpn_Shared.C.obj 
> CMakeFiles\vrpn.dir\vrpn_SharedObject.C.obj
> CMakeFiles\vrpn.dir\vrpn_Sound.C.obj CMakeFiles\vrpn.dir\vrpn_Text.C.obj
> CMakeFiles\vrpn.dir\vrpn_Tracker.C.obj  /out:vrpn.dll /implib:vrpn.lib
> /pdb:vrpn.pdb /dll /version:0.0 /machine:x64 /INCREMENTAL:NO  quat\quat.lib
> ws2_32.lib winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib
> shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib  &&
> cd ."
> LINK: command "C:\PROGRA~2\MICROS~3.0\VC\bin\amd64\link.exe /nologo
> CMakeFiles\vrpn.dir\vrpn_Analog.C.obj 
> CMakeFiles\vrpn.dir\vrpn_Analog_Output.C.obj
> CMakeFiles\vrpn.dir\vrpn_Auxiliary_Logger.C.obj 
> CMakeFiles\vrpn.dir\vrpn_BaseClass.C.obj
> CMakeFiles\vrpn.dir\vrpn_Button.C.obj 
> CMakeFiles\vrpn.dir\vrpn_Connection.C.obj
> CMakeFiles\vrpn.dir\vrpn_Dial.C.obj 
> CMakeFiles\vrpn.dir\vrpn_FileConnection.C.obj
> CMakeFiles\vrpn.dir\vrpn_FileController.C.obj 
> CMakeFiles\vrpn.dir\vrpn_ForceDevice.C.obj
> CMakeFiles\vrpn.dir\vrpn_Forwarder.C.obj 
> CMakeFiles\vrpn.dir\vrpn_ForwarderController.C.obj
> CMakeFiles\vrpn.dir\vrpn_FunctionGenerator.C.obj 
> CMakeFiles\vrpn.dir\vrpn_Imager.C.obj
> CMakeFiles\vrpn.dir\vrpn_LamportClock.C.obj 
> CMakeFiles\vrpn.dir\vrpn_Mutex.C.obj
> CMakeFiles\vrpn.dir\vrpn_Poser.C.obj 
> CMakeFiles\vrpn.dir\vrpn_RedundantTransmission.C.obj
> CMakeFiles\vrpn.dir\vrpn_Serial.C.obj 
> CMakeFiles\vrpn.dir\vrpn_SerialPort.C.obj
> CMakeFiles\vrpn.dir\vrpn_Shared.C.obj 
> CMakeFiles\vrpn.dir\vrpn_SharedObject.C.obj
> CMakeFiles\vrpn.dir\vrpn_Sound.C.obj CMakeFiles\vrpn.dir\vrpn_Text.C.obj
> CMakeFiles\vrpn.dir\vrpn_Tracker.C.obj /out:vrpn.dll /implib:vrpn.lib
> /pdb:vrpn.pdb /dll /version:0.0 /machine:x64 /INCREMENTAL:NO quat\quat.lib
> ws2_32.lib winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib
> shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib
> /MANIFEST /MANIFESTFILE:vrpn.dll.manifest" failed (exit code 1181) with
> the following output:
> LINK : fatal error LNK1181: cannot open input file 'quat\quat.lib'
> [158/254] Linking CXX shared library gpsnmealib\gpsnmea.dll
>
> I checked for quat.lib but there is only quat.dll in the superbuild
> folder. Is there a flag to set for building the quat library statically or
> to tell vrpn to look for a dll?
>
> Thank a lot
> Jamil
>
> 2018-03-27 20:24 GMT+02:00 Aron Helser <aron.hel...@kitware.com>:
>
>> Jamil,
>> Make sure you scroll up and find the first error - ninja is a parallel
>> build system, so the build will continue on other threads after the first
>> error. Then maybe you can solve that first error, and others will be fixed.
>>
>> It looks like an earlier error caused 'quat.lib' not to be built, but
>> it's hard to tell
>> -Aron
>>
>> On Tue, Mar 27, 2018 at 10:37 AM, Jamil Goettlich <
>> jamil.goettl...@gmail.com> wrote:
>>
>>> Hi Shawn,
>>>
>>> thanks a lot for the t

Re: [Paraview] Conversion error

2018-03-20 Thread Aron Helser
Hi Nitisha,
It's hard to know what the problem might be without knowing what steps you
are taking to convert the files - please provide some more details.

I would guess it's a problem in the conversion software, not ParaView.

Regards,
Aron

On Mon, Mar 19, 2018 at 5:50 PM, Nitisha Ahuja  wrote:

> Hello all,
> I am facing an issue in which, I am trying to convert post.out files from
> Converge into paraview files. For few files I get the following error
> :
>
> I am not sure whether this is the right place to ask this question, as the
> problem can be in my software too.
>
> But if anyone knows what could be the reason behind failure in conversion
> of these file, please let me know.
>
> P.S.. I see this error on some random files.
>
> Best regards
> Nitisha
>
>
> ___
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/paraview