error.log.2022-04-05 2.0 KB

12345678910111213141516171819202122232425262728
  1. 2021-12-14 23:59:49,626 - D:\git_workspace\sanoh\G01_0347\ezcad.py[line:28] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。')
  2. Traceback (most recent call last):
  3. File "D:\git_workspace\sanoh\G01_0347\ezcad.py", line 22, in run
  4. win32api.ShellExecute(0, 'open', self.exename, self.filename, self.exepath, 1)
  5. pywintypes.error: (2, 'ShellExecute', '系统找不到指定的文件。')
  6. Stack (most recent call last):
  7. 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__
  8. ret = self.original_func(*self.args, **self.kwargs)
  9. File "D:\Python\Python36-32\lib\threading.py", line 884, in _bootstrap
  10. self._bootstrap_inner()
  11. File "D:\Python\Python36-32\lib\threading.py", line 916, in _bootstrap_inner
  12. self.run()
  13. File "D:\git_workspace\sanoh\G01_0347\ezcad.py", line 28, in run
  14. self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True)
  15. 2021-12-13 23:00:19,439 - D:\git_workspace\sanoh\G01_0347\ezcad.py[line:28] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。')
  16. Traceback (most recent call last):
  17. File "D:\git_workspace\sanoh\G01_0347\ezcad.py", line 22, in run
  18. win32api.ShellExecute(0, 'open', self.exename, self.filename, self.exepath, 1)
  19. pywintypes.error: (2, 'ShellExecute', '系统找不到指定的文件。')
  20. Stack (most recent call last):
  21. 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__
  22. ret = self.original_func(*self.args, **self.kwargs)
  23. File "D:\Python\Python36-32\lib\threading.py", line 884, in _bootstrap
  24. self._bootstrap_inner()
  25. File "D:\Python\Python36-32\lib\threading.py", line 916, in _bootstrap_inner
  26. self.run()
  27. File "D:\git_workspace\sanoh\G01_0347\ezcad.py", line 28, in run
  28. self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True)