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

Cannot seem to get debug log to debug why execute doesn't seem to be working #795

Closed
1 task done
cjwomack opened this issue Jun 3, 2023 · 4 comments
Closed
1 task done
Labels
bug Something isn't working waiting for feedback Waiting for feedback from users Windows Windows-only issues

Comments

@cjwomack
Copy link

cjwomack commented Jun 3, 2023

Is there an existing issue for this?

  • I searched the existing issues and did not find anything similar.

Current Behavior

Hi there,

I want a debug log to debug a particular problem or whether I'm making a mistake re execute function...

I'm trying to run an .exe with arguments either python or powershell or even just the .exe

It doesn't appear to be working the execute function but before I wanted to submit a bug report for that or to see if I was doing anything wrong for that I wanted the debug log, I've tried both the gui and command line launching options and it doesn't seem to work.

Using the latest version, the executable x64 for Windows. I am running Windows 10.
Hopefully I've supplied enough information, it's nighttime here so I'm a bit drowsy but I thought I should submit these now because of potential time zone issues

Looked at #349 and https://github.com/AntiMicroX/antimicrox/wiki/Collecting-Logs

Expected Behavior

A debug log
(Potentially Execute working - but that would be new issue, though I'm not sure I'm doing something idiotic because of late hour, hence wanted log)

Steps To Reproduce

  1. Install x64 executable (not zip) for Windows
  2. Either try GUI or launch via command line
  3. No log

Environment

Program Version 3.3.4
Compiled from packaging: GitHub Windows Release
Built Against SDL 2.26.5
Running With SDL 2.26.5
Using Qt 5.15.2
Using Event Handler: SendInput
Host OS: windows Version: 10 Architecture: x86_64

Anything else?

No response

@cjwomack cjwomack added the bug Something isn't working label Jun 3, 2023
@pktiuk
Copy link
Member

pktiuk commented Jun 3, 2023

Unluckily Windows does not allow GUI apps printing in terminal (it is really annoying when I have to do something on that platform), but you can still get files with logs. Just Go to settings->Advanced and select log level and target log file. You should be also able to specify log file with commandline.

Link to Stack Overflow: https://stackoverflow.com/questions/3360548/console-output-in-a-qt-gui-app

I hope I helped.

@pktiuk pktiuk added the Windows Windows-only issues label Jun 3, 2023
@cjwomack
Copy link
Author

cjwomack commented Jun 4, 2023

How is your suggestion different from https://github.com/AntiMicroX/antimicrox/wiki/Collecting-Logs?

I mentioned in the original post as I had followed those instructions by listing the URL, hence didn't think I need to paste the below in Steps To Reproduce (maybe I should have in hindsight)

`Commandline-based
Just run antimicrox with flags describing log level and target filename.

antimicrox --log-level debug --log-file /my/path/to/amtimicrox.log
Using GUI
Just go to Settings->Advanced and select log level and target path.`

I already did both of those steps before submitting this report and they didn't work...
Commandline based
and
GUI based

None of those worked.

I did ls in powershell and looked in the file path that I specified also in Windows Explorer

@pktiuk
Copy link
Member

pktiuk commented Jun 5, 2023

That's strange. From your report I thought you tried to get logs in commandline.
But in case of getting logs info regular file everything should work properly.
You told you tried to run app with python and with powershell. Have you also tried with with regular user's way (by clicking an icon and doing everything only with GUI)?

There is a guide how to collect logs on wiki, but you seemed to do everything fine

@pktiuk pktiuk added the waiting for feedback Waiting for feedback from users label Jun 5, 2023
@pktiuk
Copy link
Member

pktiuk commented Jul 1, 2023

Closing due to lack of feedback

@pktiuk pktiuk closed this as not planned Won't fix, can't repro, duplicate, stale Jul 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting for feedback Waiting for feedback from users Windows Windows-only issues
Projects
None yet
Development

No branches or pull requests

2 participants