2021-12-14 23:59:49,626 - D:\git_workspace\sanoh\G01_0347\ezcad.py[line:28] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。') Traceback (most recent call last): File "D:\git_workspace\sanoh\G01_0347\ezcad.py", line 22, in run win32api.ShellExecute(0, 'open', self.exename, self.filename, self.exepath, 1) pywintypes.error: (2, 'ShellExecute', '系统找不到指定的文件。') Stack (most recent call last): File "D:\Program Files\JetBrains\PyCharm Community Edition 2020.2.2\plugins\python-ce\helpers\pydev\_pydev_bundle\pydev_monkey.py", line 773, in __call__ ret = self.original_func(*self.args, **self.kwargs) File "D:\Python\Python36-32\lib\threading.py", line 884, in _bootstrap self._bootstrap_inner() File "D:\Python\Python36-32\lib\threading.py", line 916, in _bootstrap_inner self.run() File "D:\git_workspace\sanoh\G01_0347\ezcad.py", line 28, in run self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True) 2021-12-13 23:00:19,439 - D:\git_workspace\sanoh\G01_0347\ezcad.py[line:28] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。') Traceback (most recent call last): File "D:\git_workspace\sanoh\G01_0347\ezcad.py", line 22, in run win32api.ShellExecute(0, 'open', self.exename, self.filename, self.exepath, 1) pywintypes.error: (2, 'ShellExecute', '系统找不到指定的文件。') Stack (most recent call last): File "D:\Program Files\JetBrains\PyCharm Community Edition 2020.2.2\plugins\python-ce\helpers\pydev\_pydev_bundle\pydev_monkey.py", line 773, in __call__ ret = self.original_func(*self.args, **self.kwargs) File "D:\Python\Python36-32\lib\threading.py", line 884, in _bootstrap self._bootstrap_inner() File "D:\Python\Python36-32\lib\threading.py", line 916, in _bootstrap_inner self.run() File "D:\git_workspace\sanoh\G01_0347\ezcad.py", line 28, in run self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True)