Wo log not work
alexlii1971 opened this issue · comments
Alexlee commented
Hello
When run wo log show mysite.com
, it will show:
Traceback (most recent call last):
File "/usr/local/bin/wo", line 8, in <module>
sys.exit(main())
File "/opt/wo/lib/python3.10/site-packages/wo/cli/main.py", line 102, in main
app.run()
File "/opt/wo/lib/python3.10/site-packages/cement/core/foundation.py", line 882, in run
return_val = self.controller._dispatch()
File "/opt/wo/lib/python3.10/site-packages/cement/core/controller.py", line 471, in _dispatch
return func()
File "/opt/wo/lib/python3.10/site-packages/cement/core/controller.py", line 471, in _dispatch
return func()
File "/opt/wo/lib/python3.10/site-packages/cement/core/controller.py", line 477, in _dispatch
return func()
File "/opt/wo/lib/python3.10/site-packages/wo/cli/plugins/log.py", line 157, in default
logwatch(self, watch_list)
File "/opt/wo/lib/python3.10/site-packages/wo/cli/plugins/site_functions.py", line 1130, in logwatch
logl.loop()
File "/opt/wo/lib/python3.10/site-packages/wo/core/logwatch.py", line 75, in loop
self.readfile(file)
File "/opt/wo/lib/python3.10/site-packages/wo/core/logwatch.py", line 164, in readfile
lines = file.readlines()
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 0x90 in position 193: invalid start byte
wo -v
WordOps v3.16.3
Copyright (c) 2023 WordOps.
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.2 LTS
Release: 22.04
Codename: jammy
github-actions commented
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.