unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#56288: Pitivi can't be started
@ 2022-06-28 17:52 Christian Miller via Bug reports for GNU Guix
  2022-06-29  4:28 ` Liliana Marie Prikler
  2022-07-02 22:38 ` Christian Miller via Bug reports for GNU Guix
  0 siblings, 2 replies; 6+ messages in thread
From: Christian Miller via Bug reports for GNU Guix @ 2022-06-28 17:52 UTC (permalink / raw)
  To: 56288

[-- Attachment #1: Type: text/plain, Size: 1972 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 2437 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#56288: Pitivi can't be started
  2022-06-28 17:52 bug#56288: Pitivi can't be started Christian Miller via Bug reports for GNU Guix
@ 2022-06-29  4:28 ` Liliana Marie Prikler
  2022-06-30 12:08   ` Josselin Poiret via Bug reports for GNU Guix
  2022-07-02 22:38 ` Christian Miller via Bug reports for GNU Guix
  1 sibling, 1 reply; 6+ messages in thread
From: Liliana Marie Prikler @ 2022-06-29  4:28 UTC (permalink / raw)
  To: Christian Miller, 56288

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




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#56288: Pitivi can't be started
  2022-06-29  4:28 ` Liliana Marie Prikler
@ 2022-06-30 12:08   ` Josselin Poiret via Bug reports for GNU Guix
  2022-06-30 15:27     ` Liliana Marie Prikler
  2022-07-07 16:21     ` Maxim Cournoyer
  0 siblings, 2 replies; 6+ messages in thread
From: Josselin Poiret via Bug reports for GNU Guix @ 2022-06-30 12:08 UTC (permalink / raw)
  To: Liliana Marie Prikler, Christian Miller, 56288

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@jpoiret.xyz)

HTH,
-- 
Josselin Poiret




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#56288: Pitivi can't be started
  2022-06-30 12:08   ` Josselin Poiret via Bug reports for GNU Guix
@ 2022-06-30 15:27     ` Liliana Marie Prikler
  2022-07-07 16:21     ` Maxim Cournoyer
  1 sibling, 0 replies; 6+ messages in thread
From: Liliana Marie Prikler @ 2022-06-30 15:27 UTC (permalink / raw)
  To: Josselin Poiret, Christian Miller, 56288

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@jpoiret.xyz)
Isn't there a per-package solution to this that basically means adding
librsvg to the package inputs?




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#56288: Pitivi can't be started
  2022-06-28 17:52 bug#56288: Pitivi can't be started Christian Miller via Bug reports for GNU Guix
  2022-06-29  4:28 ` Liliana Marie Prikler
@ 2022-07-02 22:38 ` Christian Miller via Bug reports for GNU Guix
  1 sibling, 0 replies; 6+ messages in thread
From: Christian Miller via Bug reports for GNU Guix @ 2022-07-02 22:38 UTC (permalink / raw)
  To: 56288@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 209 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 858 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#56288: Pitivi can't be started
  2022-06-30 12:08   ` Josselin Poiret via Bug reports for GNU Guix
  2022-06-30 15:27     ` Liliana Marie Prikler
@ 2022-07-07 16:21     ` Maxim Cournoyer
  1 sibling, 0 replies; 6+ messages in thread
From: Maxim Cournoyer @ 2022-07-07 16:21 UTC (permalink / raw)
  To: Josselin Poiret; +Cc: 56288-done, Liliana Marie Prikler, Christian Miller

Hi,

Josselin Poiret <dev@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




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-07-07 16:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-28 17:52 bug#56288: Pitivi can't be started Christian Miller via Bug reports for GNU Guix
2022-06-29  4:28 ` Liliana Marie Prikler
2022-06-30 12:08   ` Josselin Poiret via Bug reports for GNU Guix
2022-06-30 15:27     ` Liliana Marie Prikler
2022-07-07 16:21     ` Maxim Cournoyer
2022-07-02 22:38 ` Christian Miller via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).