question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to load module "appmenu-gtk-module"

See original GitHub issue

I installed orca via

conda install -c plotly plotly-orca

Running it, I get the message

$ orca
Gtk-Message: 20:48:12.453: Failed to load module "appmenu-gtk-module"
Segmentation fault

On my system (Debian 10.2) there is no package appmenu-gtk-module. Instead I tried installing appmenu-gtk2-module and appmenu-gtk-module-common, with no success.

chromium is installed, since it is my default browser.

How do I get orca to run? I need it for PDF export from plotly.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
antoinergcommented, Feb 3, 2020

On my system (Debian 10.2) there is no package appmenu-gtk-module

Can you please try installing appmenu-gtk3-module or appmenu-gtk2-module and report here whether it fixed the problem or not?

PS: Why does a command-line program that has no UI and is meant to run invisibly in the background have so many dependencies on desktop libraries and need a running X server?

@allefeld the reason is that plotly.js was designed for the web first and therefore relies on having a functional browser (a DOM, a WebGL renderer, etc.) to build figures. At the moment, I don’t think that running plotly.js outside the browser would be trivial (at least not if we want to support all the different trace types). Therefore, we have to ship a browser, a display server, and all the other dependencies. It is not ideal but that’s what it is.

If you have Docker on your Linux machine, I personally recommend running Orca in a Docker container docker run -p 9091:9091 quay.io/plotly/orca which is 1) a one-liner and 2) will always work reproducibly.

0reactions
allefeldcommented, Feb 3, 2020

Great, thanks a lot!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to load module appmenu-gtk-module + canberra-gtk ...
When running PyQt5 apps on Ubuntu 19.10 I was getting annoying Gtk-Message: Failed to load module "appmenu-gtk-module" warnings. This answer ...
Read more >
How to fix this error: "Failed to load module: appmenu ... - Reddit
I checked and confirmed that "appmenu-gtk-module" is installed. So why it is not being found? Thanks guys. DPC.
Read more >
How to fix this error: "Failed to load ... - LinuxQuestions.org
I have manage to do a fsck on corrupted Fs on my partition and entered into DE, but this same "failed to load...
Read more >
Matlab on Linux - Failed to load module "appmenu-gtk-module"
I installed Matlab R2021b on Ubuntu 20.04.3 and i am unable to open the app just by running it normally with "matlab" command...
Read more >
Gtk-rs Error: Failed to load module "appmenu-gtk-module"
When I try to run my gtk-rs project it shows this error: Failed to load module "appmenu-gtk-module". and also this error: Failed to ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found