为了能快速了解并处理您的问题,请提供以下基础信息:
问题描述: TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
相关截图(日志、错误): TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
REQUEST_DATE: 2024-08-14 20:50:55 VERSION: Ubuntu 22.04.4 LTS (Jammy Jellyfish) x86_64(Py3.7.8) - 9.1.0 REMOTE_ADDR: 163.125.199.76 REQUEST_URI: GET /?REQUEST_FORM: {} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36Traceback (most recent call last): File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1823, in full_dispatch_request rv = self.dispatch_request() File "/www/server/panel/pyenv/lib/python3.7/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 537, in home data = system.system().GetConcifInfo() File "class/system.py", line 41, in GetConcifInfo tmp['setup'] = os.path.exists(self.setupPath + '/php/' + version + '/bin/php')TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
|
|