Crashes silently after the banner (while trying to CheckJava)
See original GitHub issueHi, thanks for the tool, looks great!
Describe the bug The program crashes silently when trying to check whether Java is installed.
To Reproduce
- run βpython.exe .\wa_kdbe.pyβ or double click the file
- Quits 1 second after the banner
Expected behavior Shows a crash error or shows me whether Java is installed or not.
Screenshots
Here I have modified the script with print calls as on the screenshot to find out which line is responsible for the crash.
Desktop:
- OS: [e.g. Windows 10]
First run log
First run : Auto installing python requirements.
Collecting packaging
Downloading packaging-20.9-py2.py3-none-any.whl (40 kB)
|ββββββββββββββββββββββββββββββββ| 40 kB 2.5 MB/s
Collecting psutil
Downloading psutil-5.8.0-cp39-cp39-win_amd64.whl (246 kB)
|ββββββββββββββββββββββββββββββββ| 246 kB 3.3 MB/s
Collecting termcolor
Downloading termcolor-1.1.0.tar.gz (3.9 kB)
Collecting requests
Downloading requests-2.25.1-py2.py3-none-any.whl (61 kB)
|ββββββββββββββββββββββββββββββββ| 61 kB ...
Collecting tqdm
Downloading tqdm-4.60.0-py2.py3-none-any.whl (75 kB)
|ββββββββββββββββββββββββββββββββ| 75 kB 2.0 MB/s
Collecting pyparsing>=2.0.2
Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
|ββββββββββββββββββββββββββββββββ| 67 kB ...
Collecting certifi>=2017.4.17
Downloading certifi-2020.12.5-py2.py3-none-any.whl (147 kB)
|ββββββββββββββββββββββββββββββββ| 147 kB ...
Collecting chardet<5,>=3.0.2
Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB)
|ββββββββββββββββββββββββββββββββ| 178 kB ...
Collecting idna<3,>=2.5
Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
|ββββββββββββββββββββββββββββββββ| 58 kB ...
Collecting urllib3<1.27,>=1.21.1
Downloading urllib3-1.26.4-py2.py3-none-any.whl (153 kB)
|ββββββββββββββββββββββββββββββββ| 153 kB ...
Using legacy 'setup.py install' for termcolor, since package 'wheel' is not installed.
Installing collected packages: urllib3, pyparsing, idna, chardet, certifi, tqdm, termcolor, requests, psutil, packaging
WARNING: Failed to write executable - trying to use .deleteme logic
ERROR: Could not install packages due to an OSError: [WinError 2] Le fichier spΓ©cifiΓ© est introuvable: 'c:\\python39\\Scripts\\chardetect.exe' -> 'c:\\python39\\Scripts\\chardetect.exe.deleteme'
Collecting termcolor
Using cached termcolor-1.1.0.tar.gz (3.9 kB)
Using legacy 'setup.py install' for termcolor, since package 'wheel' is not installed.
Installing collected packages: termcolor
Running setup.py install for termcolor ... done
Successfully installed termcolor-1.1.0
Collecting packaging
Using cached packaging-20.9-py2.py3-none-any.whl (40 kB)
Collecting requests
Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
Collecting tqdm
Using cached tqdm-4.60.0-py2.py3-none-any.whl (75 kB)
Requirement already satisfied: pyparsing>=2.0.2 in c:\python39\lib\site-packages (from packaging) (2.4.7)
Requirement already satisfied: idna<3,>=2.5 in c:\python39\lib\site-packages (from requests) (2.10)
Collecting certifi>=2017.4.17
Using cached certifi-2020.12.5-py2.py3-none-any.whl (147 kB)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\python39\lib\site-packages (from requests) (1.26.4)
Requirement already satisfied: chardet<5,>=3.0.2 in c:\python39\lib\site-packages (from requests) (4.0.0)
Installing collected packages: certifi, tqdm, requests, packaging
WARNING: Failed to write executable - trying to use .deleteme logic
ERROR: Could not install packages due to an OSError: [WinError 2] Le fichier spΓ©cifiΓ© est introuvable: 'c:\\python39\\Scripts\\tqdm.exe' -> 'c:\\python39\\Scripts\\tqdm.exe.deleteme'
Collecting packaging
Using cached packaging-20.9-py2.py3-none-any.whl (40 kB)
Collecting requests
Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
Requirement already satisfied: tqdm in c:\python39\lib\site-packages (4.60.0)
Requirement already satisfied: pyparsing>=2.0.2 in c:\python39\lib\site-packages (from packaging) (2.4.7)
Requirement already satisfied: certifi>=2017.4.17 in c:\python39\lib\site-packages (from requests) (2020.12.5)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\python39\lib\site-packages (from requests) (1.26.4)
Requirement already satisfied: chardet<5,>=3.0.2 in c:\python39\lib\site-packages (from requests) (4.0.0)
Requirement already satisfied: idna<3,>=2.5 in c:\python39\lib\site-packages (from requests) (2.10)
Installing collected packages: requests, packaging
Successfully installed packaging-20.9 requests-2.25.1
cannot connect to daemon at tcp:5037: cannot connect to 127.0.0.1:5037: Aucune connexion nβa pu Γͺtre Γ©tablie car lβordinateur cible lβa expressΓ©ment refusΓ©e. (10061)
* daemon not running; starting now at tcp:5037
* daemon started successfully
Traceback (most recent call last):
File "C:\Users\nathan\bin\WhatsApp-Key-Database-Extractor\wa_kdbe.py", line 309, in <module>
ADBSerialId = deviceId.init()
File "C:\Users\nathan\bin\WhatsApp-Key-Database-Extractor\helpers\ADBDeviceSerialId.py", line 43, in init
CustomPrint(
File "C:\Users\nathan\bin\WhatsApp-Key-Database-Extractor\helpers\CustomCI.py", line 21, in CustomPrint
cprint(time + textToPrint, color, attrs=attr)
NameError: name 'cprint' is not defined
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Putting 1 banner and 1 dye in loom crashes the game - Mojang
Put in a few dye and a few banner into loom, removed the extra and was left with 1 banner and 1 dye...
Read more >android | App keeps crashing when I add admob banner ad ...
I've tried implementing ads over 6 times, and got the same response every time I launched the app. A crash. I'm pretty new...
Read more >IntelliJ IDEA 2022.2 crashes silently when loading any project
I have the same symptoms - IDE silently crashes when I try to load any project, no traces in the logs, and it...
Read more >banner.Destroy() causes rare crash in production #690 - GitHub
I'm getting a crash in production in a small subset of cases, less than 1% of players, but still a lot of crashes....
Read more >Crashes | Android Developers
When an app crashes, Android terminates the app's process and ... then try turning on airplane mode while your application attempts to useΒ ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
π Itβs awesome itβs it!
Just wanted to say thank you! It worked π