Open talumbau opened 5 months ago
I found this issue when trying to test https://github.com/PSLmodels/OG-Core/pull/925 which should provide a speedup for TPI.
I confirm that when I ran the example run_og_usa.py
in a terminal using the desktop environment of my Linux workstation (I think it's based on Gnome), the code was able to run but with this warning:
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
so I think there is something in the example that expects a GUI capability to be present in the environment. This will need some kind of fix (at least for my use case) because I need a persistent shell session (as provided by tmux) to execute long running jobs.
@talumbau I think PR #101 should fix this.
thank you! Will try and report results.
Not really sure what's going on but I'm getting a crash when running the example with a recently synced version of OG-USA + OG-Core. I'm running in a Linux terminal through tmux which can have odd behavior if you are running a program that has any sort of GUI feature. I didn't anticipate that such a thing would happen with OG-USA, but it appears that the program is attempting to do something with a windowing component. Here is the crash message:
I'm wondering if something has recently changed in OG-USA to, for example, bring in some matplotlib command automatically. Anything with automatic plot generation or drawing to a component that would need a GUI library like Qt. Is this familiar to you @jdebacker or @rickecon ?