更新报错时词条统一显示检查更新异常,详细描述信息在悬浮框显示
This commit is contained in:
parent
5567bc9398
commit
295da5b6a4
|
@ -28,7 +28,7 @@ from .Core.loop import mainloop
|
|||
from .Core.DataAcquisition import UpdateMsgCollector
|
||||
|
||||
from SystemUpdater.Core.UpdaterConfigParser import UpgradeConfig
|
||||
from SystemUpdater.Core.utils import get_broken_details,kill_process
|
||||
from SystemUpdater.Core.utils import kill_process
|
||||
from SystemUpdater.Core.DpkgInstallProgress import LogInstallProgress
|
||||
from SystemUpdater.Core.utils import deb_verify,PolicyKit_Authority,get_proc_from_dbus_name
|
||||
|
||||
|
|
|
@ -747,7 +747,8 @@ class InstallBackend():
|
|||
#开始生成列表
|
||||
self.window_main.start_available()
|
||||
else:
|
||||
self.window_main.dbusController.UpdateDetectFinished(success,[''],error_string+','+error_desc,error_desc)
|
||||
self.window_main.dbusController.UpdateDetectFinished(success,[''],get_error_string_from_enum(ERROR_UPDATE_DEFAULT_FAILED),\
|
||||
error_string +' '+error_desc)
|
||||
self.window_main.sqlite3_server.insert_into_display("check_time",get_east_8_time()[0:-4])
|
||||
|
||||
elif action == self.ACTION_UPDATE and self.action_mode == self.MODE_UPDATE_CACHE:
|
||||
|
|
Loading…
Reference in New Issue