tuberry / light-dict

Lightweight extension for on-the-fly manipulation to primary selections, especially optimized for Dictionary lookups.
GNU General Public License v3.0
34 stars 1 forks source link

Error on Debian 12, Gnome 43.6 #26

Closed redscorpse closed 1 year ago

redscorpse commented 1 year ago

The settings of extension light-dict@tuberry.github.io had an error:

TypeError: method Gtk.CssProvider.load_from_data: At least 2 arguments required, but only 1 passed

Stack trace:

fillPreferencesWindow@/home/reds/.local/share/gnome-shell/extensions/light-dict@tuberry.github.io/prefs.js:29:14
_init@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:27:29
ExtensionPrefsDialog@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:10:4
OpenExtensionPrefsAsync@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:124:33
async*LaunchExtensionPrefsAsync@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:110:14
_handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:373:35
_wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:408:34
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:186:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:22:13
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
start@resource:///org/gnome/gjs/modules/script/package.js:190:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17
tuberry commented 1 year ago

Duplicate of #23. Please install from Github to fix:

git clone --recurse-submodules https://github.com/tuberry/light-dict.git && cd light-dict
git checkout 16c9702 && meson setup build && meson install -C build