Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Windows] No working CLI output #3710

Closed
alex-w opened this issue Apr 10, 2024 · 9 comments
Closed

[Windows] No working CLI output #3710

alex-w opened this issue Apr 10, 2024 · 9 comments
Assignees
Labels
bug Something likely wrong in the code importance: low Small problem, rarely visible, no crash
Milestone

Comments

@alex-w
Copy link
Member

alex-w commented Apr 10, 2024

Expected Behaviour

Seeing the list of options when stellarium running with parameter --help in CLI

Actual Behaviour

Not seeing the list of options when stellarium running with parameter --help (or version number when --version is used) in CLI

System

  • Stellarium version: 24.1
  • Operating system: Windows 10
  • Graphics Card: agnostic
@alex-w alex-w added the bug Something likely wrong in the code label Apr 10, 2024
@10110111
Copy link
Contributor

Well, this may be a hard problem. Given that Stellarium is a GUI app, you may need to get a console for this (with AttachConsole or, if it fails, AllocConsole).

@alex-w alex-w added the importance: low Small problem, rarely visible, no crash label Apr 10, 2024
@10110111
Copy link
Contributor

Additinally, I'm not sure if this will work well with e.g. GitBash console, which is not the normal Windows (CSRSS/ConHost-based) console.

@alex-w
Copy link
Member Author

alex-w commented Apr 10, 2024

It was working before, but when we broke it?

@10110111
Copy link
Contributor

No idea. Try git-bisect, if you know which version worked.

@alex-w
Copy link
Member Author

alex-w commented Apr 10, 2024

No idea. Try git-bisect, if you know which version worked.

It was many years ago, so, git-bisect not helping here…

@alex-w
Copy link
Member Author

alex-w commented Apr 11, 2024

It was broken since 0.10.0 (migration to Qt4) :(

@alex-w alex-w added this to the 24.2 milestone Apr 17, 2024
@alex-w alex-w self-assigned this Apr 17, 2024
@alex-w alex-w closed this as completed in c6ec036 Apr 17, 2024
@alex-w alex-w added the state: published The fix has been published for testing in weekly binary package label Apr 21, 2024
Copy link

Hello @alex-w!

Please check the fresh version (development snapshot) of Stellarium:
https://github.com/Stellarium/stellarium-data/releases/tag/weekly-snapshot

@gzotti
Copy link
Member

gzotti commented Apr 23, 2024

Strange, I see the options for Stellarium 24.1 with --help on W11. It just needs another press of Enter to return to prompt.

@alex-w alex-w removed the state: published The fix has been published for testing in weekly binary package label Jun 23, 2024
Copy link

Hello @alex-w!

Please check the latest stable version of Stellarium:
https://github.com/Stellarium/stellarium/releases/latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something likely wrong in the code importance: low Small problem, rarely visible, no crash
Development

No branches or pull requests

3 participants