应用打开失败设计器运行正常,场景机器人手动点击运行也正常,控制台按时间调动不能运行

File “D:\Program Files (x86)\ISRPA\Robot\UnattendRobot\TaskServer\Administrator\ 考勤上传画之都 \1.0.0.6\Codes\Main.py”, line 184, in Main
self.__logger.dlogs(job_no=self.job_no,logmsg=‘Flow:Main,StepNodeTag:20241205103949226144,Title: 子流程,Note:’)
File “ilog.py”, line 369, in ilog.ILog.dlogs

File “ilog.py”, line 211, in ilog.ILog.output_by_stdout

File “ilog.py”, line 478, in ilog.ILog.send_log

File “ilog.py”, line 638, in ilog.ILog.dict_to_bytes

File “D:\Program Files (x86)\ISRPA\Python\lib\json_init_.py”, line 234, in dumps
return cls(
File “D:\Program Files (x86)\ISRPA\Python\lib\json\encoder.py”, line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File “D:\Program Files (x86)\ISRPA\Python\lib\json\encoder.py”, line 257, in iterencode
return _iterencode(o, 0)
File “D:\Program Files (x86)\ISRPA\Python\lib\json\encoder.py”, line 179, in default
raise TypeError(f’Object of type {o.class.name} ’
TypeError: Object of type LogGetPortError is not JSON serializable
Error in sys.excepthook:
Traceback (most recent call last):
File “ilog.py”, line 464, in ilog.ILog.get_log_sending_port
KeyError: ‘Robot’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “base_util.py”, line 94, in base_util.ExceptionHandler.handle_exception
File “ilog.py”, line 482, in ilog.ILog.send_log
File “ilog.py”, line 466, in ilog.ILog.get_log_sending_port
ilog.LogGetPortError: 从共享内存获取端口号失败

Original exception was:
Traceback (most recent call last):
File “ilog.py”, line 464, in ilog.ILog.get_log_sending_port
KeyError: ‘Robot’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “ilog.py”, line 360, in ilog.ILog.dlogs
File “ilog.py”, line 211, in ilog.ILog.output_by_stdout
File “ilog.py”, line 482, in ilog.ILog.send_log
File “ilog.py”, line 466, in ilog.ILog.get_log_sending_port
ilog.LogGetPortError: 从共享内存获取端口号失败

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “D:\Program Files (x86)\ISRPA\Robot\UnattendRobot\TaskServer\Administrator\ 考勤上传画之都 \1.0.0.6\Codes\Main.py”, line 222, in
iplatform.Return(MainResult=getattr(pro, fn)(**params), job_no=job_no)
File “D:\Program Files (x86)\ISRPA\Robot\UnattendRobot\TaskServer\Administrator\ 考勤上传画之都 \1.0.0.6\Codes\Main.py”, line 184, in Main
self._logger.dlogs(job_no=self.job_no,logmsg=‘Flow:Main,StepNodeTag:20241205103949226144,Title: 子流程,Note:’)
File “ilog.py”, line 369, in ilog.ILog.dlogs
File “ilog.py”, line 211, in ilog.ILog.output_by_stdout
File “ilog.py”, line 478, in ilog.ILog.send_log
File “ilog.py”, line 638, in ilog.ILog.dict_to_bytes
File "D:\Program Files (x86)\ISRPA\Python\lib\json_init
.py", line 234, in dumps
return cls(
File “D:\Program Files (x86)\ISRPA\Python\lib\json\encoder.py”, line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File “D:\Program Files (x86)\ISRPA\Python\lib\json\encoder.py”, line 257, in iterencode
return _iterencode(o, 0)
File “D:\Program Files (x86)\ISRPA\Python\lib\json\encoder.py”, line 179, in default
raise TypeError(f’Object of type {o.class.name} ’
TypeError: Object of type LogGetPortError is not JSON serializable

[2025-01-15 13:14:43,875] RUnattendPythonTaskRun::SendEndLog:[{“action”:“robot”,“job_id”:“701”,“job_no”:“ffa7841256744e70b0551481e6c6db5f”,“org_code”:““,“org_name”:””,“proc_code”:“考勤上传画之都”,“proc_duration”:0,“proc_duration_min”:0,“proc_end_time”:“2025-01-15 13:14:43”,“proc_except_desc”:“机器人执行失败”,“proc_except_name”:““,“proc_hand_duration_min”:0,“proc_name”:“考勤上传画之都”,“proc_path”:”/doc/tid20220831114008942/ipkg/Pb9e80fbe4ada4d4fa2c7d65106a844ad.ipkg”,“proc_pending_time”:2,“proc_plan_time”:“2025-01-15 13:14:42”,“proc_result_code”:“1”,“proc_result_desc”:“failure”,“proc_start_time”:“2025-01-15 13:14:42”,“proc_ver”:“1.0.0.6”}]