Re: sfepy-view does not work properly
Thank you, Yosef. I use Paraview to show results.
2023年4月24日(月) 21:20 Yosef Meller <yosefm@gmail.com>:
I don't know, but this looks like a drivers problem, not an SfePy issue. Please address questions to the list, not directly to me. Thanks.
On Sat, Apr 22, 2023 at 4:01 PM Takuo Fujita <pyontaku14@gmail.com> wrote:
Thank you, Yosef. I updated pyvist to ver 0.38.5 and tried again but encountered another error.
$ sfepy-view meshes/2d/helmholtz_apartment.vtk -e -2 mesh from meshes/2d/helmholtz_apartment.vtk: points: 401 cells: 752 bounds: [(-3.8979, 3.0979), (-2.19255, 2.46255), (0.0, 0.0)] scalars: node_groups, mat_id steps: 1 plot 0: mat_id(step 0) libGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri) libGL error: failed to load driver: iris libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri) libGL error: failed to load driver: swrast 2023-04-22 21:53:55.391 ( 1.008s) [ FBA44740]vtkXOpenGLRenderWindow.:635 ERR| vtkXOpenGLRenderWindow (0x395c0d0): Cannot create GLX context. Aborting. ERROR:root:Cannot create GLX context. Aborting. 中止 (コアダンプ) $
I installed mesa-utils by the following commands but the error remained.
sudo apt-get update sudo apt-get install mesa-utils
My ubuntu may lack something necessary. Best regards,
Takuo
2023年4月22日(土) 15:53 Yosef Meller <yosefm@gmail.com>:
What version of pyvista are you using? The inplace parameter is present from at least 0.35 (I can't find older docs). Updating to at the latest version of pyvista would certainly solve the error.
I know the setup.py minimum version checked is 0.23, but this may need to be updated.
On Sat, Apr 22, 2023 at 5:34 AM Takuo Fujita <pyontaku14@gmail.com> wrote:
Hello,
I tried to show the mesh in the following link with sfepy-view and encountered an error. What should I do to resolve this? https://sfepy.org/doc-devel/examples/acoustics-helmholtz_apartment.html
$ sfepy-view meshes/2d/helmholtz_apartment.vtk -e -2 mesh from meshes/2d/helmholtz_apartment.vtk: points: 401 cells: 752 bounds: [(-3.8979, 3.0979), (-2.19255, 2.46255), (0.0, 0.0)] scalars: node_groups, mat_id steps: 1 Traceback (most recent call last): File "/home/pyontaku14/anaconda3/bin/sfepy-view", line 33, in <module> sys.exit(load_entry_point('sfepy==2023.1', 'console_scripts', 'sfepy-view')()) File "/home/pyontaku14/sfepy/sfepy/scripts/resview.py", line 896, in main plotter = pv_plot(options.filenames, options, plotter=plotter) File "/home/pyontaku14/sfepy/sfepy/scripts/resview.py", line 479, in pv_plot pipe[-1].translate(shift, inplace=True) TypeError: translate() got an unexpected keyword argument 'inplace' $
Best regards, Takuo
SfePy mailing list -- sfepy@python.org To unsubscribe send an email to sfepy-leave@python.org https://mail.python.org/mailman3/lists/sfepy.python.org/ Member address: yosefm@gmail.com
participants (1)
-
Takuo Fujita