We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XX-Net版本:3.13.1 系统:Windows 10 (1803, 17134.648)
start.vbs
XX-Net
start.bat
直接打开 start.bat 时候,程序的报错信息一闪而过,来不及看清是什么报错。 于是,我用了快速截图工具截取了错误信息:
然而,这个 Traceback 很难得到有用的信息,于是我修改了Traceback输出的地方,使用了 traceback 包进行了 Traceback 信息格式化,在 data/launcher/error.log 里得到了这些:
traceback
data/launcher/error.log
Apr 10 06:10:15.151 type:<type 'exceptions.WindowsError'> value=[Error 5] traceback: File "D:\Programs\XX-Net\code\default\launcher\start.py", line 131, in <module> from win_tray import sys_tray File "D:\Programs\XX-Net\code\default\launcher\win_tray.py", line 18, in <module> import win32_proxy_manager File "D:\Programs\XX-Net\code\default\python27\1.0\lib\win32\win32_proxy_manager.py", line 22, in <module> CONNECTIONS = winreg.OpenKey(winreg.HKEY_CURRENT_USER, CONN_PATH, 0, winreg.KEY_ALL_ACCESS)
看起来像是数据库访问出现了问题,因为管理员权限可以打开,怀疑是访问权限的问题,于是我删掉了 code\default\python27\1.0\lib\win32\win32_proxy_manager.py 22行末尾的 winreg.KEY_ALL_ACCESS
code\default\python27\1.0\lib\win32\win32_proxy_manager.py
winreg.KEY_ALL_ACCESS
开启 start.vbs (非管理员模式)之后,可以正常启动
The text was updated successfully, but these errors were encountered:
fix #12464
b27cc88
format uncaught Exception traceback #12464
caa9c38
a4a3eed
aee2dbf
No branches or pull requests
XX-Net版本:3.13.1
系统:Windows 10 (1803, 17134.648)
出现问题
start.vbs
无法启动XX-Net
,程序直接没反应start.bat
也无法启动XX-Net
,程序闪退start.bat
才能正常启动XX-Net
错误排查
直接打开
start.bat
时候,程序的报错信息一闪而过,来不及看清是什么报错。于是,我用了快速截图工具截取了错误信息:
然而,这个 Traceback 很难得到有用的信息,于是我修改了Traceback输出的地方,使用了
traceback
包进行了 Traceback 信息格式化,在data/launcher/error.log
里得到了这些:看起来像是数据库访问出现了问题,因为管理员权限可以打开,怀疑是访问权限的问题,于是我删掉了
code\default\python27\1.0\lib\win32\win32_proxy_manager.py
22行末尾的winreg.KEY_ALL_ACCESS
开启
start.vbs
(非管理员模式)之后,可以正常启动The text was updated successfully, but these errors were encountered: