-
Notifications
You must be signed in to change notification settings - Fork 112
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
Chrome 120 JSONDecodeError #64
Comments
I have the same error when calling tab.stop() and/or browser.close_tab(tab) running Chromium 120.0.6099.199: Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/usr/lib/python3.9/threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.9/dist-packages/pychrome/tab.py", line 122, in _recv_loop
message = json.loads(message_json)
File "/usr/lib/python3.9/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) |
I'm having the same issue on Chrome 124.0.6367.93, MacOS. When calling the following:
I get the same error:
|
Same issue here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After updating Chrome to version 120, an empty JSON is received:
It appears that the error is triggered when calling tab.stop()
The text was updated successfully, but these errors were encountered: