Closed antonkulaga closed 2 years ago
Actually, I have no idea why it also asks for gtk-module stuff, they do not seem to be needed
@antonkulaga That is a strange error indeed. Probably it's a Linux thing. I'll look into it.
I checked and I have it on at least two Linux machines. To reproduce - try to install any modules (for example Clinpred):
Traceback (most recent call last):
File "/data/users/antonkulaga/micromamba/envs/dna-seq/lib/python3.9/site-packages/oakvar/webstore/webstore.py", line 89, in fetch_install_queue
install_module(
File "/data/users/antonkulaga/micromamba/envs/dna-seq/lib/python3.9/site-packages/oakvar/module/__init__.py", line 498, in install_module
raise e
File "/data/users/antonkulaga/micromamba/envs/dna-seq/lib/python3.9/site-packages/oakvar/module/__init__.py", line 437, in install_module
set_stage_handler(args=args)
File "/data/users/antonkulaga/micromamba/envs/dna-seq/lib/python3.9/site-packages/oakvar/module/__init__.py", line 275, in set_stage_handler
args["install_state"] = stage_handler.install_state # type: ignore
NameError: name 'stage_handler' is not defined
@antonkulaga Regarding the Gtk-Message
, it seems to be related to Ubuntu and Firefox or Gtk. See https://askubuntu.com/questions/1306558/failed-to-load-module-canberra-gtk-module-proxychains for a solution with Firefox, which is installing Firefox with apt
instead of snap
. Another solution is at https://askubuntu.com/questions/1396739/failed-to-load-module-xapp-gtk3-module, which seems to point at installing missing modules with apt
.
Regarding the issue with stage_handler
, looking into it.
@antonkulaga Just published oakvar v2.5.8 which has a fix for the stage_handler
issue.
I confirm, I do not see stage_handler issue anymore
I am constantly getting NameError: name 'stage_handler' is not defined when I install apps. Did not notice what exactly it crashes but it is annoying to see it in logs