Tiny Core Extensions > TCE Corepure64

gnome-music not working

(1/2) > >>

nick65go:

--- Code: ---tc@box:~$ tce-load -i gnome-music
dleyna-core.tcz: OK
dleyna-connector-dbus.tcz: OK
dleyna-server.tcz: OK
gupnp-av.tcz: OK
dleyna-renderer.tcz: OK
python3.6-urllib3.tcz: OK
python3.6-idna.tcz: OK
python3.6-chardet.tcz: OK
python3.6-certifi.tcz: OK
python3.6-requests.tcz: OK
gnome-music.tcz: OK
tc@box:~$ gnome-music
Traceback (most recent call last):
  File "/usr/local/bin/gnome-music", line 47, in <module>
    gi.require_version('Gtk', '3.0')
AttributeError: module 'gi' has no attribute 'require_version'
--- End code ---

Juanito:
That was caused by a missing dep on py3.6gobject, which in turn threw up a bunch of missing runtime *gir deps - I didn't think gnome-music would work out of the gnome desktop environment, so this had been missed.

gnome-music dep file updated

nick65go:

--- Code: ---tc@box:~$ XDG_MUSIC_DIR=/home/tc gnome-music
14:44:41 WARNING        XDG Music dir is not set

(gnome-music:17097): Grilo-WARNING **: 14:44:42.548: [registry] grl-registry.c:1053: Failed to open module: liblua.so.5.3: cannot open shared object file: No such file or directory

(gnome-music:17097): Grilo-WARNING **: 14:44:42.569: [registry] grl-registry.c:1053: Failed to open module: libdmapsharing-3.0.so.2: cannot open shared object file: No such file or directory
--- End code ---

FYI: now gnome-music starts (sort of), shows a box, and can not be used alone; but still some libs missing
BTW, i never used gnome-music, just tried to see which is the offer...

Juanito:
As mentioned, this is most probably because it needs to be run in the gnome environment with various daemons auto-started by gnome-session - at least tracker, but possibly others...

The missing libs you show are optional.

If you're feeling adventurous, start the dbus daemon, run tracker-preferences, choose a music folder, save settings,  check the tracker daemons have started and you might see some music - you might also need to run xdg-user-dirs-update before tracker-preferences.

nick65go:
the important thing is that you had a look over it.
and maybe it can not run independently of gnome (full) environment.

this i tried, for fun only:

--- Code: ---tc@box:~$ /usr/local/etc/init.d/dbus status
dbus is running.
--- End code ---


--- Code: ---tc@box:~$ xdg-user-dir
/home/tc
tc@box:~$ xdg-user-dirs-update
--- End code ---


--- Code: ---tc@box:~$ tracker-preferences
Gtk-Message: 15:29:26.214: GtkDialog mapped without a transient parent. This is discouraged.
tracker-miner-fs: Key 'index-single-directories' changed
tracker-miner-fs: Key 'index-recursive-directories' changed
tracker-miner-fs: Key 'ignored-directories' changed
tracker-miner-fs: Key 'ignored-files' changed
tracker-miner-fs: Key 'ignored-directories-with-content' changed
tracker-miner-fs: Key 'low-disk-space-limit' changed
tracker-miner-fs: Key 'removable-days-threshold' changed
tracker-miner-fs: Key 'sched-idle' changed
tracker-extract: Key 'sched-idle' changed

--- End code ---

--- Code: ---tc@box:~$ tracker daemon start &
tc@box:~$
(tracker daemon:19886): Tracker-WARNING **: 15:36:46.307: Error parsing miner .desktop file: No such file or directory

(tracker daemon:19886): Tracker-WARNING **: 15:36:46.308: Essential data (DBusPath, NameSuffix or Name) are missing in miner .desktop file
Store:
18 May 2019, 15:36:46:    0%  Store                 - Idle

Miners:
18 May 2019, 15:36:46:  ?     File System           - Not running or is a disabled plugin
18 May 2019, 15:36:46:  ?     Extractor             - Idle
18 May 2019, 15:36:46:  ?     Applications          - Not running or is a disabled plugin

^C
--- End code ---

--- Code: ---tc@box:~$ gnome-music

(gnome-music:19894): Grilo-WARNING **: 15:36:57.557: [registry] grl-registry.c:1053: Failed to open module: liblua.so.5.3: cannot open shared object file: No such file or directory

(gnome-music:19894): Grilo-WARNING **: 15:36:57.577: [registry] grl-registry.c:1053: Failed to open module: libdmapsharing-3.0.so.2: cannot open shared object file: No such file or directory

(gnome-music:19894): Grilo-WARNING **: 15:36:57.582: [registry] grl-registry.c:1053: Failed to open module: libdmapsharing-3.0.so.2: cannot open shared object file: No such file or directory
[1]+  Done                       tracker daemon start
tc@box:~$

--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version