stronnag / mwptools

ground station, mission planner and tools for inav and multiwii-nav
http://stronnag.github.io/mwptools/
GNU General Public License v3.0
190 stars 35 forks source link

can't GtkClutter.init #170

Closed Rothammel closed 3 months ago

Rothammel commented 3 months ago

I am using Windows 11 and have installed ubuntu 22 LTS from the store. mwp was installed with the sh script, unfortunately I get the error at startup:

stan@surface:~$ mwp Fatal: can't GtkClutter.init

stronnag commented 3 months ago

Strictly the error is because mwp cannot initialise the graphics subsystem (OpenGL) that it needs. In theory, WSL2 should supply this.

If the above steps still fail, please report back and we'll come up with some other diagnostics.

Rothammel commented 3 months ago

ok, I am using a new Ubuntu 22LTS. and run apt update apt upgrade curl -LO https://github.com/stronnag/mwptools/releases/download/7.057.554/mwptools_7.057.554_amd64.deb apt install ./mwptools_7.057.554_amd64.deb

everything with sudo

N: Download is performed unsandboxed as root as file '/home/stan/mwptools_7.057.554_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) but mwp is now running, thank you

stronnag commented 3 months ago

well if you really thing that downloading stuff as root into your home directory is a good idea, you get what you deserve. The installation instructions do not tell you to do that.