本帖最后由 堡塔运维小林 于 2023-4-26 10:49 编辑
为了能快速了解并处理您的问题,请提供以下基础信息: 面板、插件版本:出错了,面板运行时发生错误!
系统版本:
PAN_VERSION: 7.8.0 OS_VERSION: Windows 10 Home China (build 19045) x64 (Py3.8.6) REMOTE_ADDR: 127.0.0.1 REQUEST_URI: POST /deployment?action=SetupPackageREQUEST_FORM: {'dname': 'shopxo', 'site_name': 'www.shopxo.com', 'php_version': '74'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36 Edg/112.0.1722.58 问题描述: UnboundLocalError: local variable 'path' referenced before assignment
一键部署shopxo出错了
file:///C:\Users\mpl\AppData\Roaming\Tencent\Users\717666703\QQ\WinTemp\RichOle\}{IY]QC0QRZ]LMENTIQKM1E.pngTraceback (most recent call last):
File "D:\kaifa\ruanjian\BtSoft\panel\BTPanel\__init__.py", line 1534, in publicObject return run_exec().run(toObject, defs, get) File "D:\kaifa\ruanjian\BtSoft\panel\BTPanel\__init__.py", line 1731, in run result = eval(fun) File "", line 1, in File "D:\kaifa\ruanjian\BtSoft\panel/class\plugin_deployment.py", line 433, in SetupPackage siteObj.SetSiteRunPath(mobj); File "D:\kaifa\ruanjian\BtSoft\panel/class\panelSite.py", line 1867, in SetSiteRunPath if os.path.exists(path + '/' + filename):UnboundLocalError: local variable 'path' referenced before assignment
|
|