msupply-foundation / open-msupply

Open mSupply represents our most recent advancement in the Logistics Management Information System (LMIS), expanding on more than two decades of development inherited from the well-established legacy of the original mSupply.
https://msupply.foundation/open-msupply/
Other
20 stars 12 forks source link

OMS check tool fails to run GUI version on windows #4719

Open mark-prins opened 2 weeks ago

mark-prins commented 2 weeks ago

What went wrong? 😲

When running the check tool on windows with no command line args, you get

egui_glow requires opengl 2.0+.

Secondary issue: if you run the cli version then the server ping test fails. for that issue you can change 0.0.0.0 to localhost

e.g.

fn get_url(config: &service::settings::Settings) -> Result<Url> {
    let address = config.server.address().replace("0.0.0.0", "localhost");
...

Expected behaviour 🤔

GUI should work in windows

How to Reproduce 🔨

Steps to reproduce the behaviour:

  1. Run cargo run --bin test_connection on windows

Your environment 🌱

lache-melvin commented 1 week ago

Setting to normal - should work on windows (maybe we should have higher priority so support can use this tool) but not breaking any workflows right now