Post #2839382
2026-05-21 10:01 UTC
@draeand@social.the-gdn.net I am unable to get it to work although it's likelly I am doing something wrong.
I have pulled latest changes from github. Built the prism locally like this:
cmake build .
cd build
make
I have then placed the file libprism.so into a folder
bindings/py/prism/prism/_native
And then doing on the command line:
cd bindings/py/prism/prism
python
>>> import prism
>>> ctx = prism.Context()
>>> backend = ctx.acquire_best()
** (process:422192): CRITICAL **: 11:52:35.153: Glib::ObjectBase* Glib::wrap_create_new_wrapper(GObject*): assertion 'wrap_func_table != nullptr' failed
** (process:422192): WARNING **: 11:52:35.154: Failed to wrap object of type 'GDBusConnection'. Hint: this error is commonly caused by failing to call a library
init() function.
Oh perhaps we should move to github with this discussion.
I will be looking at it more tonight.
Replies (2)
-
@draeand@social.the-gdn.net 2026-05-21 10:51
@pvagner I agree. It’s super early in the morning here so it will be much easier to deal with on GitHub.
-
@draeand@social.the-gdn.net 2026-05-21 13:22
@pvagner Can you try with the just-pushed commit? I didn't know I had to initialize geomm and glibmm, so I just fixed that problem. It should in theory work fine now