So after completing the solution suggested previously I am now getting two errors:
I am a paying customer btw
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you’ve discovered the add-on that is causing the problem, please report the issue to the add-on author.
Debug info:
Anki 2.1.56 (07fd88dd) Python 3.10.9 Qt 6.4.2 PyQt 6.4.1
Platform: Linux-6.1.8-arch1-1-x86_64-with-glibc2.36
Flags: frz=False ao=True sv=2
Add-ons, last update check: 2023-01-30 17:53:35
Add-ons possibly involved: AnkiHub
— Logging error —
Traceback (most recent call last):
File “/usr/lib/python3.10/logging/init.py”, line 1103, in emit
stream.write(msg + self.terminator)
BlockingIOError: [Errno 11] write could not complete without blocking
Call stack:
File “/usr/lib/python3.10/threading.py”, line 973, in _bootstrap
self._bootstrap_inner()
File “/usr/lib/python3.10/threading.py”, line 1016, in _bootstrap_inner
self.run()
File “/usr/lib/python3.10/threading.py”, line 953, in run
self._target(*self._args, **self._kwargs)
File “/usr/lib/python3.10/concurrent/futures/thread.py”, line 83, in _worker
work_item.run()
File “/usr/lib/python3.10/concurrent/futures/thread.py”, line 58, in run
result = self.fn(*self.args, **self.kwargs)
File “/home/andrew/.local/share/Anki2/addons21/1322529746/sync.py”, line 183, in sync_with_ankihub_after_delay
sync.sync_all_decks()
File “/home/andrew/.local/share/Anki2/addons21/1322529746/sync.py”, line 32, in sync_all_decks
should_continue = self._sync_deck(ah_did)
File “/home/andrew/.local/share/Anki2/addons21/1322529746/sync.py”, line 44, in _sync_deck
success = self._download_note_updates(ankihub_did)
File “/home/andrew/.local/share/Anki2/addons21/1322529746/sync.py”, line 59, in _download_note_updates
for chunk in client.get_deck_updates(
File “/home/andrew/.local/share/Anki2/addons21/1322529746/ankihub_client.py”, line 411, in get_deck_updates
response = self._send_request(
File “/home/andrew/.local/share/Anki2/addons21/1322529746/ankihub_client.py”, line 252, in _send_request
response = self.session.send(request)
File “/usr/lib/python3.10/site-packages/requests/sessions.py”, line 708, in send
r = dispatch_hook(“response”, hooks, r, **kwargs)
File “/usr/lib/python3.10/site-packages/requests/hooks.py”, line 30, in dispatch_hook
_hook_data = hook(hook_data, **kwargs)
File “/home/andrew/.local/share/Anki2/addons21/1322529746/addon_ankihub_client.py”, line 27, in logging_hook
LOGGER.debug(f"response content: {pformat(response.json())}“)
Unable to print the message and arguments - possible formatting error.
Use the traceback above to help find the error.
— Logging error —
Traceback (most recent call last):
File “/usr/lib/python3.10/logging/init.py”, line 1104, in emit
self.flush()
File “/usr/lib/python3.10/logging/init.py”, line 1084, in flush
self.stream.flush()
BlockingIOError: [Errno 11] write could not complete without blocking
Call stack:
File “/usr/lib/python3.10/threading.py”, line 973, in _bootstrap
self._bootstrap_inner()
File “/usr/lib/python3.10/threading.py”, line 1016, in _bootstrap_inner
self.run()
File “/usr/lib/python3.10/threading.py”, line 953, in run
self._target(*self._args, **self._kwargs)
File “/usr/lib/python3.10/concurrent/futures/thread.py”, line 83, in _worker
work_item.run()
File “/usr/lib/python3.10/concurrent/futures/thread.py”, line 58, in run
result = self.fn(*self.args, **self.kwargs)
File “/home/andrew/.local/share/Anki2/addons21/1322529746/sync.py”, line 183, in sync_with_ankihub_after_delay
sync.sync_all_decks()
File “/home/andrew/.local/share/Anki2/addons21/1322529746/sync.py”, line 32, in sync_all_decks
should_continue = self._sync_deck(ah_did)
File “/home/andrew/.local/share/Anki2/addons21/1322529746/sync.py”, line 44, in _sync_deck
success = self._download_note_updates(ankihub_did)
File “/home/andrew/.local/share/Anki2/addons21/1322529746/sync.py”, line 59, in _download_note_updates
for chunk in client.get_deck_updates(
File “/home/andrew/.local/share/Anki2/addons21/1322529746/ankihub_client.py”, line 411, in get_deck_updates
response = self._send_request(
File “/home/andrew/.local/share/Anki2/addons21/1322529746/ankihub_client.py”, line 252, in _send_request
response = self.session.send(request)
File “/usr/lib/python3.10/site-packages/requests/sessions.py”, line 708, in send
r = dispatch_hook(“response”, hooks, r, **kwargs)
File “/usr/lib/python3.10/site-packages/requests/hooks.py”, line 30, in dispatch_hook
_hook_data = hook(hook_data, **kwargs)
File “/home/andrew/.local/share/Anki2/addons21/1322529746/addon_ankihub_client.py”, line 31, in logging_hook
LOGGER.debug(f"response: {response}”)
Message: ‘response: <Response [200]>’
Arguments: ()