为了能快速了解并处理您的问题,请提供以下基础信息:
Windows面板 8.2.2
windows server 2008 R2 Datacenter
安装后,bt default 报错,已经通过bt 17 升级到最新版本; 尝试过重启面板、服务器,依旧有这报错
Traceback (most recent call last):
File "tools.py", line 793, in <module>
set_panel_username()
File "tools.py", line 155, in set_panel_username
print('username: ' + username)
TypeError: can only concatenate str (not "list") to str
bt 6 修改用户名 报错
Traceback (most recent call last):
File "tools.py", line 803, in <module>
bt_cli(clinum)
File "tools.py", line 492, in bt_cli
set_panel_username(input_user.strip())
File "tools.py", line 147, in set_panel_username
sql.table('users').where('id=?', (1,)).setField('username', use
File "C:\BtSoft\panel/class\db.py", line 355, in setField
return self.save(keyName,(keyValue,))
File "C:\BtSoft\panel/class\db.py", line 528, in save
self.__DB_CONN.text_factory = str
AttributeError: 'NoneType' object has no attribute 'text_factory'
|
|