You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am facing an issue after running "md2anki" in PowerShell/CMD/terminal. I have upgraded the software, uninstalled then reinstalled, restarted laptop, uninstalled then reinstalled python, ran PowerShell as Administrator, and added python to PATH before installation. Still did not work.
This is the error:
Traceback (most recent call last):
File "C:\Users\jadma\AppData\Local\Programs\Python\Python312\Lib\site-packages\markdown2anki\config\configs_handle.py", line 77, in handle_configs
config_dir, config_file = get_configfile_paths(config_link_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jadma\AppData\Local\Programs\Python\Python312\Lib\site-packages\markdown2anki\config\configs_handle.py", line 26, in get_configfile_paths
raise FileNotFoundError(
FileNotFoundError: The path to the file containing the link to the config file doesn't exist.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\jadma\AppData\Local\Programs\Python\Python312\Scripts\md2anki.exe_main.py", line 7, in
File "C:\Users\jadma\AppData\Local\Programs\Python\Python312\Lib\site-packages\markdown2anki_init.py", line 30, in main
config = config_handle.handle_configs(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jadma\AppData\Local\Programs\Python\Python312\Lib\site-packages\markdown2anki\config\configs_handle.py", line 79, in handle_configs
welcome_user(
File "C:\Users\jadma\AppData\Local\Programs\Python\Python312\Lib\site-packages\markdown2anki\config\first_config.py", line 32, in welcome_user
welcome_msg = get_welcome_message(
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jadma\AppData\Local\Programs\Python\Python312\Lib\site-packages\markdown2anki\config\first_config.py", line 95, in get_welcome_message
welcome_msg = welcome_file.read()
^^^^^^^^^^^^^^^^^^^
File "C:\Users\jadma\AppData\Local\Programs\Python\Python312\Lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 1115: character maps to
Python version: 3.12.1
Edition: Windows 11 Home
Version: 22H2
System type: 64-bit operating system, x64-based processor
The text was updated successfully, but these errors were encountered:
Hello,
I am facing an issue after running "md2anki" in PowerShell/CMD/terminal. I have upgraded the software, uninstalled then reinstalled, restarted laptop, uninstalled then reinstalled python, ran PowerShell as Administrator, and added python to PATH before installation. Still did not work.
This is the error:
Traceback (most recent call last):
File "C:\Users\jadma\AppData\Local\Programs\Python\Python312\Lib\site-packages\markdown2anki\config\configs_handle.py", line 77, in handle_configs
config_dir, config_file = get_configfile_paths(config_link_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jadma\AppData\Local\Programs\Python\Python312\Lib\site-packages\markdown2anki\config\configs_handle.py", line 26, in get_configfile_paths
raise FileNotFoundError(
FileNotFoundError: The path to the file containing the link to the config file doesn't exist.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\jadma\AppData\Local\Programs\Python\Python312\Scripts\md2anki.exe_main.py", line 7, in
File "C:\Users\jadma\AppData\Local\Programs\Python\Python312\Lib\site-packages\markdown2anki_init.py", line 30, in main
config = config_handle.handle_configs(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jadma\AppData\Local\Programs\Python\Python312\Lib\site-packages\markdown2anki\config\configs_handle.py", line 79, in handle_configs
welcome_user(
File "C:\Users\jadma\AppData\Local\Programs\Python\Python312\Lib\site-packages\markdown2anki\config\first_config.py", line 32, in welcome_user
welcome_msg = get_welcome_message(
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jadma\AppData\Local\Programs\Python\Python312\Lib\site-packages\markdown2anki\config\first_config.py", line 95, in get_welcome_message
welcome_msg = welcome_file.read()
^^^^^^^^^^^^^^^^^^^
File "C:\Users\jadma\AppData\Local\Programs\Python\Python312\Lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 1115: character maps to
Python version: 3.12.1
Edition: Windows 11 Home
Version: 22H2
System type: 64-bit operating system, x64-based processor
The text was updated successfully, but these errors were encountered: