-
Notifications
You must be signed in to change notification settings - Fork 7
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
TypeError: the JSON object must be str, bytes or bytearray, not NoneType #9
Comments
and also when I want to run "python setup.py sdist bdist_wheel" it shows "error: invalid command 'bdist_wheel'"..please help |
This comment was marked as off-topic.
This comment was marked as off-topic.
@OWO99 AppOpener only works on windows |
This comment was marked as off-topic.
This comment was marked as off-topic.
This will be fixed, with AppOpener v1.7 releasing on 10th Of March |
@OWO99 are you using Windows XP or Windows 7 or Windows 10? Note: AppOpener won't run on XP and 7 |
|
@athrvvvv Hi, I am facing same issue at the moment, is your fix something you already might have there or still a work in progress? Thanks. |
I will inform you, about this matter. |
For anyone who's still having this issue - I managed to solve it by firstly installing the 1.3 version of the library and only then installing the newest version (or any version I guess). I am not completely sure whether you have to run a code, where you do "import AppOpener" before installing a different version, but if it doesn't work without it - then it will if you do this. From the looks of it there is something in the 1.3 version that isn't in any of the others... @athrvvvv |
AppOpener v1.7 just released!! ✌️ Install AppOpener v1.7: pip install AppOpener==1.7 I have added an Exception, if the File creation process failed, it will create files using the old method in AppOpener v1.3 Lots of love, |
""" File "C:\Users\dingj\Desktop\testtt\new\main.py", line 5, in
from AppOpener import open
File "C:\Users\dingj\Desktop\testtt\new\venv\Lib\site-packages\AppOpener_init_.py", line 7, in
check.check_json()
File "C:\Users\dingj\Desktop\testtt\new\venv\Lib\site-packages\AppOpener\check.py", line 63, in check_json
create_file()
File "C:\Users\dingj\Desktop\testtt\new\venv\Lib\site-packages\AppOpener\check.py", line 53, in create_file
apps = json.loads(result.stdout)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dingj\AppData\Local\Programs\Python\Python311\Lib\json_init_.py", line 339, in loads
raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not NoneType
Process finished with exit code 1
"""
Using pycharm
The text was updated successfully, but these errors were encountered: