Skip to content

utf8' codec can't decode byte #xc5: invalid continuation byte in "<byte string>", position 1621 #354

@stvnmbr1

Description

@stvnmbr1

OS: Debian 8

Hi guys !

awesome work to keep everything going to help out catching pokemons ;)
Sadly i can't get it to work :( I thought its something with pip but i reinstalled everything but to no avail.. Looks like the bot isn't even starting because of the error that comes first..

any help would be great !

/pokecli.py config/config.yml --debug

gives me

Traceback (most recent call last):
  File "./pokecli.py", line 88, in <module>
    main()
  File "./pokecli.py", line 73, in main
    kernel.boot()
  File "/home/anon/PokemonGo-Bot/web/OpenPoGoBot/app/kernel.py", line 55, in boot
    self.load_config()
  File "/home/anon/PokemonGo-Bot/web/OpenPoGoBot/app/kernel.py", line 32, in load_config
    self._configs['core'] = ruamel.yaml.load(config_file.read(), ruamel.yaml.RoundTripLoader)
  File "/usr/local/lib/python2.7/dist-packages/ruamel/yaml/main.py", line 73, in load
    loader = Loader(stream, version, preserve_quotes=preserve_quotes)
  File "/usr/local/lib/python2.7/dist-packages/ruamel/yaml/loader.py", line 56, in __init__
    Reader.__init__(self, stream)
  File "/usr/local/lib/python2.7/dist-packages/ruamel/yaml/reader.py", line 92, in __init__
    self.determine_encoding()
  File "/usr/local/lib/python2.7/dist-packages/ruamel/yaml/reader.py", line 149, in determine_encoding
    self.update(1)
  File "/usr/local/lib/python2.7/dist-packages/ruamel/yaml/reader.py", line 185, in update
    exc.encoding, exc.reason)
ruamel.yaml.reader.ReaderError: 'utf8' codec can't decode byte #xc5: invalid continuation byte
  in "<byte string>", position 1621

is this an issue with locales? I already looked through the issues but i can't find a fix..

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions