9P9/Discord-QR-Token-Logger

I use main.py but it just instantly closes?

TeslaGamingRoblox opened this issue · 17 comments

I use main.py but it just instantly closes?

Did your read the whole README.md file and respected it ? if the main.py instantly close that mean it crash, if it's the case you are going to find a logger file named qrg.log in the current folder. Please send it so we can help you !

qrg.log
It's Emtpy Though.

Is there any way to fix the issue of it crashing?

if there is nothing, that mean the error is not comming from the script itself but from your environnement, i advise you to launch the script from a terminal (cmd on Windows) and to launch it there to catch the error and send it back by typing :

$ cd THE CURRENT REPOSITORY
$ py main.py

I Dont Know If This Is What You're Looking For But This Is The Error I Got From Running The Script Above.
Traceback (most recent call last): File "C:\Users\---\Downloads\Discord-QR-Token-Logger-main\Discord-QR-Token-Logger-main\Discord-QR-Token-Logger\main.py", line 26, in <module> from bs4 import BeautifulSoup ModuleNotFoundError: No module named 'bs4'

Did you read the whole README file and launched the install_requirements.bat ? Because it's a module error, modules are not installed. Please read carefully the README file the next time before submitting report.

To use the script, run `install_requirements.bat` if needed, then run `main.py`. The scam image will appear as `discord_gift.png` in the directory. However there are two ways to use this script...

- Python Modules (launch `install_requirements.bat`)

This issue doesn't follow its contributing guidelines. Remember, contributions to this repository should follow its contributing guidelines and code of conduct.

> If you want to ask a question, you assume that you have read the available [Documentation](https://github.com/9P9/Discord-QR-Token-Logger/blob/main/README.md).

If your issue is resolved, please close it.

To use the script, run `install_requirements.bat` if needed, then run `main.py`. The scam image will appear as `discord_gift.png` in the directory. However there are two ways to use this script...

I Have Been Running install_requirements.bat. And I Don't Really Know What To Do, Because When I Run The install_requirements.bat File It Does Some Things Then Says An Error And Continues.
Error & Note: note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for lxml

To use the script, run `install_requirements.bat` if needed, then run `main.py`. The scam image will appear as `discord_gift.png` in the directory. However there are two ways to use this script...

I Have Been Running install_requirements.bat. And I Don't Really Know What To Do, Because When I Run The install_requirements.bat File It Does Some Things Then Says An Error And Continues.
Error & Note: note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for lxml

I also have no experience in any sort of scripting.

OK, thanks for contributing, i am currently working on the issue, thanks for your patience !

Please try to download this requirements.txt file and type in your terminal : pip install -r requirements.txt

Please try to download this requirements.txt file and type in your terminal : pip install -r requirements.txt

It's giving me an error.
Error:ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
Edit: I have fixed that but I now have a new issue becuase it's still giving the same error as the install_requirements.bat.

Please try to download this requirements.txt file and type in your terminal : pip install -r requirements.txt

It's giving me an error. Error:ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

You need to open a terminal and go in the folder where is the requirements.txt file downloaded. That mean if you downloaded the file:

$ cd Downloads
$ pip install -r requirements.txt

I'm still getting this error
image
image

I'm still getting this error image image

Ok, please open the requirements.txt file and replace content with this:

pystyle==2.0
requests==2.28.1
beautifulsoup4==4.11.1
discord-webhook==0.17.0
Pillow==9.3.0
webdriver-manager==3.8.4
selenium==4.5.0
pystray==0.19.4
packaging==21.3

retry the pip install -r requirements.txt after replacing content in the file.

Works Great!
Thanks A Lot For The Help!

Your welcome !

Congratulations ❤️.