Joe, Do you see the error if you comment out all the "#Show stuff in renderView1" part?
Utkarsh On Thu, May 11, 2017 at 3:43 PM, Utkarsh Ayachit < utkarsh.ayac...@kitware.com> wrote: > > On Thu, May 11, 2017 at 3:13 PM, Hennessey, Joseph G CTR USARMY RDECOM ARL > (US) <joseph.g.hennessey2....@mail.mil> wrote: > >> Hello, >> >> I am getting an error on running a python script with pvpython and >> ParaView >> 5.3.0 on linux. >> >> # get active view >> renderView1 = GetActiveViewOrCreate('RenderView') >> >> # uncomment following to set a specific view size >> renderView1.ViewSize = [1200, 600] >> >> # Properties modified on renderView1 >> renderView1.Background = [1.0, 1.0, 1.0] >> >> #Show stuff in renderView1 >> . >> . >> . >> >> # reset view to fit data >> renderView1.ResetCamera() >> >> ResetCamera() is throwing an error >> >> terminate called after throwing an instance of 'std::bad_alloc' >> what(): std::bad_alloc >> >> Has anyone seen this particular error before with just calling >> ResetCamera() >> on a renderView? >> >> Thanks, >> >> Joe >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> Joseph G. Hennessey Ph.D., SAIC >> Team SAIC >> Army Research Lab >> DOD Supercomputing Resource Center >> >> >> _______________________________________________ >> 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: >> http://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: http://public.kitware.com/mailman/listinfo/paraview