ValueError: invalid literal for int() with base 10: ''
REQUEST_DATE: 2024-12-04 05:47:38
VERSION: Ubuntu 22.04.1 LTS x86_64(Py3.12.3) - 7.0.7
REMOTE_ADDR: *...(my public IP number )
REQUEST_URI: GET /?
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Traceback (most recent call last):
File "/www/server/panel/pyenv/lib/python3.12/site-packages/flask/app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/site-packages/flask/app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(view_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/BTPanel/init.py", line 574, in index_new
100])], data['pro_end'], data['ltd_end'] = get_pd()
^^^^^^^^
File "/www/server/panel/BTPanel/init.py", line 2570, in get_pd
return public.get_pd()
^^^^^^^^^^^^^^^
File "/www/server/panel/class/public/common.py", line 3959, in get_pd
if not os.path.exists(tmp_f) or not os.path.exists(p_token_time_f) or int(readFile(p_token_time_f).strip()) + 86400 <= cur_time:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''