Catalyst V2 python script problems

Hello. I’m trying to get image output, i build CxxExample project Catalyst2, but when i make --output /path/file.jpg i have an error

( 0.712s) [pvbatch.1 ] vtkSMWriterFactory.cxx:344 ERR| vtkSMWriterFactory (0x7ff5c1c1af20): No matching writer found for extension: jpg ( 0.712s) [pvbatch.1 ]vtkInSituPipelineIO.cxx:103 ERR| vtkInSituPipelineIO (0x7ff5c1d16370): Failed to create writer on channel 'grid' for file

I decided to make this output with extractor how it’s shown here: https://gitlab.kitware.com/paraview/paraview/-/blob/release/Utilities/Doxygen/pages/CatalystPythonScriptV2.md

from paraview.simple import *
from paraview import print_info

view = CreateRenderView()

wavelet1 = Wavelet(registrationName="grid")

# create a new 'Slice'
slice1 = Slice(registrationName='Slice1', Input=wavelet1)
slice1.SliceType = 'Plane'
slice1.SliceType.Normal = [0, 0, 1]

sliceDisplay = Show(slice1)

# create extractor
extractor1 = CreateExtractor('PNG', view, registrationName='PNG1')
# trace defaults for the extractor.
# init the 'PNG' selected for 'Writer'
extractor1.Writer.FileName = '/path-to-file/output-%ts.png'
extractor1.Writer.ImageResolution = [800, 880]

but I have an error with this script:

Traceback (most recent call last):
  File "/Users/user1/libs/ParaView-v5.9.1/build/lib/python3.7/site-packages/paraview/catalyst/v2_internals.py", line 89, in import_and_validate
Traceback (most recent call last):
  File "/Users/user1/libs/ParaView-v5.9.1/build/lib/python3.7/site-packages/paraview/catalyst/v2_internals.py", line 89, in import_and_validate
    m = importlib.import_module(modulename)
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/importlib/__init__.py", line 127, in import_module
    m = importlib.import_module(modulename)
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/Users/user1/Desktop/CxxImageDataExample/visual.py", line 4, in <module>
  File "/Users/user1/Desktop/CxxImageDataExample/visual.py", line 4, in <module>
    view = CreateRenderView()
    view = CreateRenderView()  File "/Users/user1/libs/ParaView-v5.9.1/build/lib/python3.7/site-packages/paraview/simple.py", line 193, in CreateRenderView

  File "/Users/user1/libs/ParaView-v5.9.1/build/lib/python3.7/site-packages/paraview/simple.py", line 193, in CreateRenderView
    return CreateView("RenderView", detachedFromLayout, **params)
  File "/Users/user1/libs/ParaView-v5.9.1/build/lib/python3.7/site-packages/paraview/simple.py", line 154, in CreateView
    return CreateView("RenderView", detachedFromLayout, **params)
  File "/Users/user1/libs/ParaView-v5.9.1/build/lib/python3.7/site-packages/paraview/simple.py", line 154, in CreateView
    raise RuntimeError ("Failed to create requested view", view_xml_name)
RuntimeError: ('Failed to create requested view', 'RenderView')
    raise RuntimeError ("Failed to create requested view", view_xml_name)
RuntimeError: ('Failed to create requested view', 'RenderView')

Using python 3.7.4, paraview 5.9.1