PythonShell broken by any custom filter
Having a custom filter in the settings break the PythonShell.
Steps to reproduce:
- Open ParaView
- Wavelet, Apply
- Tools -> CreateCustomFilter
- Give it a name, next, next, next, next, finish
- View -> PythonShell
- Click in the python shell
[glow@gamma ~/work/paraview/pv1/build]$ ./bin/paraview
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/home/glow/work/paraview/pv1/build/lib/python3.9/site-packages/paraview/simple.py", line 2918, in <module>
_add_functions(globals())
File "/home/glow/work/paraview/pv1/build/lib/python3.9/site-packages/paraview/simple.py", line 2752, in _add_functions
for key in dir(m):
File "/home/glow/work/paraview/pv1/build/lib/python3.9/site-packages/paraview/servermanager.py", line 2703, in __dir__
s.add(self._getPyName(xml=item["xml"]))
File "/home/glow/work/paraview/pv1/build/lib/python3.9/site-packages/paraview/servermanager.py", line 2681, in _getPyName
assert name
AssertionError
FYI @nicolas.vuaille