Hi Calculate enthusiasts,
cl-update is having problems and can’t complete the update due to a utf8 error.
I have rerun locale-gen using Gentoo Localization Guide and still the same result.
# cl-update
Repositories synchronization
* Checking current binhost ... [ ok ]
* Checking Distros updates ... [ ok ]
* Checking Calculate updates ... [ ok ]
* Checking Gentoo updates ... [ ok ]
* Update packages index ... [ ok ]
* Check packages index signature ... [ ok ]
* Updating the Distros repository cache ... [ ok ]
* Updating the Calculate repository cache ...
* Updating the eix cache for Distros, Calculate, Gentoo ... [ ok ]
* Updating the cache of configurable packages ... [ ok ]
* Synchronization finished
System configuration
* Update server http://miroir.linuxtricks.fr/calculate
* Fixing the settings -Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/calculate/core/server/func.py", line 754, in run
res = method(*args)
File "/usr/lib/python3.10/site-packages/calculate/core/server/func.py", line 227, in applyTemplates
cl_templ.applyTemplates()
File "/usr/lib/python3.10/site-packages/calculate/lib/cl_template.py", line 74, in wrapper
return f(*args, **kw)
File "/usr/lib/python3.10/site-packages/calculate/lib/cl_template.py", line 88, in wrapper
return f(self, *args, **kw)
File "/usr/lib/python3.10/site-packages/calculate/lib/cl_template.py", line 4569, in applyTemplates
self.cltObj.applyTemplatesClt()
File "/usr/lib/python3.10/site-packages/calculate/lib/cl_template.py", line 6771, in applyTemplatesClt
if self.scanningTemplates(dirTemplate, self._chrootDir) is False:
File "/usr/lib/python3.10/site-packages/calculate/lib/cl_template.py", line 6596, in scanningTemplates
self.hasBelong(absPath)):
File "/usr/lib/python3.10/site-packages/calculate/lib/cl_template.py", line 6565, in hasBelong
s = f.readline()
File "/usr/lib/python-exec/python3.10/../../../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 0x8e in position 35: invalid start byte
...
* UnicodeDecodeError:'utf-8' codec can't decode byte 0x8e in position 35: invalid start byte(codecs:322)
* Update failed
thanks in advance for your help!
Today I ran an “emerge -va @system && emerge -va @world” which completed with out errors.
However, cl-update still threw the error, which isn’t a show stopper as the Gentoo base is running well.