card creation issue

Issue #9 new
Former user created an issue

When attempting to create cards for certain images, the following message appears.

An error occurred in an add-on. Please post on the add-on forum: https://anki.tenderapp.com/discussions/add-ons

Traceback (most recent call last): File "C:\Users\Simon\Documents\Anki\addons\image_occlusion_2\image_occlusion.py", line 141, in add_notes_non_overlapping header, footer, did) File "C:\Users\Simon\Documents\Anki\addons\image_occlusion_2\notes_from_svg.py", line 63, in add_notes_non_overlapping header, footer, did) File "C:\Users\Simon\Documents\Anki\addons\image_occlusion_2\add_notes.py", line 231, in gui_add_QA_notes fname_original, header, footer, did) File "C:\Users\Simon\Documents\Anki\addons\image_occlusion_2\add_notes.py", line 197, in add_QA_notes d = new_bnames(col, media_dir, fname_original) File "C:\Users\Simon\Documents\Anki\addons\image_occlusion_2\add_notes.py", line 160, in new_bnames os.path.join(media_dir, hash_bname)) WindowsError: [Error 123] The filename, directory name or volume label syntax is incorrect

Comments (1)

  1. Mahdi Saravi repo owner

    Is the problem occurs with the original occupy_image add-on (unpatched version)? Can you send me the details of the image file(s) that brings up this error message? (file name and location) operating system and its version? anki version? I think the file name has strange characters that causes the problem? change the file name and try again.

  2. Log in to comment