Skip to content

UnicodeDecodeError: #3

@francisco-lafe

Description

@francisco-lafe

Running powershell, on Windows 10.
Python 3.11.2
Did all the steps, when running the .exe file, it throws this error:
Tried cmd, powershell 5 and powershell 7
image

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\francisco.laferriere\pythonclub\textual_apps\Scripts\regexexercises.exe\__main__.py", line 7, in <module>
  File "C:\Users\francisco.laferriere\pythonclub\textual_apps\Lib\site-packages\regexexercises\pyregex_exercises.py", line 341, in main
    app = PyRegexExercises()
          ^^^^^^^^^^^^^^^^^^
  File "C:\Users\francisco.laferriere\pythonclub\textual_apps\Lib\site-packages\regexexercises\pyregex_exercises.py", line 83, in __init__
    self.m_view = MarkdownViewer(f.read(), show_table_of_contents=False)
                                 ^^^^^^^^
  File "C:\Users\francisco.laferriere\AppData\Local\Programs\Python\Python311\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 3649: character maps to <undefined>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions