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

Glib-CRITICAL(s): Impossible to get APP working after long trying #37

Open
juanitopons opened this issue Nov 20, 2019 · 1 comment
Open

Comments

@juanitopons
Copy link

juanitopons commented Nov 20, 2019

Hi there!

After long trying to install dependencies and all the stuff in different ways I can't get the application to work properly.
Playerctl is working, I'm getting song info....from browser-mpris and playerctl from chrome:

(playerctl:3223): playerctl-WARNING **: 18:06:43.632: mpris:trackid is a string, not a D-Bus object reference
chrome xesam:album               
chrome xesam:artist              Kuba Branicki
chrome xesam:title               Elton John - I Guess That's Why They Call It The Blues (Greatest Hits 1970-2002 20/34)
chrome mpris:trackid             '/L_5FbDDgaL54g'
chrome mpris:artUrl              https://i.ytimg.com/vi/L_bDDgaL54g/hqdefault.jpg
chrome xesam:url                 https://www.youtube.com/watch?v=L_bDDgaL54g
chrome xesam:title               (1) Elton John - I Guess That's Why They Call It The Blues (Greatest Hits 1970-2002 20/34)
chrome mpris:length              284181000

(playerctl:3223): playerctl-WARNING **: 18:11:27.877: mpris:trackid is a string, not a D-Bus object reference

(playerctl:3223): playerctl-WARNING **: 18:11:28.361: mpris:trackid is a string, not a D-Bus object reference
chrome xesam:album               
chrome xesam:artist              Kuba Branicki
chrome xesam:title               Elton John - Sad Songs (Say So Much) (Greatest Hits 1970-2002 21/34)
chrome mpris:trackid             '/H_5FG7oKoSfuU'
chrome mpris:artUrl              https://i.ytimg.com/vi/H_G7oKoSfuU/hqdefault.jpg
chrome xesam:url                 https://www.youtube.com/watch?v=H_G7oKoSfuU
chrome xesam:title               (1) Elton John - Sad Songs (Say So Much) (Greatest Hits 1970-2002 21/34)
chrome mpris:length              250301000

(playerctl:3223): playerctl-WARNING **: 18:15:38.819: mpris:trackid is a string, not a D-Bus object reference
(playerctl:3223): playerctl-WARNING **: 18:15:39.292: mpris:trackid is a string, not a D-Bus object reference
chrome xesam:album               
chrome xesam:artist              Kuba Branicki
chrome xesam:title               Elton John - Don't Go Breaking My Heart [with Kiki Dee] (Greatest Hits 1970-2002 16/34)
chrome mpris:trackid             '/70IwMx57sjE'
chrome mpris:artUrl              https://i.ytimg.com/vi/70IwMx57sjE/hqdefault.jpg
chrome xesam:url                 https://www.youtube.com/watch?v=70IwMx57sjE
chrome xesam:title               (1) Elton John - Don't Go Breaking My Heart [with Kiki Dee] (Greatest Hits 1970-2002 16/34)
chrome mpris:length              275181000
chrome xesam:album               
chrome xesam:artist              Kuba Branicki
chrome xesam:title               Elton John - Don't Go Breaking My Heart [with Kiki Dee] (Greatest Hits 1970-2002 16/34)
(playerctl:3223): playerctl-WARNING **: 18:16:31.994: mpris:trackid is a string, not a D-Bus object reference

BUT, can't get lirycs from Lyrics APP, its synchronyze with controls even when I play I know app knows because I don't get the message of "No player or no song playing" in the app screen.
But several GLib CRITICAL are displayed and I have no clue about what the hell is going on there, men!.

I even download jhbuild to try to develop some 'Window hello.py GTK3+ app' and it worked perfectly without Glib error (i was thinking maybe GTK maybe was involved, but NO). I checked all dependencies and are installed correctly.
The thing is that lyricsources installs automatically to python2.7 dist-packages and lyrics app installs on python3.6 site-packages (I don't know a lot about python, but I can confirm python 3.6 has PyObject dependency installed:

cairo
Cython
Cython-0.29.14.dist-info
cython.py
gi
jhbuild
lyricsources
meson-0.52.0.dist-info
mesonbuild
plyr-1.0.2.dist-info
plyr.cpython-36m-x86_64-linux-gnu.so
__pycache__
pycairo-1.18.2.dist-info
PyGObject-3.34.0.dist-info
pygtkcompat
pyximport

When I try to execute the application, it starts, but when play several Glib erro rare dislpayed:

(com.github.naaando.lyrics:23477): Pango-CRITICAL **: 18:16:17.502: pango_font_description_set_size: assertion 'size >= 0' failed

(com.github.naaando.lyrics:23477): GLib-GObject-CRITICAL **: 18:16:17.594: Flags for property 'state' on class 'MprisPlayer' remove functionality compared with the property on interface 'LyricsPlayer'


(com.github.naaando.lyrics:23477): GLib-GObject-CRITICAL **: 18:16:17.595: Flags for property 'busname' on class 'MprisPlayer' remove functionality compared with the property on interface 'LyricsPlayer'


(com.github.naaando.lyrics:23477): GLib-GIO-WARNING **: 18:16:17.597: Received property Position with type i does not match expected type x in the expected interface

(com.github.naaando.lyrics:23477): GLib-CRITICAL **: 18:16:17.668: g_variant_get_type: assertion 'value != NULL' failed

(com.github.naaando.lyrics:23477): GLib-CRITICAL **: 18:16:17.668: g_variant_type_is_subtype_of: assertion 'g_variant_type_check (type)' failed

(com.github.naaando.lyrics:23477): GLib-CRITICAL **: 18:16:17.668: g_variant_get_strv: assertion 'g_variant_is_of_type (value, G_VARIANT_TYPE_STRING_ARRAY)' failed

** (com.github.naaando.lyrics:23477): CRITICAL **: 18:16:25.929: lyrics_lyrics_service_request_lyric: assertion 'song != NULL' failed

(com.github.naaando.lyrics:23477): GLib-CRITICAL **: 18:16:25.932: g_variant_get_int64: assertion 'g_variant_is_of_type (value, G_VARIANT_TYPE_INT64)' failed
** Message: 18:16:31.737: MprisPlayer.vala:46: removing player org.mpris.MediaPlayer2.chrome

** (com.github.naaando.lyrics:23477): CRITICAL **: 18:17:22.905: lyrics_lyrics_service_request_lyric: assertion 'song != NULL' failed

(com.github.naaando.lyrics:23477): GLib-CRITICAL **: 18:17:22.906: g_variant_get_int64: assertion 'g_variant_is_of_type (value, G_VARIANT_TYPE_INT64)' failed

(com.github.naaando.lyrics:23477): GLib-CRITICAL **: 18:17:23.695: g_variant_get_type: assertion 'value != NULL' failed

(com.github.naaando.lyrics:23477): GLib-CRITICAL **: 18:17:23.695: g_variant_type_is_subtype_of: assertion 'g_variant_type_check (type)' failed

(com.github.naaando.lyrics:23477): GLib-CRITICAL **: 18:17:23.695: g_variant_get_strv: assertion 'g_variant_is_of_type (value, G_VARIANT_TYPE_STRING_ARRAY)' failed
** Message: 18:17:28.983: MprisPlayer.vala:46: removing player org.mpris.MediaPlayer2.chrome

I also tried differents mpris integration for chrome, but stil no luck.
I don't know if info from mpris is getting right, as it stands in the output log:

(playerctl:3223): playerctl-WARNING **: 18:16:31.994: mpris:trackid is a string, not a D-Bus object reference

But some other things seems to be broken too.
Any ideas?

Of course, I appreciate your support and development. Thank you very much and congrats.

@naaando naaando pinned this issue Dec 8, 2019
@Wazzaps
Copy link

Wazzaps commented Feb 27, 2020

Ever found a fix for this?

@naaando naaando unpinned this issue Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants