本帖最后由 213name 于 2020-12-31 18:16 编辑
1 系统版本:Ubuntu 20.04 LTS
2 系统位数:64
3 系统内核版本
4 面板版本:
5 面板使用python环境版本:3.7.8
6 PHP版本:无
7 数据库环境(MySql版本):无
8 Web环境(apache/nginx)二选一:无
9 问题描述
docker镜像列表获取失败
操作步骤:获取一个镜像后没问题,再次获取另一个镜像后,镜像列表为空,执行docker images发现是有镜像的
接口:
plugin?action=a&name=docker&s=GetImageList
响应:
{"status": false, "msg": "抱歉,出错了:<br> Traceback (most recent call last):<br> File \"class/flask_sockets.py\", line 30, in __call__<br> handler, values = adapter.match()<br> File \"/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py\", line 1945, in match<br> raise NotFound()<br>werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.<br><br>During handling of the above exception, another exception occurred:<br><br>Traceback (most recent call last):<br> File \"class/panelPlugin.py\", line 1924, in a<br> return eval(execStr)<br> File \"<string>\", line 1, in <module><br> File \"plugin/docker/docker_main.py\", line 605, in GetImageList<br> tmp_image['Created'] = self.utc_to_local(tmp_attrs['Created'].split('.')[0])<br> File \"plugin/docker/docker_main.py\", line 68, in utc_to_local<br> utc_dt = datetime.datetime.strptime(utc_time_str, utc_format)<br> File \"/www/server/panel/pyenv/lib/python3.7/_strptime.py\", line 577, in _strptime_datetime<br> tt, fraction, gmtoff_fraction = _strptime(data_string, format)<br> File \"/www/server/panel/pyenv/lib/python3.7/_strptime.py\", line 362, in _strptime<br> data_string[found.end():])<br>ValueError: unconverted data remains: Z<br> "} |