2022-08-04 14:15:51,036 - D:\git_workspace\sanoh\G01_0345\sql.py[line:24] - ERROR: mysql连接异常: (1049, "Unknown database 'g01_0345'") Traceback (most recent call last): File "D:\git_workspace\sanoh\G01_0345\sql.py", line 21, in connect database=self.database) File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 353, in __init__ self.connect() File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 633, in connect self._request_authentication() File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 932, in _request_authentication auth_packet = _auth.caching_sha2_password_auth(self, auth_packet) File "D:\Python\Python37-32\lib\site-packages\pymysql\_auth.py", line 239, in caching_sha2_password_auth pkt = conn._read_packet() File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 725, in _read_packet packet.raise_for_error() File "D:\Python\Python37-32\lib\site-packages\pymysql\protocol.py", line 221, in raise_for_error err.raise_mysql_exception(self._data) File "D:\Python\Python37-32\lib\site-packages\pymysql\err.py", line 143, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.OperationalError: (1049, "Unknown database 'g01_0345'") Stack (most recent call last): File "D:\Python\Python37-32\lib\threading.py", line 890, in _bootstrap self._bootstrap_inner() File "D:\Python\Python37-32\lib\threading.py", line 926, in _bootstrap_inner self.run() File "D:\git_workspace\sanoh\G01_0345\pro.py", line 638, in run self.product_name_set() File "D:\git_workspace\sanoh\G01_0345\pro.py", line 549, in product_name_set paramresult = self.sqlclient.sql_inquire_all(sqlstr) File "D:\git_workspace\sanoh\G01_0345\sql.py", line 68, in sql_inquire_all self.connect() File "D:\git_workspace\sanoh\G01_0345\sql.py", line 24, in connect self.log_file.logger.error('mysql连接异常: {0}'.format(e), exc_info=True, stack_info=True) 2022-08-04 14:15:51,075 - D:\git_workspace\sanoh\G01_0345\ezcad.py[line:27] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。') Traceback (most recent call last): File "D:\git_workspace\sanoh\G01_0345\ezcad.py", line 21, 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\Python37-32\lib\threading.py", line 890, in _bootstrap self._bootstrap_inner() File "D:\Python\Python37-32\lib\threading.py", line 926, in _bootstrap_inner self.run() File "D:\git_workspace\sanoh\G01_0345\ezcad.py", line 27, in run self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True) 2022-08-04 14:21:13,808 - D:\git_workspace\sanoh\G01_0345\sql.py[line:24] - ERROR: mysql连接异常: (1049, "Unknown database 'g01_0345'") Traceback (most recent call last): File "D:\git_workspace\sanoh\G01_0345\sql.py", line 21, in connect database=self.database) File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 353, in __init__ self.connect() File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 633, in connect self._request_authentication() File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 932, in _request_authentication auth_packet = _auth.caching_sha2_password_auth(self, auth_packet) File "D:\Python\Python37-32\lib\site-packages\pymysql\_auth.py", line 239, in caching_sha2_password_auth pkt = conn._read_packet() File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 725, in _read_packet packet.raise_for_error() File "D:\Python\Python37-32\lib\site-packages\pymysql\protocol.py", line 221, in raise_for_error err.raise_mysql_exception(self._data) File "D:\Python\Python37-32\lib\site-packages\pymysql\err.py", line 143, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.OperationalError: (1049, "Unknown database 'g01_0345'") 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\Python37-32\lib\threading.py", line 890, in _bootstrap self._bootstrap_inner() File "D:\Python\Python37-32\lib\threading.py", line 926, in _bootstrap_inner self.run() File "D:\git_workspace\sanoh\G01_0345\pro.py", line 638, in run self.product_name_set() File "D:\git_workspace\sanoh\G01_0345\pro.py", line 549, in product_name_set paramresult = self.sqlclient.sql_inquire_all(sqlstr) File "D:\git_workspace\sanoh\G01_0345\sql.py", line 68, in sql_inquire_all self.connect() File "D:\git_workspace\sanoh\G01_0345\sql.py", line 24, in connect self.log_file.logger.error('mysql连接异常: {0}'.format(e), exc_info=True, stack_info=True) 2022-08-04 14:21:13,821 - D:\git_workspace\sanoh\G01_0345\ezcad.py[line:27] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。') Traceback (most recent call last): File "D:\git_workspace\sanoh\G01_0345\ezcad.py", line 21, 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\Python37-32\lib\threading.py", line 890, in _bootstrap self._bootstrap_inner() File "D:\Python\Python37-32\lib\threading.py", line 926, in _bootstrap_inner self.run() File "D:\git_workspace\sanoh\G01_0345\ezcad.py", line 27, in run self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True) 2022-08-04 14:33:15,046 - D:\git_workspace\sanoh\G01_0345\sql.py[line:24] - ERROR: mysql连接异常: (1049, "Unknown database 'g01_0345'") Traceback (most recent call last): File "D:\git_workspace\sanoh\G01_0345\sql.py", line 21, in connect database=self.database) File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 353, in __init__ self.connect() File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 633, in connect self._request_authentication() File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 932, in _request_authentication auth_packet = _auth.caching_sha2_password_auth(self, auth_packet) File "D:\Python\Python37-32\lib\site-packages\pymysql\_auth.py", line 239, in caching_sha2_password_auth pkt = conn._read_packet() File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 725, in _read_packet packet.raise_for_error() File "D:\Python\Python37-32\lib\site-packages\pymysql\protocol.py", line 221, in raise_for_error err.raise_mysql_exception(self._data) File "D:\Python\Python37-32\lib\site-packages\pymysql\err.py", line 143, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.OperationalError: (1049, "Unknown database 'g01_0345'") Stack (most recent call last): File "D:\Python\Python37-32\lib\threading.py", line 890, in _bootstrap self._bootstrap_inner() File "D:\Python\Python37-32\lib\threading.py", line 926, in _bootstrap_inner self.run() File "D:\git_workspace\sanoh\G01_0345\pro.py", line 644, in run self.product_name_set() File "D:\git_workspace\sanoh\G01_0345\pro.py", line 549, in product_name_set paramresult = self.sqlclient.sql_inquire_all(sqlstr) File "D:\git_workspace\sanoh\G01_0345\sql.py", line 68, in sql_inquire_all self.connect() File "D:\git_workspace\sanoh\G01_0345\sql.py", line 24, in connect self.log_file.logger.error('mysql连接异常: {0}'.format(e), exc_info=True, stack_info=True) 2022-08-04 14:33:15,078 - D:\git_workspace\sanoh\G01_0345\ezcad.py[line:27] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。') Traceback (most recent call last): File "D:\git_workspace\sanoh\G01_0345\ezcad.py", line 21, 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\Python37-32\lib\threading.py", line 890, in _bootstrap self._bootstrap_inner() File "D:\Python\Python37-32\lib\threading.py", line 926, in _bootstrap_inner self.run() File "D:\git_workspace\sanoh\G01_0345\ezcad.py", line 27, in run self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True) 2022-08-04 14:33:20,825 - D:\git_workspace\sanoh\G01_0345\sql.py[line:24] - ERROR: mysql连接异常: (1049, "Unknown database 'g01_0345'") Traceback (most recent call last): File "D:\git_workspace\sanoh\G01_0345\sql.py", line 21, in connect database=self.database) File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 353, in __init__ self.connect() File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 633, in connect self._request_authentication() File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 932, in _request_authentication auth_packet = _auth.caching_sha2_password_auth(self, auth_packet) File "D:\Python\Python37-32\lib\site-packages\pymysql\_auth.py", line 239, in caching_sha2_password_auth pkt = conn._read_packet() File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 725, in _read_packet packet.raise_for_error() File "D:\Python\Python37-32\lib\site-packages\pymysql\protocol.py", line 221, in raise_for_error err.raise_mysql_exception(self._data) File "D:\Python\Python37-32\lib\site-packages\pymysql\err.py", line 143, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.OperationalError: (1049, "Unknown database 'g01_0345'") 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\Python37-32\lib\threading.py", line 890, in _bootstrap self._bootstrap_inner() File "D:\Python\Python37-32\lib\threading.py", line 926, in _bootstrap_inner self.run() File "D:\git_workspace\sanoh\G01_0345\pro.py", line 644, in run self.product_name_set() File "D:\git_workspace\sanoh\G01_0345\pro.py", line 549, in product_name_set paramresult = self.sqlclient.sql_inquire_all(sqlstr) File "D:\git_workspace\sanoh\G01_0345\sql.py", line 68, in sql_inquire_all self.connect() File "D:\git_workspace\sanoh\G01_0345\sql.py", line 24, in connect self.log_file.logger.error('mysql连接异常: {0}'.format(e), exc_info=True, stack_info=True) 2022-08-04 14:33:20,850 - D:\git_workspace\sanoh\G01_0345\ezcad.py[line:27] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。') Traceback (most recent call last): File "D:\git_workspace\sanoh\G01_0345\ezcad.py", line 21, 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\Python37-32\lib\threading.py", line 890, in _bootstrap self._bootstrap_inner() File "D:\Python\Python37-32\lib\threading.py", line 926, in _bootstrap_inner self.run() File "D:\git_workspace\sanoh\G01_0345\ezcad.py", line 27, in run self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True)