public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Grand Duet <grand.duet@gmail.com>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] Bugs in pitivi ebuild
Date: Sat, 7 Dec 2024 16:15:30 +0200	[thread overview]
Message-ID: <CACE6sHmnpOw2MGbpVyWM55SJifs_cnmPasYGWM2Cky5SPUc09A@mail.gmail.com> (raw)

In short: at least gsound dependency has not been mentioned in the
pitivi ebuild.

The full story has been explained below.

I have recently installed pitivi and tried to run it.
It failed with the following error message:
# pitivi
Missing soft dependency:
- GSound not found on the system
    -> enables sound notifications when rendering is complete
Missing soft dependency:
- cvtracker GStreamer element not found on the system
    -> enables object tracking
Missing soft dependency:
- librosa not found on the system
    -> enables beat detection functionality
Traceback (most recent call last):
  File "/usr/lib64/pitivi/python/pitivi/application.py", line 205, in
do_activate
    self.create_main_window()
  File "/usr/lib64/pitivi/python/pitivi/application.py", line 212, in
create_main_window
    self.gui.setup_ui()
  File "/usr/lib64/pitivi/python/pitivi/mainwindow.py", line 135, in setup_ui
    self.editor.setup_ui()
  File "/usr/lib64/pitivi/python/pitivi/editorperspective.py", line
103, in setup_ui
    self._create_ui()
  File "/usr/lib64/pitivi/python/pitivi/editorperspective.py", line
260, in _create_ui
    self.mainhpaned.set_position(self.settings.mainWindowMainHPanePosition)
TypeError: Argument 1 does not allow None as a value

After installing gsound and gstreamer, the error message have been
reduced to the following:
Missing soft dependency:
- cvtracker GStreamer element not found on the system
    -> enables object tracking
Missing soft dependency:
- librosa not found on the system
    -> enables beat detection functionality
Traceback (most recent call last):
  File "/usr/lib64/pitivi/python/pitivi/application.py", line 205, in
do_activate
    self.create_main_window()
  File "/usr/lib64/pitivi/python/pitivi/application.py", line 212, in
create_main_window
    self.gui.setup_ui()
  File "/usr/lib64/pitivi/python/pitivi/mainwindow.py", line 135, in setup_ui
    self.editor.setup_ui()
  File "/usr/lib64/pitivi/python/pitivi/editorperspective.py", line
103, in setup_ui
    self._create_ui()
  File "/usr/lib64/pitivi/python/pitivi/editorperspective.py", line
260, in _create_ui
    self.mainhpaned.set_position(self.settings.mainWindowMainHPanePosition)
TypeError: Argument 1 does not allow None as a value

So, at least dependency of the pitivi on gsound has not been mentioned
in the pitivi ebuild which is definitely a bug.
Unfortunately, I do not know how to install librosa and get rid of the
other error messages.

I am currently use default/linux/amd64/23.0/desktop (stable) profile with dwm
without any desktop environment and think that this bug has appeared because
the pitivi ebuild has been tested only for
default/linux/amd64/23.0/desktop/gnome profile.


             reply	other threads:[~2024-12-07 14:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-07 14:15 Grand Duet [this message]
2024-12-07 17:17 ` [gentoo-dev] Bugs in pitivi ebuild Filip Kobierski
2024-12-08  2:30   ` Grand Duet
2024-12-08  3:05     ` Grand Duet
2024-12-08  3:41       ` Sam James
2024-12-08  3:41       ` Sam James
2024-12-08  0:33 ` Sam James
2024-12-08  2:59 ` [gentoo-dev] " Grand Duet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACE6sHmnpOw2MGbpVyWM55SJifs_cnmPasYGWM2Cky5SPUc09A@mail.gmail.com \
    --to=grand.duet@gmail.com \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox