login as: root
Keyboard-interactive authentication prompts from server:
| Password:
End of keyboard-interactive prompts from server
Last login: Wed Sep 4 12:38:16 2024
[root@localhost ~]# bash /www/server/panel/init.sh
Traceback (most recent call last):
File "/www/server/panel/tools.py", line 20, in <module>
import public,time,json
File "/www/server/panel/class/public/init.py", line 14, in <module>
from .common import *
File "/www/server/panel/class/public/common.py", line 37, in <module>
es = gettext.translation('en', localedir='/www/server/panel/BTPanel/static/language/gettext', languages=['en'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/gettext.py", line 538, in translation
t = translations.setdefault(key, class(fp))
^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/gettext.py", line 272, in init
self._parse(fp)
File "/www/server/panel/pyenv/lib/python3.12/gettext.py", line 353, in _parse
magic = unpack('<I', buf[:4])[0]
^^^^^^^^^^^^^^^^^^^^^
struct.error: unpack requires a buffer of 4 bytes
[root@localhost ~]#