GNU bug report logs - #56288
Pitivi can't be started

Previous Next

Package: guix;

Reported by: Christian Miller <miller.christian <at> proton.me>

Date: Tue, 28 Jun 2022 18:44:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56288 in the body.
You can then email your comments to 56288 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#56288; Package guix. (Tue, 28 Jun 2022 18:44:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christian Miller <miller.christian <at> proton.me>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 28 Jun 2022 18:44:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christian Miller <miller.christian <at> proton.me>
To: "bug-guix <at> gnu.org" <bug-guix <at> gnu.org>
Subject: Pitivi can't be started
Date: Tue, 28 Jun 2022 17:52:43 +0000
[Message part 1 (text/plain, inline)]
Running the command pitivi results to the following output:

** (gst-plugin-scanner:21018): CRITICAL **: 19:44:14.963: pygobject initialization failedTraceback (most recent call last):
File "/gnu/store/qzlwacdsvswq2ahayd3p6iail5n3rpwk-pitivi-0.999.0-2021.05.0/bin/.pitivi-real", line 172, in <module>

_run_pitivi()
File "/gnu/store/qzlwacdsvswq2ahayd3p6iail5n3rpwk-pitivi-0.999.0-2021.05.0/bin/.pitivi-real", line 143, in _run_pitivi
from pitivi import application
File "/gnu/store/qzlwacdsvswq2ahayd3p6iail5n3rpwk-pitivi-0.999.0-2021.05.0/lib/pitivi/python/pitivi/application.py", line 32, in <module>

from pitivi.mainwindow import MainWindow
File "/gnu/store/qzlwacdsvswq2ahayd3p6iail5n3rpwk-pitivi-0.999.0-2021.05.0/lib/pitivi/python/pitivi/mainwindow.py", line 29, in <module>

from pitivi.editorperspective import EditorPerspective
File "/gnu/store/qzlwacdsvswq2ahayd3p6iail5n3rpwk-pitivi-0.999.0-2021.05.0/lib/pitivi/python/pitivi/editorperspective.py", line 30, in <module>

from pitivi.dialogs.missingasset import MissingAssetDialog
File "/gnu/store/qzlwacdsvswq2ahayd3p6iail5n3rpwk-pitivi-0.999.0-2021.05.0/lib/pitivi/python/pitivi/dialogs/missingasset.py", line 24, in <module>

from pitivi.medialibrary import AssetThumbnail
File "/gnu/store/qzlwacdsvswq2ahayd3p6iail5n3rpwk-pitivi-0.999.0-2021.05.0/lib/pitivi/python/pitivi/medialibrary.py", line 255, in <module>

class AssetThumbnail(GObject.Object, Loggable):
File "/gnu/store/qzlwacdsvswq2ahayd3p6iail5n3rpwk-pitivi-0.999.0-2021.05.0/lib/pitivi/python/pitivi/medialibrary.py", line 280, in AssetThumbnail
EMBLEMS[status] = GdkPixbuf.Pixbuf.new_from_file_at_size(
gi.repository.GLib.GError: gdk-pixbuf-error-quark: Couldn’t recognize the image file format for file “/gnu/store/qzlwacdsvswq2ahayd3p6iail5n3rpwk-pitivi-0.999.0-2021.05.0/share/pitivi/pixmaps/asset-proxied.svg” (3)

Package information:

pitivi 0.999.0-2021.05.0 out /gnu/store/qzlwacdsvswq2ahayd3p6iail5n3rpwk-pitivi-0.999.0-2021.05.0
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#56288; Package guix. (Wed, 29 Jun 2022 04:29:02 GMT) Full text and rfc822 format available.

Message #8 received at 56288 <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Christian Miller <miller.christian <at> proton.me>, 56288 <at> debbugs.gnu.org
Subject: Re: Pitivi can't be started
Date: Wed, 29 Jun 2022 06:28:41 +0200
Am Dienstag, dem 28.06.2022 um 17:52 +0000 schrieb Christian Miller:
> Running the command pitivi results to the following output:
> 
> [...]
>     EMBLEMS[status] = GdkPixbuf.Pixbuf.new_from_file_at_size(
> gi.repository.GLib.GError: gdk-pixbuf-error-quark: Couldn’t recognize
> the image file format for file
> “/gnu/store/qzlwacdsvswq2ahayd3p6iail5n3rpwk-pitivi-0.999.0-
> 2021.05.0/share/pitivi/pixmaps/asset-proxied.svg” (3)
Did you check that the mentioned file is actually an SVG file?  You
store might be broken in which case you would need to repair it.

I checked three different versions of pitivi – one rather old one,
current master and one on staging with a bunch of local GStreamer
updates – all three launched successfully.

Cheers




Information forwarded to bug-guix <at> gnu.org:
bug#56288; Package guix. (Thu, 30 Jun 2022 12:09:02 GMT) Full text and rfc822 format available.

Message #11 received at 56288 <at> debbugs.gnu.org (full text, mbox):

From: Josselin Poiret <dev <at> jpoiret.xyz>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>, Christian Miller
 <miller.christian <at> proton.me>, 56288 <at> debbugs.gnu.org
Subject: Re: bug#56288: Pitivi can't be started
Date: Thu, 30 Jun 2022 14:08:33 +0200
Hello Lily and Christian,

This is unfortunately the usual gdk-pixbuf SVG loader not being found,
since it is part of librsvg.  Some details are described in [1] already,
but to summarize:  we need to propagate gdk-pixbuf so that the
search-path GDK_PIXBUF_MODULE_FILE is properly set for the profile.

Hence, I can reproduce the issue with
--8<---------------cut here---------------start------------->8---
guix shell --pure pitivi -- pitivi
--8<---------------cut here---------------end--------------->8---

but the following launches pitivi properly (didn't check further)
--8<---------------cut here---------------start------------->8---
guix shell --pure pitivi gdk-pixbuf hicolor-icon-theme adwaita-icon-theme -- pitivi
--8<---------------cut here---------------end--------------->8---

I think it's very impractical that we have to do this for all packages
that wish to load SVG files via gdk-pixbuf, because it's technical and
not a concern that upstream developers document, since they don't
encounter such behavior.

[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=52044#41
    (87zgozy59x.fsf <at> jpoiret.xyz)

HTH,
-- 
Josselin Poiret




Information forwarded to bug-guix <at> gnu.org:
bug#56288; Package guix. (Thu, 30 Jun 2022 15:28:01 GMT) Full text and rfc822 format available.

Message #14 received at 56288 <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Josselin Poiret <dev <at> jpoiret.xyz>, Christian Miller
 <miller.christian <at> proton.me>, 56288 <at> debbugs.gnu.org
Subject: Re: bug#56288: Pitivi can't be started
Date: Thu, 30 Jun 2022 17:27:04 +0200
Am Donnerstag, dem 30.06.2022 um 14:08 +0200 schrieb Josselin Poiret:
> Hello Lily and Christian,
> 
> This is unfortunately the usual gdk-pixbuf SVG loader not being
> found,
> since it is part of librsvg.  Some details are described in [1]
> already,
> but to summarize:  we need to propagate gdk-pixbuf so that the
> search-path GDK_PIXBUF_MODULE_FILE is properly set for the profile.
> 
> Hence, I can reproduce the issue with
> --8<---------------cut here---------------start------------->8---
> guix shell --pure pitivi -- pitivi
> --8<---------------cut here---------------end--------------->8---
> 
> but the following launches pitivi properly (didn't check further)
> --8<---------------cut here---------------start------------->8---
> guix shell --pure pitivi gdk-pixbuf hicolor-icon-theme adwaita-icon-
> theme -- pitivi
> --8<---------------cut here---------------end--------------->8---
> 
> I think it's very impractical that we have to do this for all
> packages
> that wish to load SVG files via gdk-pixbuf, because it's technical
> and
> not a concern that upstream developers document, since they don't
> encounter such behavior.
> 
> [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=52044#41
>     (87zgozy59x.fsf <at> jpoiret.xyz)
Isn't there a per-package solution to this that basically means adding
librsvg to the package inputs?




Information forwarded to bug-guix <at> gnu.org:
bug#56288; Package guix. (Sat, 02 Jul 2022 22:39:02 GMT) Full text and rfc822 format available.

Message #17 received at 56288 <at> debbugs.gnu.org (full text, mbox):

From: Christian Miller <miller.christian <at> proton.me>
To: "56288 <at> debbugs.gnu.org" <56288 <at> debbugs.gnu.org>
Subject: Pitivi can't be started
Date: Sat, 02 Jul 2022 22:38:08 +0000
[Message part 1 (text/plain, inline)]
Hello Josselin,

thanks for your solution it works.

This is definitely not user friendly and should be fixed. Is it possible to change the subject to something more appropriate?

Best regards
Christian Miller
[Message part 2 (text/html, inline)]

Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Thu, 07 Jul 2022 16:23:02 GMT) Full text and rfc822 format available.

Notification sent to Christian Miller <miller.christian <at> proton.me>:
bug acknowledged by developer. (Thu, 07 Jul 2022 16:23:02 GMT) Full text and rfc822 format available.

Message #22 received at 56288-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Josselin Poiret <dev <at> jpoiret.xyz>
Cc: 56288-done <at> debbugs.gnu.org,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>,
 Christian Miller <miller.christian <at> proton.me>
Subject: Re: bug#56288: Pitivi can't be started
Date: Thu, 07 Jul 2022 12:21:52 -0400
Hi,

Josselin Poiret <dev <at> jpoiret.xyz> writes:

> Hello Lily and Christian,
>
> This is unfortunately the usual gdk-pixbuf SVG loader not being found,
> since it is part of librsvg.  Some details are described in [1] already,
> but to summarize:  we need to propagate gdk-pixbuf so that the
> search-path GDK_PIXBUF_MODULE_FILE is properly set for the profile.
>
> Hence, I can reproduce the issue with
>
> guix shell --pure pitivi -- pitivi
>
>
> but the following launches pitivi properly (didn't check further)
>
> guix shell --pure pitivi gdk-pixbuf hicolor-icon-theme adwaita-icon-theme -- pitivi
>
> I think it's very impractical that we have to do this for all packages
> that wish to load SVG files via gdk-pixbuf, because it's technical and
> not a concern that upstream developers document, since they don't
> encounter such behavior.

Agreed; on the other hand it's not much more impractical than having to
propagate manually the icons, albeit harder to discover.  An easy
solution is to propagate librsvg, which I did in 47f0b3ad14.  I've also
updated Pitivi to its latest release in the following commit.

Closing,

Thanks!

Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 05 Aug 2022 11:24:13 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 236 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.