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

BUG: No Logging under Linux #239

Open
proof88 opened this issue Oct 23, 2023 · 2 comments
Open

BUG: No Logging under Linux #239

proof88 opened this issue Oct 23, 2023 · 2 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@proof88
Copy link
Owner

proof88 commented Oct 23, 2023

We could not see neither the console window nor any log file appearing during testing of v0.1.4.
Wine was used.
This needs to be further investigated.

@proof88 proof88 added bug Something isn't working enhancement New feature or request labels Oct 23, 2023
@proof88 proof88 added this to the Linux Support (Public Beta) milestone Oct 23, 2023
@proof88 proof88 changed the title No Logging under Linux BUG: No Logging under Linux Oct 23, 2023
@proof88
Copy link
Owner Author

proof88 commented Oct 29, 2023

RCA: we don't see the logs because AllocConsole() fails.
This is expected under Linux, since AllocConsole() is Windows-specific.
However, even with Wine, it is not working: https://bugs.winehq.org/show_bug.cgi?id=10941

So, to make it work, the Console library should be improved:

  • the lib should still be able to log into html file even if AllocConsole() fails;
  • AllocConsole() failure should NOT be initialization failure, since we should still be able to log to stdout. I tried it and it worked. So I recommend allow initialization success even if this function fails.

This bug remains open until the feature is implemented in Console project:
FTR: Logging should Work without Console/Terminal Window

@proof88
Copy link
Owner Author

proof88 commented Mar 17, 2024

With newer Wine it works fine.
However we keep this open until the feature in Console project is delivered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant