Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2061  / 2 Years ago, fri, december 24, 2021, 4:23:05

I try to use sushi (which offer similar feature like Quick Look on MacOS ) on Ubuntu 19.04.
Got this error:



(sushi-start:8478): Gjs-WARNING **: 15:07:50.705: JS ERROR: Error: Requiring Sushi, version none: Requiring namespace 'GtkSource' version '3.0', but '4' is already loaded
@/usr/share/sushi/js/viewers/text.js:33:7

More From » gnome

 Answers
5

Adding imports.gi.versions.GtkSource = "3.0";



to the start of the file /usr/share/sushi/js/viewers/text.js fixed this for me.



See https://gitlab.gnome.org/GNOME/sushi/issues/12 and https://bugs.archlinux.org/task/59447


[#5246] Sunday, December 26, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rillrage

Total Points: 122
Total Questions: 120
Total Answers: 103

Location: Tokelau
Member since Thu, Aug 26, 2021
3 Years ago
;