Please help! Error adding images to desktop. Also 'amp;' added to image file name when syncing to anki droid

I have 2 issues with Anki right now:

  1. Previously, I have been able to add images on desktop, but when synced to ankidroid it adds a bunch of ‘amp;’ to the filename, making it not load on droid until these are removed manually.

  2. Today, when trying to add images on desktop I get the following error:

Error
An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 2.1.49 (dc80804a) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=False sv=2
Add-ons, last update check: 2023-05-05 11:29:41

Caught exception:
Traceback (most recent call last):
File “aqt\webview.py”, line 41, in cmd
File “aqt\webview.py”, line 142, in _onCmd
File “aqt\webview.py”, line 595, in _onBridgeCmd
File “aqt\editor.py”, line 438, in onBridgeCmd
File “aqt\editor.py”, line 882, in onPaste
File “aqt\editor.py”, line 1137, in onPaste
File “aqt\editor.py”, line 1134, in _onPaste
File “aqt\editor.py”, line 865, in doPaste
File “aqt\editor.py”, line 854, in _pastePreFilter
File “aqt\editor.py”, line 789, in _retrieveURL
File “anki\httpclient.py”, line 64, in get
File “requests\sessions.py”, line 555, in get
File “requests\sessions.py”, line 542, in request
File “requests\sessions.py”, line 655, in send
File “requests\adapters.py”, line 439, in send
File “urllib3\connectionpool.py”, line 696, in urlopen
File “urllib3\connectionpool.py”, line 964, in prepare_proxy
File “urllib3\connection.py”, line 359, in connect
File “urllib3\connection.py”, line 500, in connect_tls_proxy
File "urllib3\util\ssl
.py", line 453, in ssl_wrap_socket
File "urllib3\util\ssl
.py", line 495, in _ssl_wrap_socket_impl
File “ssl.py”, line 500, in wrap_socket
File “ssl.py”, line 997, in _create
ValueError: check_hostname requires server_hostname


Please help!

Do you get the same error on anki ⁨2.1.62?

1 Like

If you’re able to reproduce the & issue using the latest AnkiDroid beta, please report the issue to them.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.