Error open pitivi video editor

Hi,

I installed pitivi but when I try to open give me a lot of error.

#pitivi                                                                   
Gdk-Message: 22:30:42.927: Unable to load tcross from the cursor theme
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/matplotlib/backends/backend_gtk3.py", line 43, in <module>
    cursors.SELECT_REGION: Gdk.Cursor.new(Gdk.CursorType.TCROSS),
TypeError: constructor returned NULL

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/bin/pitivi", line 168, in <module>
    _run_pitivi()
  File "/usr/bin/pitivi", line 145, in _run_pitivi
    from pitivi import application
  File "/usr/lib/pitivi/python/pitivi/application.py", line 34, in <module>
    from pitivi.mainwindow import MainWindow
  File "/usr/lib/pitivi/python/pitivi/mainwindow.py", line 47, in <module>
    from pitivi.timeline.timeline import TimelineContainer
  File "/usr/lib/pitivi/python/pitivi/timeline/timeline.py", line 35, in <module>
    from pitivi.timeline.elements import Clip
  File "/usr/lib/pitivi/python/pitivi/timeline/elements.py", line 31, in <module>
    from matplotlib.backends.backend_gtk3cairo import FigureCanvasGTK3Cairo as FigureCanvas
  File "/usr/lib/python3.8/site-packages/matplotlib/backends/backend_gtk3cairo.py", line 6, in <module>
    from . import backend_cairo, backend_gtk3
  File "/usr/lib/python3.8/site-packages/matplotlib/backends/backend_gtk3.py", line 49, in <module>
    raise ImportError(exc) from exc
ImportError: constructor returned NULL

Can you help me with that ?

Best regards,

Howdy!
Your best bet for now would be to reinstall pitivi by opening a terminal and executing sudo pacman -S pitivi --noconfirm !

Hope that helps, have a wonderful day!

Wait in the next stable update if it solves the problems… or install the flatpak :wink:

 Packages	   Stable	     Testing	      Unstable	        Repository
 pitivi	       0.999-4	    2020.09.2-1     2020.09.2-1	        community

Aloha, i have also prblems with the the flatpak version. To say with denglish. It’s to milking mice :crazy_face:

flatpak run org.pitivi.Pitivi//stable

** (gst-plugin-scanner:5): CRITICAL **: 11:47:04.875: Couldn’t g_module_open libpython. Reason: /usr/lib/x86_64-linux-gnu/libpython3.7m.so: cannot open shared object file: No such file or directory
Gdk-Message: 11:47:06.640: Unable to load tcross from the cursor theme
Traceback (most recent call last):
File “/app/lib/python3.7/site-packages/matplotlib-3.0.3-py3.7-linux-x86_64.egg/matplotlib/backends/backend_gtk3.py”, line 31, in
cursors.SELECT_REGION : Gdk.Cursor.new(Gdk.CursorType.TCROSS),
TypeError: constructor returned NULL

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/app/bin/pitivi”, line 166, in
_run_pitivi()
File “/app/bin/pitivi”, line 143, in _run_pitivi
from pitivi import application
File “/app/lib/pitivi/python/pitivi/application.py”, line 32, in
from pitivi.mainwindow import MainWindow
File “/app/lib/pitivi/python/pitivi/mainwindow.py”, line 29, in
from pitivi.editorperspective import EditorPerspective
File “/app/lib/pitivi/python/pitivi/editorperspective.py”, line 41, in
from pitivi.timeline.timeline import TimelineContainer
File “/app/lib/pitivi/python/pitivi/timeline/timeline.py”, line 35, in
from pitivi.timeline.elements import Clip
File “/app/lib/pitivi/python/pitivi/timeline/elements.py”, line 29, in
from matplotlib.backends.backend_gtk3cairo import FigureCanvasGTK3Cairo as FigureCanvas
File “/app/lib/python3.7/site-packages/matplotlib-3.0.3-py3.7-linux-x86_64.egg/matplotlib/backends/backend_gtk3cairo.py”, line 1, in
from . import backend_cairo, backend_gtk3
File “/app/lib/python3.7/site-packages/matplotlib-3.0.3-py3.7-linux-x86_64.egg/matplotlib/backends/backend_gtk3.py”, line 37, in
raise ImportError(exc)
ImportError: constructor returned NULL

I reinstalled, but it still fails with the same error:

$ pitivi
Gdk-Message: 23:07:59.448: Unable to load tcross from the cursor theme
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/matplotlib/backends/backend_gtk3.py", line 43, in <module>
    cursors.SELECT_REGION: Gdk.Cursor.new(Gdk.CursorType.TCROSS),
TypeError: constructor returned NULL

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/bin/pitivi", line 166, in <module>
    _run_pitivi()
  File "/usr/bin/pitivi", line 143, in _run_pitivi
    from pitivi import application
  File "/usr/lib/pitivi/python/pitivi/application.py", line 32, in <module>
    from pitivi.mainwindow import MainWindow
  File "/usr/lib/pitivi/python/pitivi/mainwindow.py", line 29, in <module>
    from pitivi.editorperspective import EditorPerspective
  File "/usr/lib/pitivi/python/pitivi/editorperspective.py", line 41, in <module>
    from pitivi.timeline.timeline import TimelineContainer
  File "/usr/lib/pitivi/python/pitivi/timeline/timeline.py", line 35, in <module>
    from pitivi.timeline.elements import Clip
  File "/usr/lib/pitivi/python/pitivi/timeline/elements.py", line 29, in <module>
    from matplotlib.backends.backend_gtk3cairo import FigureCanvasGTK3Cairo as FigureCanvas
  File "/usr/lib/python3.9/site-packages/matplotlib/backends/backend_gtk3cairo.py", line 6, in <module>
    from . import backend_cairo, backend_gtk3
  File "/usr/lib/python3.9/site-packages/matplotlib/backends/backend_gtk3.py", line 49, in <module>
    raise ImportError(exc) from exc
ImportError: constructor returned NULL