I recovered a pc engine apu4b4, I wanted to create a test environment.
I installed the C166, but the fireinfo is empty.
While booting, I see these errors:
Traceback (most recent call last):
File "/usr/bin/sendprofile", line 142, in <module>
sys.exit(main())
File "/usr/bin/sendprofile", line 109, in main
profile = system.profile()
File "/usr/lib/python3.10/site-packages/fireinfo/system.py", line 170, in profile
"public_id" : self.public_id,
File "/usr/lib/python3.10/site-packages/fireinfo/system.py", line 188, in public_id
public_id = self.secret_id
File "/usr/lib/python3.10/site-packages/fireinfo/system.py", line 222, in secret_id
h = hashlib.sha1(self._unique_id.encode())
File "/usr/lib/python3.10/site-packages/fireinfo/system.py", line 238, in _unique_id
id = read_from_file(os.path.join(SYS_CLASS_DMI, file))
File "/usr/lib/python3.10/site-packages/fireinfo/system.py", line 81, in read_from_file
return f.read().strip()
File "/usr/lib/python3.10/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
Traceback (most recent call last):
File "/usr/bin/sendprofile", line 142, in <module>
sys.exit(main())
File "/usr/bin/sendprofile", line 109, in main
profile = system.profile()
File "/usr/lib/python3.10/site-packages/fireinfo/system.py", line 170, in profile
"public_id" : self.public_id,
File "/usr/lib/python3.10/site-packages/fireinfo/system.py", line 188, in public_id
public_id = self.secret_id
File "/usr/lib/python3.10/site-packages/fireinfo/system.py", line 222, in secret_id
h = hashlib.sha1(self._unique_id.encode())
File "/usr/lib/python3.10/site-packages/fireinfo/system.py", line 238, in _unique_id
id = read_from_file(os.path.join(SYS_CLASS_DMI, file))
File "/usr/lib/python3.10/site-packages/fireinfo/system.py", line 81, in read_from_file
return f.read().strip()
File "/usr/lib/python3.10/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0:[ FAIL ] start byte
FAILURE:
You should not be reading this error message.
It means that an unforeseen error took place in /etc/rc.d/rc3.d/S15fireinfo, which exited with a return value of 1.
If you're able to track this error down to a bug in one of the files provided by ipfire, please be so kind to inform us at https://bugzilla.ipfire.org.
Press Enter to continue or wait a minute...