typelib not bind to libdiodon
Bug #1309893 reported by
Oliver Sauder
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Diodon |
Fix Released
|
Low
|
Oliver Sauder |
Bug Description
When accessing a Diodon class in python through typelib does following error occur:
Warning: cannot retrieve class for invalid (unclassed) type 'void'
storage = Diodon.
Traceback (most recent call last):
File "./get_
main()
File "./get_
storage = Diodon.
This indicates that the typelib library is not bind with the libdiodon shared library and cannot therefore find the type.
Related branches
Changed in diodon: | |
status: | Triaged → Fix Committed |
Changed in diodon: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I'm not sure if it's the same issue but a similar error exists with the latest version in 20.04 as well. When I try to install https:/ /github. com/RedHatter/ diodon- gnome-indicator extension, I get the following error from gnome-shell:
gnome-shell[16127]: JS ERROR: Extension <email address hidden>: /controller. js:1:35 /extension. js:13:20 Init@resource: ///org/ gnome/shell/ ui/extensionSys tem.js: 403:13 Enable@ resource: ///org/ gnome/shell/ ui/extensionSys tem.js: 144:18 nsionsChanged/ <@resource: ///org/ gnome/shell/ ui/extensionSys tem.js: 475:18 nsionsChanged@ resource: ///org/ gnome/shell/ ui/extensionSys tem.js: 474:11 createCheckedMe thod/<@ resource: ///org/ gnome/gjs/ modules/ core/overrides/ Gio.js: 529:46 n@resource: ///org/ gnome/shell/ ui/extensionSys tem.js: 193:29 n@resource: ///org/ gnome/shell/ ui/shellDBus. js:307: 38 all@resource: ///org/ gnome/gjs/ modules/ core/overrides/ Gio.js: 327:38 <@resource: ///org/ gnome/gjs/ modules/ core/overrides/ Gio.js: 404:34
Error: Unsupported type void, deriving from fundamental void
@/<email address hidden>
@/<email address hidden>
_callExtension
_callExtension
_onEnabledExte
_onEnabledExte
_init/
enableExtensio
EnableExtensio
_handleMethodC
_wrapJSObject/
gnome-shell[16127]: Failed to load shared library 'libdiodon' referenced by the typelib: libdiodon.so: cannot open shared object file: No such file or directory
I believe this is a packaging error since the problem is easily fixed with creating a symlink for libdiodon like the following.
sudo ln -s /usr/lib/ x86_64- linux-gnu/ libdiodon. so.0 /usr/lib/ x86_64- linux-gnu/ libdiodon. so
I have version 1.9.0-1 from the default repository (gir1.2-diodon-1.0, libdiodon0, diodon).
gnome-shell version 3.36.1-5ubuntu1.