0

Brownie Compile:

INFO: Could not find files for the given pattern(s).
Brownie v1.16.4 - Python development framework for Ethereum
  File "C:\Users\scs\AppData\Local\Programs\Python\Python310\lib\site-packages\brownie\_cli\__main__.py", line 64, in main
    importlib.import_module(f"brownie._cli.{cmd}").main()
  File "C:\Users\scs\AppData\Local\Programs\Python\Python310\lib\site-packages\brownie\_cli\compile.py", line 50, in main
    proj = project.load()
  File "C:\Users\scs\AppData\Local\Programs\Python\Python310\lib\site-packages\brownie\project\main.py", line 750, in load
    return Project(name, project_path)
  File "C:\Users\scs\AppData\Local\Programs\Python\Python310\lib\site-packages\brownie\project\main.py", line 182, in __init__
    self.load()
  File "C:\Users\scs\AppData\Local\Programs\Python\Python310\lib\site-packages\brownie\project\main.py", line 190, in load
    contract_sources = _load_sources(self._path, self._structure["contracts"], False)
  File "C:\Users\scs\AppData\Local\Programs\Python\Python310\lib\site-packages\brownie\project\main.py", line 962, in _load_sources
    source = fp.read()
  File "C:\Users\scs\AppData\Local\Programs\Python\Python310\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 0x9d in position 429: character maps to <undefined>

enter image description here

1
  • Could you please share your contract source code ? Mar 15 at 20:12

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.