Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications

I am working on python project with opencv on Ubuntu OS

import numpy as np
import cv2

img = cv2.imread("LillyBellea.png", 1)
img = cv2.imwrite("LillyBellea.jpeg", img)
cv2.imshow("original", img)
cv2.waitKey(0)
cv2.destroyAllWindows()

when i am running this program then i am getting error

GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.

can any one please help here, I have follow this answer but its not working for me

like image 743
Bhushan Uniyal Avatar asked Jul 05 '17 19:07

Bhushan Uniyal


2 Answers

This fixed the issue for me:

export GIO_EXTRA_MODULES=/usr/lib/x86_64-linux-gnu/gio/modules/

See: https://github.com/conda-forge/glib-feedstock/issues/19 for more info.

like image 60
moorepants Avatar answered Nov 06 '22 12:11

moorepants


sudo apt install dconf-gsettings-backend:i386

Fixed it for me. (Note: in my case I was running x86 app on x64 system.)

like image 38
Andriy Avatar answered Nov 06 '22 13:11

Andriy