aluminum-ice/pwnagotchi

[BUG] ERROR:root:There was an error processing the configuration file: 'utf-8' codec can't decode byte 0xb0 in position 8390: invalid start byte

Opened this issue · 1 comments

Describe the bug
Oke this is really weird,
Installed 1.8.4, everything was working fine but i screwed something up my self, so format the (new) sdcard reinstalled all fine.
But now:

I can access the bettercap webpage om 10.0.0.2, but then i try 10.0.0.2:8080 pwnagotchi isnt running.

so i try
tail /var/log/pwnagotchi.log

tail: cannot open '/var/log/pwnagotchi.log' for reading: No such file or directory

Then o check:
systemctl status pwnagotchi

● pwnagotchi.service - pwnagotchi Deep Reinforcement Learning instrumenting bett
Loaded: loaded (/etc/systemd/system/pwnagotchi.service; enabled; vendor prese
Active: activating (auto-restart) (Result: exit-code) since Wed 2023-05-03 03
Docs: https://pwnagotchi.ai
Process: 623 ExecStart=/usr/bin/pwnagotchi-launcher (code=exited, status=1/FAI
Main PID: 623 (code=exited, status=1/FAILURE)

so next step
sudo pwnagotchi

ERROR:root:There was an error processing the configuration file:
'utf-8' codec can't decode byte 0xb0 in position 8390: invalid start byte

To Reproduce
Steps to reproduce the behavior:

  1. Re flash sdcard
  2. Copy old config file
  3. Error

any idear whats wrong here ?

Try launching pwnagotchi manually, and share the output with us:
sudo bash /usr/bin/pwnagotchi-launcher

also share the file by uploading it to this Issue. I suspect the config.toml has unexpected symbols. Try using Notepad++