[Paraview] pqPipelineSource::getOutputPort( 0 ). Available number of output ports: 0

Peter peter at peterheppel.com
Thu Jun 11 03:47:47 EDT 2015


 

Hello, 

I've made some progress, but its not the complete answer. 

To make the Catalyst examples display in Paraview, you have to go
Paraview>Catalyst>Connect AFTER the client has initialized Catalyst.
You also have to turn OFF the file write in the catalyst script. 

Try the following changes (I tested CxxFullExample) 

1) In FEDriver.cxx, after the call to FEAdaptor::Initialize() , add
something like 

 std::cout<<"Please connect in Paraview"<<endl; 

sleep(20); 

I also put a 'sleep(1)' into the timestep loop to give more time to
manipulate paraview. 

2) In feslicescript.py, you remove the calls to coprocessor.CreateWriter
and change EnableLiveVisualization to True). 

Now, the test sequence is: 

1) start Paraview. DONT connect Catalyst. 

2) run the CxxFullExample with (path)feslicecinema.py as argument .( To
find out the exact command, go ctest --verbose) 

3) When you see "Please connect in Paraview", in the Catalyst menu you
go 'Connect' and dismiss the dialogs which follow. 

You'll see some changes in the pipeline browser. Paraview can see some
data but doesnt render it until after the end of the timestepping. Would
you like to look at that? 

Cheers 

---
Peter Heppel
35/37 Rue de Locmalo
56290 Port-Louis
France
+33 6 81 30 76 52 cell
+33 2 97 82 19 30
USA +1 773 280 8142
Skype: peterheppel

On 2015-06-10 22:54, Peter wrote: 

> Thanks for replying. Take a look at 
> 
> http://public.kitware.com/pipermail/paraview/2015-June/034283.html 
> 
> Briefly, 
> 
> Paraview segfaults with the above error message when I run any of the tests in ParaViewCatalystExampleCode-master with _coprocessor.EnableLiveVisualization(True). _They all pass when this flag is False. I've tested with V4.3.1 and with yesterday's development version. There's another user - U.UTKU.TURUNCOGLU AT BE.ITU.EDU.TR u.utku.turuncoglu at be.itu.edu.tr who has a similar problem on a different O/S. 
> 
> Are the tests in ParaViewCatalystExampleCode-master known to run OK with _coprocessor.EnableLiveVisualization(True)? _ Or is that not the only change needed to make these clients connect? 
> 
> If we are running ParaViewCatalystExampleCode-master correctly we'd appreciate your advice on where to start looking for a bug. 
> 
> best regards 
> 
> Peter 
> 
> ---
> Peter Heppel
> 35/37 Rue de Locmalo
> 56290 Port-Louis
> France
> +33 6 81 30 76 52 cell
> +33 2 97 82 19 30
> USA +1 773 280 8142
> Skype: peterheppel
> 
> On 2015-06-10 19:47, Utkarsh Ayachit wrote: 
> I am not sure I follow what's happening here. Can you provide details on what you're doing here please? Thanks. 
> 
> Utkarsh
> 
> On Wed, Jun 10, 2015 at 11:38 AM Peter <peter at peterheppel.com> wrote: 
> 
> Hello 
> 
> I just built the current Paraview development version and got the same error on running the Catalyst examples. 
> 
> Paraview declined the connection gracefully when the client was built with a different VTK version, so I suspect the issue isnt related to the socket handshake, but rather that it only occurs after the socket connection is successful. 
> 
> P 
> 
> -- 
> Peter Heppel
> 35/37 Rue de Locmalo
> 56290 Port-Louis
> France
> +33 6 81 30 76 52 cell
> +33 2 97 82 19 30
> USA +1 773 280 8142
> Skype: peterheppel
> _______________________________________________
> Powered by www.kitware.com [1]
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html [2]
> 
> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView [3]
> 
> Search the list archives at: http://markmail.org/search/?q=ParaView [4]
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview [5]
 

Links:
------
[1] http://www.kitware.com
[2] http://www.kitware.com/opensource/opensource.html
[3] http://paraview.org/Wiki/ParaView
[4] http://markmail.org/search/?q=ParaView
[5] http://public.kitware.com/mailman/listinfo/paraview
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150611/f85176c6/attachment.html>


More information about the ParaView mailing list