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
OS Windows, system encoding is cp1251.
*.proto files use utf8 encoding and contain utf8 symbols
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\Heggi\AppData\Roaming\Python\Python311\Scripts\protol.exe\__main__.py", line 7, in <module>
File "C:\Users\Heggi\AppData\Roaming\Python\Python311\site-packages\click\core.py", line 1130, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Heggi\AppData\Roaming\Python\Python311\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Users\Heggi\AppData\Roaming\Python\Python311\site-packages\click\core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Heggi\AppData\Roaming\Python\Python311\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Heggi\AppData\Roaming\Python\Python311\site-packages\click\core.py", line 760, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Heggi\AppData\Roaming\Python\Python311\site-packages\click\decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Heggi\AppData\Roaming\Python\Python311\site-packages\protoletariat\__main__.py", line 138, in protoc
Protoc(
File "C:\Users\Heggi\AppData\Roaming\Python\Python311\site-packages\protoletariat\fdsetgen.py", line 103, in fix_imports
raw_code = python_file.read_text()
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\pathlib.py", line 1059, in read_text
return f.read()
^^^^^^^^
File "C:\Program Files\Python311\Lib\encodings\cp1251.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'charmap' codec can't decode byte 0x98 in position 4891: character maps to <undefined>
Temporary solution: run set PYTHONUTF8=1 before protol
The text was updated successfully, but these errors were encountered:
OS Windows, system encoding is cp1251.
*.proto files use utf8 encoding and contain utf8 symbols
Temporary solution: run
set PYTHONUTF8=1
beforeprotol
The text was updated successfully, but these errors were encountered: