Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blanket installed from Arch repository does not display any sounds. #233

Closed
salperinlea opened this issue Feb 13, 2022 · 34 comments
Closed
Labels
bug Something isn't working thirdparty-packaging

Comments

@salperinlea
Copy link

OS: Arch Linux 250-3-4, running kernel 5.16.8 with KDE Plasma 5.24.0 as DE.
Blanket 0.5.0-1


Running from command line, the following errors are thrown:

/usr/share/blanket/blanket/sound.py:86: Warning: g_object_setv: assertion 'G_IS_OBJECT (object)' failed
  self.set_volume(0)
/usr/share/blanket/blanket/sound.py:89: Warning: g_object_setv: assertion 'G_IS_OBJECT (object)' failed
  self.set_uri(self.sound.uri)
/usr/share/blanket/blanket/sound.py:94: Warning: g_object_get_property: assertion 'G_IS_OBJECT (object)' failed
  self.pipeline = self.get_pipeline()
Traceback (most recent call last):
  File "/usr/share/blanket/blanket/widgets.py", line 209, in _create_sound_widget
    widget = SoundRow(sound, self.model)
  File "/usr/share/blanket/blanket/widgets.py", line 70, in __init__
    self.player = SoundPlayer(self.sound)
  File "/usr/share/blanket/blanket/sound.py", line 95, in __init__
    bus = self.pipeline.get_bus()
AttributeError: 'NoneType' object has no attribute 'get_bus'
/usr/share/blanket/blanket/widgets.py:206: Warning: g_object_is_floating: assertion 'G_IS_OBJECT (object)' failed
  self.model.append(sound)

(com.rafaelmardojai.Blanket:29522): Gtk-CRITICAL **: 15:18:47.302: gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed

(com.rafaelmardojai.Blanket:29522): Gtk-CRITICAL **: 15:18:47.302: gtk_list_box_insert: assertion 'GTK_IS_WIDGET (child)' failed
/usr/share/blanket/blanket/widgets.py:206: Warning: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
  self.model.append(sound)
Traceback (most recent call last):
  File "/usr/share/blanket/blanket/widgets.py", line 209, in _create_sound_widget
    widget = SoundRow(sound, self.model)
  File "/usr/share/blanket/blanket/widgets.py", line 70, in __init__


    self.player = SoundPlayer(self.sound)
  File "/usr/share/blanket/blanket/sound.py", line 95, in __init__
    bus = self.pipeline.get_bus()
AttributeError: 'NoneType' object has no attribute 'get_bus'
 

Resultingly, the interface looks like this:
Blanket_bug

@ksdrummer
Copy link

I confirm I have the same problem on arch up to date, since few days.
(Blanket 0.5.0)

@Chipsterjulien
Copy link

Same here with ArchLinux

@kpiche
Copy link

kpiche commented Feb 24, 2022

It's the gstreamer 1.20 upgrade. It works again if you downgrade packages to 1.18.5.

@tio-trom
Copy link

Same here even the flatpak doesn't work...

@TomasKukumberg
Copy link
Contributor

@tio-trom Strange, flatpak works for me, but arch repository one does not

@tio-trom
Copy link

Very weird because flatpaks should, in theory, contain all packages for an "app". I am on arch and for me it does not work.

@rafaelmardojai
Copy link
Owner

Very weird because flatpaks should, in theory, contain all packages for an "app". I am on arch and for me it does not work.

It's showing the same error than the OP?

Flatpak is working fine for me.

@tio-trom
Copy link

Yes, same:

2022-02-28_14-27

@rafaelmardojai
Copy link
Owner

Doesn't seems to be printing the same error...

@tio-trom
Copy link

Ah I apologize I thought about the way Blanket looks, it seems broken in the same way visually and functionally.

@rafaelmardojai
Copy link
Owner

Ah I apologize I thought about the way Blanket looks, it seems broken in the same way visually and functionally.

No problem. Blanket will look like that if something failed but still allowed it to show the window.

@dxdns
Copy link

dxdns commented Mar 1, 2022

i have the same problem here

@amithiel
Copy link

amithiel commented Mar 1, 2022

same here on arch. man i love this app! really hope you can fix it!
downgrading gstreamer is not really wise
cheers

@jubalh
Copy link
Contributor

jubalh commented Mar 1, 2022

Arch people are the new Ubuntu people. Everybody feels like commenting "for me too!!! on arch btw!!". Instead of just pushing that thumbs up on the first entry.

@rafaelmardojai
Copy link
Owner

Hopefully next version will be ported to use Gst.Play from gstreamer 1.20 (I'm wanting for it to be in the master runtime) and maybe will fix the problem.

I will ask here for testers when working on this.

@rafaelmardojai rafaelmardojai added bug Something isn't working thirdparty-packaging labels Mar 3, 2022
@tio-trom
Copy link

tio-trom commented Mar 3, 2022

I just wanted to let you know that flatpak works for me. Was a matter of the old package running in the background.

@wangxa
Copy link

wangxa commented Mar 3, 2022

This is the same error as mentioned in Problem #199.

@paolomainardi
Copy link

Came here to say I have the same error and I am on Arch.

@jjgalvez
Copy link

jjgalvez commented Mar 4, 2022

same here, getting the same error on Arch, flatpak works as expected.

@tokyo36
Copy link

tokyo36 commented Mar 9, 2022

So when will the problem be solved?

@rafaelmardojai
Copy link
Owner

[4cc0817] should fix the issue, please test.

@jubalh
Copy link
Contributor

jubalh commented Mar 29, 2022

Using blanket 0.5.0 patched with 4cc08174b486f7b78c57633877c79f6a910f28ff] I get:

blanket
/usr/share/blanket/blanket/sound.py:90: Warning: g_object_setv: assertion 'G_IS_OBJECT (object)' failed
  self.set_volume(0)
/usr/share/blanket/blanket/sound.py:93: Warning: g_object_setv: assertion 'G_IS_OBJECT (object)' failed
  self.set_uri(self.sound.uri)
/usr/share/blanket/blanket/sound.py:98: Warning: g_object_get_property: assertion 'G_IS_OBJECT (object)' failed
  self.pipeline = self.get_pipeline()
Traceback (most recent call last):
  File "/usr/share/blanket/blanket/widgets.py", line 209, in _create_sound_widget
    widget = SoundRow(sound, self.model)
  File "/usr/share/blanket/blanket/widgets.py", line 70, in __init__
    self.player = SoundPlayer(self.sound)
  File "/usr/share/blanket/blanket/sound.py", line 99, in __init__
    bus = self.pipeline.get_bus()
AttributeError: 'NoneType' object has no attribute 'get_bus'
/usr/share/blanket/blanket/widgets.py:206: Warning: g_object_is_floating: assertion 'G_IS_OBJECT (object)' failed
  self.model.append(sound)

(com.rafaelmardojai.Blanket:63741): Gtk-CRITICAL **: 22:30:34.502: gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed

(com.rafaelmardojai.Blanket:63741): Gtk-CRITICAL **: 22:30:34.502: gtk_list_box_insert: assertion 'GTK_IS_WIDGET (child)' failed
/usr/share/blanket/blanket/widgets.py:206: Warning: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
  self.model.append(sound)
Traceback (most recent call last):
  File "/usr/share/blanket/blanket/widgets.py", line 209, in _create_sound_widget
    widget = SoundRow(sound, self.model)
  File "/usr/share/blanket/blanket/widgets.py", line 70, in __init__
    self.player = SoundPlayer(self.sound)
  File "/usr/share/blanket/blanket/sound.py", line 99, in __init__
    bus = self.pipeline.get_bus()
AttributeError: 'NoneType' object has no attribute 'get_bus'

(com.rafaelmardojai.Blanket:63741): Gtk-CRITICAL **: 22:30:34.503: gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed

(com.rafaelmardojai.Blanket:63741): Gtk-CRITICAL **: 22:30:34.503: gtk_list_box_insert: assertion 'GTK_IS_WIDGET (child)' failed
Traceback (most recent call last):
  File "/usr/share/blanket/blanket/widgets.py", line 209, in _create_sound_widget
    widget = SoundRow(sound, self.model)
  File "/usr/share/blanket/blanket/widgets.py", line 70, in __init__
    self.player = SoundPlayer(self.sound)
  File "/usr/share/blanket/blanket/sound.py", line 99, in __init__
    bus = self.pipeline.get_bus()
AttributeError: 'NoneType' object has no attribute 'get_bus'

(com.rafaelmardojai.Blanket:63741): Gtk-CRITICAL **: 22:30:34.504: gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed

(com.rafaelmardojai.Blanket:63741): Gtk-CRITICAL **: 22:30:34.504: gtk_list_box_insert: assertion 'GTK_IS_WIDGET (child)' failed
Traceback (most recent call last):
  File "/usr/share/blanket/blanket/widgets.py", line 209, in _create_sound_widget
    widget = SoundRow(sound, self.model)
  File "/usr/share/blanket/blanket/widgets.py", line 70, in __init__
    self.player = SoundPlayer(self.sound)
  File "/usr/share/blanket/blanket/sound.py", line 99, in __init__
    bus = self.pipeline.get_bus()
AttributeError: 'NoneType' object has no attribute 'get_bus'

(com.rafaelmardojai.Blanket:63741): Gtk-CRITICAL **: 22:30:34.505: gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed

(com.rafaelmardojai.Blanket:63741): Gtk-CRITICAL **: 22:30:34.505: gtk_list_box_insert: assertion 'GTK_IS_WIDGET (child)' failed
Traceback (most recent call last):
  File "/usr/share/blanket/blanket/widgets.py", line 209, in _create_sound_widget
    widget = SoundRow(sound, self.model)
  File "/usr/share/blanket/blanket/widgets.py", line 70, in __init__
    self.player = SoundPlayer(self.sound)
  File "/usr/share/blanket/blanket/sound.py", line 99, in __init__
    bus = self.pipeline.get_bus()
AttributeError: 'NoneType' object has no attribute 'get_bus'

(com.rafaelmardojai.Blanket:63741): Gtk-CRITICAL **: 22:30:34.505: gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed

(com.rafaelmardojai.Blanket:63741): Gtk-CRITICAL **: 22:30:34.505: gtk_list_box_insert: assertion 'GTK_IS_WIDGET (child)' failed
Traceback (most recent call last):
  File "/usr/share/blanket/blanket/widgets.py", line 209, in _create_sound_widget
    widget = SoundRow(sound, self.model)
  File "/usr/share/blanket/blanket/widgets.py", line 70, in __init__
    self.player = SoundPlayer(self.sound)
  File "/usr/share/blanket/blanket/sound.py", line 99, in __init__
    bus = self.pipeline.get_bus()
AttributeError: 'NoneType' object has no attribute 'get_bus'

(com.rafaelmardojai.Blanket:63741): Gtk-CRITICAL **: 22:30:34.506: gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed

(com.rafaelmardojai.Blanket:63741): Gtk-CRITICAL **: 22:30:34.506: gtk_list_box_insert: assertion 'GTK_IS_WIDGET (child)' failed
Traceback (most recent call last):
  File "/usr/share/blanket/blanket/widgets.py", line 209, in _create_sound_widget
    widget = SoundRow(sound, self.model)
  File "/usr/share/blanket/blanket/widgets.py", line 70, in __init__
    self.player = SoundPlayer(self.sound)
  File "/usr/share/blanket/blanket/sound.py", line 99, in __init__
    bus = self.pipeline.get_bus()
AttributeError: 'NoneType' object has no attribute 'get_bus'

(com.rafaelmardojai.Blanket:63741): Gtk-CRITICAL **: 22:30:34.507: gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed

(com.rafaelmardojai.Blanket:63741): Gtk-CRITICAL **: 22:30:34.507: gtk_list_box_insert: assertion 'GTK_IS_WIDGET (child)' failed
Traceback (most recent call last):
  File "/usr/share/blanket/blanket/widgets.py", line 209, in _create_sound_widget
    widget = SoundRow(sound, self.model)
  File "/usr/share/blanket/blanket/widgets.py", line 70, in __init__
    self.player = SoundPlayer(self.sound)
  File "/usr/share/blanket/blanket/sound.py", line 99, in __init__
    bus = self.pipeline.get_bus()
AttributeError: 'NoneType' object has no attribute 'get_bus'

(com.rafaelmardojai.Blanket:63741): Gtk-CRITICAL **: 22:30:34.508: gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed

(com.rafaelmardojai.Blanket:63741): Gtk-CRITICAL **: 22:30:34.508: gtk_list_box_insert: assertion 'GTK_IS_WIDGET (child)' failed
Traceback (most recent call last):
  File "/usr/share/blanket/blanket/widgets.py", line 209, in _create_sound_widget
    widget = SoundRow(sound, self.model)
  File "/usr/share/blanket/blanket/widgets.py", line 70, in __init__
    self.player = SoundPlayer(self.sound)
  File "/usr/share/blanket/blanket/sound.py", line 99, in __init__
    bus = self.pipeline.get_bus()
AttributeError: 'NoneType' object has no attribute 'get_bus'

(com.rafaelmardojai.Blanket:63741): Gtk-CRITICAL **: 22:30:34.509: gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed

(com.rafaelmardojai.Blanket:63741): Gtk-CRITICAL **: 22:30:34.509: gtk_list_box_insert: assertion 'GTK_IS_WIDGET (child)' failed
Traceback (most recent call last):
  File "/usr/share/blanket/blanket/widgets.py", line 209, in _create_sound_widget
    widget = SoundRow(sound, self.model)
  File "/usr/share/blanket/blanket/widgets.py", line 70, in __init__
    self.player = SoundPlayer(self.sound)
  File "/usr/share/blanket/blanket/sound.py", line 99, in __init__
    bus = self.pipeline.get_bus()
AttributeError: 'NoneType' object has no attribute 'get_bus'

(com.rafaelmardojai.Blanket:63741): Gtk-CRITICAL **: 22:30:34.510: gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed

(com.rafaelmardojai.Blanket:63741): Gtk-CRITICAL **: 22:30:34.510: gtk_list_box_insert: assertion 'GTK_IS_WIDGET (child)' failed
Traceback (most recent call last):
  File "/usr/share/blanket/blanket/widgets.py", line 209, in _create_sound_widget
    widget = SoundRow(sound, self.model)
  File "/usr/share/blanket/blanket/widgets.py", line 70, in __init__
    self.player = SoundPlayer(self.sound)
  File "/usr/share/blanket/blanket/sound.py", line 99, in __init__
    bus = self.pipeline.get_bus()
AttributeError: 'NoneType' object has no attribute 'get_bus'

(com.rafaelmardojai.Blanket:63741): Gtk-CRITICAL **: 22:30:34.511: gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed

(com.rafaelmardojai.Blanket:63741): Gtk-CRITICAL **: 22:30:34.511: gtk_list_box_insert: assertion 'GTK_IS_WIDGET (child)' failed
Traceback (most recent call last):
  File "/usr/share/blanket/blanket/widgets.py", line 209, in _create_sound_widget
    widget = SoundRow(sound, self.model)
  File "/usr/share/blanket/blanket/widgets.py", line 70, in __init__
    self.player = SoundPlayer(self.sound)
  File "/usr/share/blanket/blanket/sound.py", line 99, in __init__
    bus = self.pipeline.get_bus()
AttributeError: 'NoneType' object has no attribute 'get_bus'

(com.rafaelmardojai.Blanket:63741): Gtk-CRITICAL **: 22:30:34.511: gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed

(com.rafaelmardojai.Blanket:63741): Gtk-CRITICAL **: 22:30:34.511: gtk_list_box_insert: assertion 'GTK_IS_WIDGET (child)' failed
Traceback (most recent call last):
  File "/usr/share/blanket/blanket/widgets.py", line 209, in _create_sound_widget
    widget = SoundRow(sound, self.model)
  File "/usr/share/blanket/blanket/widgets.py", line 70, in __init__
    self.player = SoundPlayer(self.sound)
  File "/usr/share/blanket/blanket/sound.py", line 99, in __init__
    bus = self.pipeline.get_bus()
AttributeError: 'NoneType' object has no attribute 'get_bus'

(com.rafaelmardojai.Blanket:63741): Gtk-CRITICAL **: 22:30:34.512: gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed

(com.rafaelmardojai.Blanket:63741): Gtk-CRITICAL **: 22:30:34.512: gtk_list_box_insert: assertion 'GTK_IS_WIDGET (child)' failed
Traceback (most recent call last):
  File "/usr/share/blanket/blanket/widgets.py", line 209, in _create_sound_widget
    widget = SoundRow(sound, self.model)
  File "/usr/share/blanket/blanket/widgets.py", line 70, in __init__
    self.player = SoundPlayer(self.sound)
  File "/usr/share/blanket/blanket/sound.py", line 99, in __init__
    bus = self.pipeline.get_bus()
AttributeError: 'NoneType' object has no attribute 'get_bus'

(com.rafaelmardojai.Blanket:63741): Gtk-CRITICAL **: 22:30:34.513: gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed

(com.rafaelmardojai.Blanket:63741): Gtk-CRITICAL **: 22:30:34.513: gtk_list_box_insert: assertion 'GTK_IS_WIDGET (child)' failed

@yochananmarqos
Copy link

@rafaelmardojai Yes, that works.

@jubalh No idea how you're "patching" the stable version with one commit, but it won't work by itself. You'll need to install directly from the master branch or install the blanket-git AUR package if you're using Arch.

@rafaelmardojai
Copy link
Owner

Using blanket 0.5.0 patched with 4cc08174b486f7b78c57633877c79f6a910f28ff] I get:

Please build from master. 0.5.0 is 43 commits behind master and those changes may influence.

@rafaelmardojai
Copy link
Owner

Yes, that works.

@yochananmarqos Nice, will prepare to release this week then.

@yochananmarqos
Copy link

@rafaelmardojai Well, there is a separate issue that should be addressed:

/usr/share/blanket/blanket/sound.py:6: PyGIWarning: GstPlay was imported without specifying a version first. Use gi.require_version('GstPlay', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository.GstPlay import Play as GStreamerPlay

@rafaelmardojai
Copy link
Owner

@yochananmarqos see: #199 (comment)

@jubalh
Copy link
Contributor

jubalh commented Mar 29, 2022

Please build from master. 0.5.0 is 43 commits behind master and those changes may influence.

In your message you mentioned that this commit should fix it. So obvisously I took this commit only.

@rafaelmardojai
Copy link
Owner

@jubalh Yeah sorry, probably my comment was misleading.

@graves501
Copy link

Thanks for creating this application, really cool idea! It was mentioned in The Linux Experiment's video, so I wanted to try it out. Sadly on Manjaro it's the same issue like mentioned above, but the flatpak worked perfectly fine!

@Phundrak
Copy link

Phundrak commented Apr 4, 2022

I installed blanket from both the community repo and from the AUR (with blanket-git). While the former do not show any sound, as others have shown above, blanket-git seems to work. Here is the terminal output of blanket 0.5.0-1. The output of blanket-git as of commit cb28ca3 simply outputs this:

/usr/share/blanket/blanket/sound.py:6: PyGIWarning: GstPlay was imported without specifying a version first. Use gi.require_version('GstPlay', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository.GstPlay import Play as GStreamerPlay

@shmu26
Copy link

shmu26 commented May 8, 2022

I see this same issue on Kubuntu 22.04, when installed from PPA. The Flatpak version works as expected.

@rafaelmardojai
Copy link
Owner

I see this same issue on Kubuntu 22.04, when installed from PPA. The Flatpak version works as expected.

Looks like the PPA hasn't be updated to 0.6.0.

@rafaelmardojai
Copy link
Owner

Closing this since 0.6.0 is in the arch repos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working thirdparty-packaging
Projects
None yet
Development

No branches or pull requests