之前都正常的,突然就报错了。
TypeError: cannot unpack non-iterable bool object
REQUEST_DATE: 2022-08-13 13:55:43 PAN_VERSION: 7.9.3 OS_VERSION: Ubuntu 20.04.1 LTS x86_64(Py3.7.9) REMOTE_ADDR: REQUEST_URI: POST /files?action=ZipREQUEST_FORM: {'sfile': 'xx.domain.com.error-202208131342.log', 'dfile': '/www/wwwlogs/xx.domain.com.error-202208131342.log_i5aXtH.tar.gz', 'z_type': 'tar.gz', 'path': '/www/wwwlogs/'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.81 Safari/537.36 Edg/104.0.1293.54
Traceback (most recent call last): File "/home/www/server/panel/BTPanel/__init__.py", line 1773, in publicObject return run_exec().run(toObject, defs, get) File "/home/www/server/panel/BTPanel/__init__.py", line 1721, in run result = getattr(toObject,get.action)(get) File "class/files.py", line 1619, in Zip status,total_size,total_num = self.is_max_size(path,max_size,max_num,total_size,total_num)TypeError: cannot unpack non-iterable bool object
|
|