2022-03-05 22:21:16,473 - D:\git_workspace\sanoh\G01_0374\ezcad.py[line:39] - ERROR: 打标机配置文件读取异常: get_xmlnode() takes 2 positional arguments but 3 were given Traceback (most recent call last): File "D:\git_workspace\sanoh\G01_0374\ezcad.py", line 35, in read_xml self.exepath = self.get_xmlnode(node, 'exepath') TypeError: get_xmlnode() takes 2 positional arguments but 3 were given Stack (most recent call last): 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_0374\ezcad.py", line 43, in run self.read_xml() File "D:\git_workspace\sanoh\G01_0374\ezcad.py", line 39, in read_xml self.log_file.logger.error('打标机配置文件读取异常: {0}'.format(e), exc_info=True, stack_info=True) 2022-03-05 22:21:16,491 - D:\git_workspace\sanoh\G01_0374\ezcad.py[line:50] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。') Traceback (most recent call last): File "D:\git_workspace\sanoh\G01_0374\ezcad.py", line 44, in run win32api.ShellExecute(0, 'open', self.exename, self.filename, self.exepath, 1) pywintypes.error: (2, 'ShellExecute', '系统找不到指定的文件。') Stack (most recent call last): 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_0374\ezcad.py", line 50, in run self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True) 2022-03-05 22:26:03,718 - D:\git_workspace\sanoh\G01_0374\ezcad.py[line:39] - ERROR: 打标机配置文件读取异常: 'Element' object has no attribute 'get_xmlnode' Traceback (most recent call last): File "D:\git_workspace\sanoh\G01_0374\ezcad.py", line 33, in read_xml nodes = set.get_xmlnode("exe") AttributeError: 'Element' object has no attribute 'get_xmlnode' Stack (most recent call last): 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_0374\ezcad.py", line 43, in run self.read_xml() File "D:\git_workspace\sanoh\G01_0374\ezcad.py", line 39, in read_xml self.log_file.logger.error('打标机配置文件读取异常: {0}'.format(e), exc_info=True, stack_info=True) 2022-03-05 22:26:03,742 - D:\git_workspace\sanoh\G01_0374\ezcad.py[line:50] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。') Traceback (most recent call last): File "D:\git_workspace\sanoh\G01_0374\ezcad.py", line 44, in run win32api.ShellExecute(0, 'open', self.exename, self.filename, self.exepath, 1) pywintypes.error: (2, 'ShellExecute', '系统找不到指定的文件。') Stack (most recent call last): 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_0374\ezcad.py", line 50, in run self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True) 2022-03-05 22:27:50,497 - D:\git_workspace\sanoh\G01_0374\ezcad.py[line:39] - ERROR: 打标机配置文件读取异常: 'Element' object has no attribute 'get_xmlnode' Traceback (most recent call last): File "D:\git_workspace\sanoh\G01_0374\ezcad.py", line 33, in read_xml nodes = set.get_xmlnode("exe") AttributeError: 'Element' object has no attribute 'get_xmlnode' Stack (most recent call last): 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_0374\ezcad.py", line 43, in run self.read_xml() File "D:\git_workspace\sanoh\G01_0374\ezcad.py", line 39, in read_xml self.log_file.logger.error('打标机配置文件读取异常: {0}'.format(e), exc_info=True, stack_info=True) 2022-03-05 22:27:50,514 - D:\git_workspace\sanoh\G01_0374\ezcad.py[line:50] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。') Traceback (most recent call last): File "D:\git_workspace\sanoh\G01_0374\ezcad.py", line 44, in run win32api.ShellExecute(0, 'open', self.exename, self.filename, self.exepath, 1) pywintypes.error: (2, 'ShellExecute', '系统找不到指定的文件。') Stack (most recent call last): 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_0374\ezcad.py", line 50, in run self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True) 2022-03-05 22:29:03,122 - D:\git_workspace\sanoh\G01_0374\ezcad.py[line:39] - ERROR: 打标机配置文件读取异常: get_xmlnode() takes 2 positional arguments but 3 were given Traceback (most recent call last): File "D:\git_workspace\sanoh\G01_0374\ezcad.py", line 33, in read_xml nodes = self.get_xmlnode(set,"exe") TypeError: get_xmlnode() takes 2 positional arguments but 3 were given Stack (most recent call last): 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_0374\ezcad.py", line 43, in run self.read_xml() File "D:\git_workspace\sanoh\G01_0374\ezcad.py", line 39, in read_xml self.log_file.logger.error('打标机配置文件读取异常: {0}'.format(e), exc_info=True, stack_info=True) 2022-03-05 22:29:03,141 - D:\git_workspace\sanoh\G01_0374\ezcad.py[line:50] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。') Traceback (most recent call last): File "D:\git_workspace\sanoh\G01_0374\ezcad.py", line 44, in run win32api.ShellExecute(0, 'open', self.exename, self.filename, self.exepath, 1) pywintypes.error: (2, 'ShellExecute', '系统找不到指定的文件。') Stack (most recent call last): 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_0374\ezcad.py", line 50, in run self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True) 2022-03-05 22:37:22,071 - D:\git_workspace\sanoh\G01_0374\ezcad.py[line:39] - ERROR: 打标机配置文件读取异常: get_xmlnode() takes 2 positional arguments but 3 were given Traceback (most recent call last): File "D:\git_workspace\sanoh\G01_0374\ezcad.py", line 33, in read_xml nodes = self.get_xmlnode(set, "exe") TypeError: get_xmlnode() takes 2 positional arguments but 3 were given 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_0374\ezcad.py", line 43, in run self.read_xml() File "D:\git_workspace\sanoh\G01_0374\ezcad.py", line 39, in read_xml self.log_file.logger.error('打标机配置文件读取异常: {0}'.format(e), exc_info=True, stack_info=True) 2022-03-05 22:38:09,158 - D:\git_workspace\sanoh\G01_0374\ezcad.py[line:50] - ERROR: 打标机软件执行异常: Objects of type 'NodeList' can not be converted to Unicode. Traceback (most recent call last): File "D:\git_workspace\sanoh\G01_0374\ezcad.py", line 44, in run win32api.ShellExecute(0, 'open', self.exename, self.filename, self.exepath, 1) TypeError: Objects of type 'NodeList' can not be converted to Unicode. Stack (most recent call last): 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_0374\ezcad.py", line 50, in run self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True) 2022-03-05 22:40:35,275 - D:\git_workspace\sanoh\G01_0374\ezcad.py[line:50] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。') Traceback (most recent call last): File "D:\git_workspace\sanoh\G01_0374\ezcad.py", line 44, in run win32api.ShellExecute(0, 'open', self.exename, self.filename, self.exepath, 1) pywintypes.error: (2, 'ShellExecute', '系统找不到指定的文件。') Stack (most recent call last): 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_0374\ezcad.py", line 50, in run self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True)