Skip to content
Advertisement

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

Advertisement

Answer

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.

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement