You are not logged in.

#1 2021-06-27 15:32:36

milomak
Member
Registered: 2009-11-04
Posts: 61

gsettings/schema issue

i am trying to run a program

i then get the following error

GLib-GIO-ERROR **: 17:30:34.252: No GSettings schemas are installed on the system

but schemas are installed

$ pacman -Ss gsettings-desktop-schemas
extra/gsettings-desktop-schemas 40.0-3 [installed]
    Shared GSettings schemas for the desktop

i've run sudo glib-compile-schemas /usr/share/glib-2.0/schemas and that hasn't helped

what am i missing?

Offline

#2 2021-06-27 15:35:18

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,694

Re: gsettings/schema issue

What program?  How are you starting it?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2021-06-27 15:40:50

milomak
Member
Registered: 2009-11-04
Posts: 61

Re: gsettings/schema issue

hypnotix

i've installed from aur using rua. and also via github.

both methods give the same issue

so for instance i've tried python3 usr/lib/hypnotix/hypnotix.py from the git directory

Offline

#4 2021-06-27 15:45:54

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,694

Re: gsettings/schema issue

Different set of issues here.  But I do not get the error you report.   Mine look like it does not care for Wayland.

ewaller@odin/home/ewaller/devel/build/hypnotix % hypnotix 
ewaller@odin/home/ewaller/devel/build/hypnotix % Loading providers...
Free-TV: Getting playlist...
Free-TV: Checking playlist...
Free-TV: Loading channels...
Traceback (most recent call last):
  File "/usr/lib/hypnotix/hypnotix.py", line 1227, in on_mpv_drawing_area_realize
    self.reinit_mpv()
  File "/usr/lib/hypnotix/hypnotix.py", line 1248, in reinit_mpv
    input_vo_keyboard=True,osc=True, ytdl=True, wid=str(self.mpv_drawing_area.get_window().get_xid()))
AttributeError: 'GdkWaylandWindow' object has no attribute 'get_xid'
CHANNEL: 'CNN' (https://cnn-cnninternational-1-de.samsung.wurl.com/manifest/playlist.m3u8)
Exception in thread Thread-3:
Traceback (most recent call last):
  File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.9/threading.py", line 892, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/hypnotix/hypnotix.py", line 644, in play_async
    self.reinit_mpv()
  File "/usr/lib/hypnotix/hypnotix.py", line 1248, in reinit_mpv
    input_vo_keyboard=True,osc=True, ytdl=True, wid=str(self.mpv_drawing_area.get_window().get_xid()))
AttributeError: 'GdkWaylandWindow' object has no attribute 'get_xid'

ewaller@odin/home/ewaller/devel/build/hypnotix % 

Last edited by ewaller (2021-06-27 15:46:53)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2021-06-27 20:39:58

milomak
Member
Registered: 2009-11-04
Posts: 61

Re: gsettings/schema issue

i think that's the issue. that what should be schema are seemingly installed. but are not picked up.

Offline

#6 2021-06-27 21:37:54

milomak
Member
Registered: 2009-11-04
Posts: 61

Re: gsettings/schema issue

right it seems there is a bigger issue

main-arch ~ # pacman -R extra/gsettings-desktop-schemas
error: target not found: extra/gsettings-desktop-schemas
main-arch ~ :( # pacman -S extra/gsettings-desktop-schemas
warning: gsettings-desktop-schemas-40.0-3 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) gsettings-desktop-schemas-40.0-3

Total Installed Size:  4.50 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                  [###################################################################] 100%
(1/1) checking package integrity                                                                                [###################################################################] 100%
(1/1) loading package files                                                                                     [###################################################################] 100%
(1/1) checking for file conflicts                                                                               [###################################################################] 100%
(1/1) checking available disk space                                                                             [###################################################################] 100%
:: Processing package changes...
(1/1) reinstalling gsettings-desktop-schemas                                                                    [###################################################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Compiling GSettings XML schema files...
main-arch ~ # pacman -R extra/gsettings-desktop-schemas
error: target not found: extra/gsettings-desktop-schemas

Offline

#7 2021-06-28 00:01:17

loqs
Member
Registered: 2014-03-06
Posts: 19,015

Re: gsettings/schema issue

If you trace the commands activity with strace to see what files it opens,  that may show what it is failing to find:

strace -e trace=%file hypnotix

Offline

#8 2021-06-28 00:10:55

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: gsettings/schema issue

milomak wrote:

right it seems there is a bigger issue

main-arch ~ # pacman -R extra/gsettings-desktop-schemas
error: target not found: extra/gsettings-desktop-schemas
main-arch ~ :( # pacman -S extra/gsettings-desktop-schemas
warning: gsettings-desktop-schemas-40.0-3 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) gsettings-desktop-schemas-40.0-3

Total Installed Size:  4.50 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                  [###################################################################] 100%
(1/1) checking package integrity                                                                                [###################################################################] 100%
(1/1) loading package files                                                                                     [###################################################################] 100%
(1/1) checking for file conflicts                                                                               [###################################################################] 100%
(1/1) checking available disk space                                                                             [###################################################################] 100%
:: Processing package changes...
(1/1) reinstalling gsettings-desktop-schemas                                                                    [###################################################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Compiling GSettings XML schema files...
main-arch ~ # pacman -R extra/gsettings-desktop-schemas
error: target not found: extra/gsettings-desktop-schemas

Not an issue at all, it's the expected behaviour.

You can only define the repo when using pacman -S, it makes no sense when using pacman -R as you can only have a single package with a unique name installed. Running pacman -R gsettings-desktop-schemas will remove the package.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB