error.log.2022-08-02 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424
  1. 2022-08-01 17:16:36,600 - D:\git_workspace\sanoh\G01_0345\sql.py[line:24] - ERROR: mysql连接异常: (1049, "Unknown database 'g01_0345'")
  2. Traceback (most recent call last):
  3. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 21, in connect
  4. database=self.database)
  5. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 353, in __init__
  6. self.connect()
  7. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 633, in connect
  8. self._request_authentication()
  9. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 932, in _request_authentication
  10. auth_packet = _auth.caching_sha2_password_auth(self, auth_packet)
  11. File "D:\Python\Python37-32\lib\site-packages\pymysql\_auth.py", line 239, in caching_sha2_password_auth
  12. pkt = conn._read_packet()
  13. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 725, in _read_packet
  14. packet.raise_for_error()
  15. File "D:\Python\Python37-32\lib\site-packages\pymysql\protocol.py", line 221, in raise_for_error
  16. err.raise_mysql_exception(self._data)
  17. File "D:\Python\Python37-32\lib\site-packages\pymysql\err.py", line 143, in raise_mysql_exception
  18. raise errorclass(errno, errval)
  19. pymysql.err.OperationalError: (1049, "Unknown database 'g01_0345'")
  20. Stack (most recent call last):
  21. File "D:\Python\Python37-32\lib\threading.py", line 890, in _bootstrap
  22. self._bootstrap_inner()
  23. File "D:\Python\Python37-32\lib\threading.py", line 926, in _bootstrap_inner
  24. self.run()
  25. File "D:\git_workspace\sanoh\G01_0345\pro.py", line 597, in run
  26. self.product_name_set()
  27. File "D:\git_workspace\sanoh\G01_0345\pro.py", line 508, in product_name_set
  28. paramresult = self.sqlclient.sql_inquire_all(sqlstr)
  29. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 68, in sql_inquire_all
  30. self.connect()
  31. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 24, in connect
  32. self.log_file.logger.error('mysql连接异常: {0}'.format(e), exc_info=True, stack_info=True)
  33. 2022-08-01 17:16:36,604 - D:\git_workspace\sanoh\G01_0345\ezcad.py[line:27] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。')
  34. Traceback (most recent call last):
  35. File "D:\git_workspace\sanoh\G01_0345\ezcad.py", line 21, in run
  36. win32api.ShellExecute(0, 'open', self.exename, self.filename, self.exepath, 1)
  37. pywintypes.error: (2, 'ShellExecute', '系统找不到指定的文件。')
  38. Stack (most recent call last):
  39. File "D:\Python\Python37-32\lib\threading.py", line 890, in _bootstrap
  40. self._bootstrap_inner()
  41. File "D:\Python\Python37-32\lib\threading.py", line 926, in _bootstrap_inner
  42. self.run()
  43. File "D:\git_workspace\sanoh\G01_0345\ezcad.py", line 27, in run
  44. self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True)
  45. 2022-08-01 17:17:07,047 - D:\git_workspace\sanoh\G01_0345\sql.py[line:24] - ERROR: mysql连接异常: (1049, "Unknown database 'g01_0345'")
  46. Traceback (most recent call last):
  47. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 21, in connect
  48. database=self.database)
  49. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 353, in __init__
  50. self.connect()
  51. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 633, in connect
  52. self._request_authentication()
  53. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 932, in _request_authentication
  54. auth_packet = _auth.caching_sha2_password_auth(self, auth_packet)
  55. File "D:\Python\Python37-32\lib\site-packages\pymysql\_auth.py", line 239, in caching_sha2_password_auth
  56. pkt = conn._read_packet()
  57. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 725, in _read_packet
  58. packet.raise_for_error()
  59. File "D:\Python\Python37-32\lib\site-packages\pymysql\protocol.py", line 221, in raise_for_error
  60. err.raise_mysql_exception(self._data)
  61. File "D:\Python\Python37-32\lib\site-packages\pymysql\err.py", line 143, in raise_mysql_exception
  62. raise errorclass(errno, errval)
  63. pymysql.err.OperationalError: (1049, "Unknown database 'g01_0345'")
  64. Stack (most recent call last):
  65. File "D:\Python\Python37-32\lib\threading.py", line 890, in _bootstrap
  66. self._bootstrap_inner()
  67. File "D:\Python\Python37-32\lib\threading.py", line 926, in _bootstrap_inner
  68. self.run()
  69. File "D:\git_workspace\sanoh\G01_0345\pro.py", line 597, in run
  70. self.product_name_set()
  71. File "D:\git_workspace\sanoh\G01_0345\pro.py", line 508, in product_name_set
  72. paramresult = self.sqlclient.sql_inquire_all(sqlstr)
  73. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 68, in sql_inquire_all
  74. self.connect()
  75. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 24, in connect
  76. self.log_file.logger.error('mysql连接异常: {0}'.format(e), exc_info=True, stack_info=True)
  77. 2022-08-01 17:17:07,073 - D:\git_workspace\sanoh\G01_0345\ezcad.py[line:27] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。')
  78. Traceback (most recent call last):
  79. File "D:\git_workspace\sanoh\G01_0345\ezcad.py", line 21, in run
  80. win32api.ShellExecute(0, 'open', self.exename, self.filename, self.exepath, 1)
  81. pywintypes.error: (2, 'ShellExecute', '系统找不到指定的文件。')
  82. Stack (most recent call last):
  83. File "D:\Python\Python37-32\lib\threading.py", line 890, in _bootstrap
  84. self._bootstrap_inner()
  85. File "D:\Python\Python37-32\lib\threading.py", line 926, in _bootstrap_inner
  86. self.run()
  87. File "D:\git_workspace\sanoh\G01_0345\ezcad.py", line 27, in run
  88. self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True)
  89. 2022-08-01 17:17:32,846 - D:\git_workspace\sanoh\G01_0345\sql.py[line:24] - ERROR: mysql连接异常: (1049, "Unknown database 'g01_0345'")
  90. Traceback (most recent call last):
  91. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 21, in connect
  92. database=self.database)
  93. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 353, in __init__
  94. self.connect()
  95. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 633, in connect
  96. self._request_authentication()
  97. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 932, in _request_authentication
  98. auth_packet = _auth.caching_sha2_password_auth(self, auth_packet)
  99. File "D:\Python\Python37-32\lib\site-packages\pymysql\_auth.py", line 239, in caching_sha2_password_auth
  100. pkt = conn._read_packet()
  101. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 725, in _read_packet
  102. packet.raise_for_error()
  103. File "D:\Python\Python37-32\lib\site-packages\pymysql\protocol.py", line 221, in raise_for_error
  104. err.raise_mysql_exception(self._data)
  105. File "D:\Python\Python37-32\lib\site-packages\pymysql\err.py", line 143, in raise_mysql_exception
  106. raise errorclass(errno, errval)
  107. pymysql.err.OperationalError: (1049, "Unknown database 'g01_0345'")
  108. Stack (most recent call last):
  109. File "D:\Python\Python37-32\lib\threading.py", line 890, in _bootstrap
  110. self._bootstrap_inner()
  111. File "D:\Python\Python37-32\lib\threading.py", line 926, in _bootstrap_inner
  112. self.run()
  113. File "D:\git_workspace\sanoh\G01_0345\pro.py", line 597, in run
  114. self.product_name_set()
  115. File "D:\git_workspace\sanoh\G01_0345\pro.py", line 508, in product_name_set
  116. paramresult = self.sqlclient.sql_inquire_all(sqlstr)
  117. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 68, in sql_inquire_all
  118. self.connect()
  119. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 24, in connect
  120. self.log_file.logger.error('mysql连接异常: {0}'.format(e), exc_info=True, stack_info=True)
  121. 2022-08-01 17:17:32,887 - D:\git_workspace\sanoh\G01_0345\ezcad.py[line:27] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。')
  122. Traceback (most recent call last):
  123. File "D:\git_workspace\sanoh\G01_0345\ezcad.py", line 21, in run
  124. win32api.ShellExecute(0, 'open', self.exename, self.filename, self.exepath, 1)
  125. pywintypes.error: (2, 'ShellExecute', '系统找不到指定的文件。')
  126. Stack (most recent call last):
  127. File "D:\Python\Python37-32\lib\threading.py", line 890, in _bootstrap
  128. self._bootstrap_inner()
  129. File "D:\Python\Python37-32\lib\threading.py", line 926, in _bootstrap_inner
  130. self.run()
  131. File "D:\git_workspace\sanoh\G01_0345\ezcad.py", line 27, in run
  132. self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True)
  133. 2022-08-01 17:18:06,089 - D:\git_workspace\sanoh\G01_0345\sql.py[line:24] - ERROR: mysql连接异常: (1049, "Unknown database 'g01_0345'")
  134. Traceback (most recent call last):
  135. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 21, in connect
  136. database=self.database)
  137. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 353, in __init__
  138. self.connect()
  139. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 633, in connect
  140. self._request_authentication()
  141. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 932, in _request_authentication
  142. auth_packet = _auth.caching_sha2_password_auth(self, auth_packet)
  143. File "D:\Python\Python37-32\lib\site-packages\pymysql\_auth.py", line 239, in caching_sha2_password_auth
  144. pkt = conn._read_packet()
  145. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 725, in _read_packet
  146. packet.raise_for_error()
  147. File "D:\Python\Python37-32\lib\site-packages\pymysql\protocol.py", line 221, in raise_for_error
  148. err.raise_mysql_exception(self._data)
  149. File "D:\Python\Python37-32\lib\site-packages\pymysql\err.py", line 143, in raise_mysql_exception
  150. raise errorclass(errno, errval)
  151. pymysql.err.OperationalError: (1049, "Unknown database 'g01_0345'")
  152. Stack (most recent call last):
  153. File "D:\Python\Python37-32\lib\threading.py", line 890, in _bootstrap
  154. self._bootstrap_inner()
  155. File "D:\Python\Python37-32\lib\threading.py", line 926, in _bootstrap_inner
  156. self.run()
  157. File "D:\git_workspace\sanoh\G01_0345\pro.py", line 597, in run
  158. self.product_name_set()
  159. File "D:\git_workspace\sanoh\G01_0345\pro.py", line 508, in product_name_set
  160. paramresult = self.sqlclient.sql_inquire_all(sqlstr)
  161. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 68, in sql_inquire_all
  162. self.connect()
  163. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 24, in connect
  164. self.log_file.logger.error('mysql连接异常: {0}'.format(e), exc_info=True, stack_info=True)
  165. 2022-08-01 17:18:06,120 - D:\git_workspace\sanoh\G01_0345\ezcad.py[line:27] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。')
  166. Traceback (most recent call last):
  167. File "D:\git_workspace\sanoh\G01_0345\ezcad.py", line 21, in run
  168. win32api.ShellExecute(0, 'open', self.exename, self.filename, self.exepath, 1)
  169. pywintypes.error: (2, 'ShellExecute', '系统找不到指定的文件。')
  170. Stack (most recent call last):
  171. File "D:\Python\Python37-32\lib\threading.py", line 890, in _bootstrap
  172. self._bootstrap_inner()
  173. File "D:\Python\Python37-32\lib\threading.py", line 926, in _bootstrap_inner
  174. self.run()
  175. File "D:\git_workspace\sanoh\G01_0345\ezcad.py", line 27, in run
  176. self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True)
  177. 2022-08-01 17:18:48,524 - D:\git_workspace\sanoh\G01_0345\sql.py[line:24] - ERROR: mysql连接异常: (1049, "Unknown database 'g01_0345'")
  178. Traceback (most recent call last):
  179. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 21, in connect
  180. database=self.database)
  181. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 353, in __init__
  182. self.connect()
  183. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 633, in connect
  184. self._request_authentication()
  185. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 932, in _request_authentication
  186. auth_packet = _auth.caching_sha2_password_auth(self, auth_packet)
  187. File "D:\Python\Python37-32\lib\site-packages\pymysql\_auth.py", line 239, in caching_sha2_password_auth
  188. pkt = conn._read_packet()
  189. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 725, in _read_packet
  190. packet.raise_for_error()
  191. File "D:\Python\Python37-32\lib\site-packages\pymysql\protocol.py", line 221, in raise_for_error
  192. err.raise_mysql_exception(self._data)
  193. File "D:\Python\Python37-32\lib\site-packages\pymysql\err.py", line 143, in raise_mysql_exception
  194. raise errorclass(errno, errval)
  195. pymysql.err.OperationalError: (1049, "Unknown database 'g01_0345'")
  196. Stack (most recent call last):
  197. File "D:\Python\Python37-32\lib\threading.py", line 890, in _bootstrap
  198. self._bootstrap_inner()
  199. File "D:\Python\Python37-32\lib\threading.py", line 926, in _bootstrap_inner
  200. self.run()
  201. File "D:\git_workspace\sanoh\G01_0345\pro.py", line 597, in run
  202. self.product_name_set()
  203. File "D:\git_workspace\sanoh\G01_0345\pro.py", line 508, in product_name_set
  204. paramresult = self.sqlclient.sql_inquire_all(sqlstr)
  205. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 68, in sql_inquire_all
  206. self.connect()
  207. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 24, in connect
  208. self.log_file.logger.error('mysql连接异常: {0}'.format(e), exc_info=True, stack_info=True)
  209. 2022-08-01 17:18:48,551 - D:\git_workspace\sanoh\G01_0345\ezcad.py[line:27] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。')
  210. Traceback (most recent call last):
  211. File "D:\git_workspace\sanoh\G01_0345\ezcad.py", line 21, in run
  212. win32api.ShellExecute(0, 'open', self.exename, self.filename, self.exepath, 1)
  213. pywintypes.error: (2, 'ShellExecute', '系统找不到指定的文件。')
  214. Stack (most recent call last):
  215. File "D:\Python\Python37-32\lib\threading.py", line 890, in _bootstrap
  216. self._bootstrap_inner()
  217. File "D:\Python\Python37-32\lib\threading.py", line 926, in _bootstrap_inner
  218. self.run()
  219. File "D:\git_workspace\sanoh\G01_0345\ezcad.py", line 27, in run
  220. self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True)
  221. 2022-08-01 17:19:11,299 - D:\git_workspace\sanoh\G01_0345\sql.py[line:24] - ERROR: mysql连接异常: (1049, "Unknown database 'g01_0345'")
  222. Traceback (most recent call last):
  223. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 21, in connect
  224. database=self.database)
  225. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 353, in __init__
  226. self.connect()
  227. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 633, in connect
  228. self._request_authentication()
  229. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 932, in _request_authentication
  230. auth_packet = _auth.caching_sha2_password_auth(self, auth_packet)
  231. File "D:\Python\Python37-32\lib\site-packages\pymysql\_auth.py", line 239, in caching_sha2_password_auth
  232. pkt = conn._read_packet()
  233. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 725, in _read_packet
  234. packet.raise_for_error()
  235. File "D:\Python\Python37-32\lib\site-packages\pymysql\protocol.py", line 221, in raise_for_error
  236. err.raise_mysql_exception(self._data)
  237. File "D:\Python\Python37-32\lib\site-packages\pymysql\err.py", line 143, in raise_mysql_exception
  238. raise errorclass(errno, errval)
  239. pymysql.err.OperationalError: (1049, "Unknown database 'g01_0345'")
  240. Stack (most recent call last):
  241. File "D:\Python\Python37-32\lib\threading.py", line 890, in _bootstrap
  242. self._bootstrap_inner()
  243. File "D:\Python\Python37-32\lib\threading.py", line 926, in _bootstrap_inner
  244. self.run()
  245. File "D:\git_workspace\sanoh\G01_0345\pro.py", line 597, in run
  246. self.product_name_set()
  247. File "D:\git_workspace\sanoh\G01_0345\pro.py", line 508, in product_name_set
  248. paramresult = self.sqlclient.sql_inquire_all(sqlstr)
  249. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 68, in sql_inquire_all
  250. self.connect()
  251. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 24, in connect
  252. self.log_file.logger.error('mysql连接异常: {0}'.format(e), exc_info=True, stack_info=True)
  253. 2022-08-01 17:19:11,327 - D:\git_workspace\sanoh\G01_0345\ezcad.py[line:27] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。')
  254. Traceback (most recent call last):
  255. File "D:\git_workspace\sanoh\G01_0345\ezcad.py", line 21, in run
  256. win32api.ShellExecute(0, 'open', self.exename, self.filename, self.exepath, 1)
  257. pywintypes.error: (2, 'ShellExecute', '系统找不到指定的文件。')
  258. Stack (most recent call last):
  259. File "D:\Python\Python37-32\lib\threading.py", line 890, in _bootstrap
  260. self._bootstrap_inner()
  261. File "D:\Python\Python37-32\lib\threading.py", line 926, in _bootstrap_inner
  262. self.run()
  263. File "D:\git_workspace\sanoh\G01_0345\ezcad.py", line 27, in run
  264. self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True)
  265. 2022-08-01 17:19:30,602 - D:\git_workspace\sanoh\G01_0345\sql.py[line:24] - ERROR: mysql连接异常: (1049, "Unknown database 'g01_0345'")
  266. Traceback (most recent call last):
  267. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 21, in connect
  268. database=self.database)
  269. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 353, in __init__
  270. self.connect()
  271. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 633, in connect
  272. self._request_authentication()
  273. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 932, in _request_authentication
  274. auth_packet = _auth.caching_sha2_password_auth(self, auth_packet)
  275. File "D:\Python\Python37-32\lib\site-packages\pymysql\_auth.py", line 239, in caching_sha2_password_auth
  276. pkt = conn._read_packet()
  277. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 725, in _read_packet
  278. packet.raise_for_error()
  279. File "D:\Python\Python37-32\lib\site-packages\pymysql\protocol.py", line 221, in raise_for_error
  280. err.raise_mysql_exception(self._data)
  281. File "D:\Python\Python37-32\lib\site-packages\pymysql\err.py", line 143, in raise_mysql_exception
  282. raise errorclass(errno, errval)
  283. pymysql.err.OperationalError: (1049, "Unknown database 'g01_0345'")
  284. Stack (most recent call last):
  285. File "D:\Python\Python37-32\lib\threading.py", line 890, in _bootstrap
  286. self._bootstrap_inner()
  287. File "D:\Python\Python37-32\lib\threading.py", line 926, in _bootstrap_inner
  288. self.run()
  289. File "D:\git_workspace\sanoh\G01_0345\pro.py", line 597, in run
  290. self.product_name_set()
  291. File "D:\git_workspace\sanoh\G01_0345\pro.py", line 508, in product_name_set
  292. paramresult = self.sqlclient.sql_inquire_all(sqlstr)
  293. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 68, in sql_inquire_all
  294. self.connect()
  295. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 24, in connect
  296. self.log_file.logger.error('mysql连接异常: {0}'.format(e), exc_info=True, stack_info=True)
  297. 2022-08-01 17:19:30,631 - D:\git_workspace\sanoh\G01_0345\ezcad.py[line:27] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。')
  298. Traceback (most recent call last):
  299. File "D:\git_workspace\sanoh\G01_0345\ezcad.py", line 21, in run
  300. win32api.ShellExecute(0, 'open', self.exename, self.filename, self.exepath, 1)
  301. pywintypes.error: (2, 'ShellExecute', '系统找不到指定的文件。')
  302. Stack (most recent call last):
  303. File "D:\Python\Python37-32\lib\threading.py", line 890, in _bootstrap
  304. self._bootstrap_inner()
  305. File "D:\Python\Python37-32\lib\threading.py", line 926, in _bootstrap_inner
  306. self.run()
  307. File "D:\git_workspace\sanoh\G01_0345\ezcad.py", line 27, in run
  308. self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True)
  309. 2022-08-01 18:32:12,916 - D:\git_workspace\sanoh\G01_0345\sql.py[line:24] - ERROR: mysql连接异常: (1049, "Unknown database 'g01_0345'")
  310. Traceback (most recent call last):
  311. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 21, in connect
  312. database=self.database)
  313. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 353, in __init__
  314. self.connect()
  315. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 633, in connect
  316. self._request_authentication()
  317. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 932, in _request_authentication
  318. auth_packet = _auth.caching_sha2_password_auth(self, auth_packet)
  319. File "D:\Python\Python37-32\lib\site-packages\pymysql\_auth.py", line 239, in caching_sha2_password_auth
  320. pkt = conn._read_packet()
  321. File "D:\Python\Python37-32\lib\site-packages\pymysql\connections.py", line 725, in _read_packet
  322. packet.raise_for_error()
  323. File "D:\Python\Python37-32\lib\site-packages\pymysql\protocol.py", line 221, in raise_for_error
  324. err.raise_mysql_exception(self._data)
  325. File "D:\Python\Python37-32\lib\site-packages\pymysql\err.py", line 143, in raise_mysql_exception
  326. raise errorclass(errno, errval)
  327. pymysql.err.OperationalError: (1049, "Unknown database 'g01_0345'")
  328. Stack (most recent call last):
  329. File "D:\Python\Python37-32\lib\threading.py", line 890, in _bootstrap
  330. self._bootstrap_inner()
  331. File "D:\Python\Python37-32\lib\threading.py", line 926, in _bootstrap_inner
  332. self.run()
  333. File "D:\git_workspace\sanoh\G01_0345\pro.py", line 605, in run
  334. self.product_name_set()
  335. File "D:\git_workspace\sanoh\G01_0345\pro.py", line 516, in product_name_set
  336. paramresult = self.sqlclient.sql_inquire_all(sqlstr)
  337. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 68, in sql_inquire_all
  338. self.connect()
  339. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 24, in connect
  340. self.log_file.logger.error('mysql连接异常: {0}'.format(e), exc_info=True, stack_info=True)
  341. 2022-08-01 18:32:12,948 - D:\git_workspace\sanoh\G01_0345\ezcad.py[line:27] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。')
  342. Traceback (most recent call last):
  343. File "D:\git_workspace\sanoh\G01_0345\ezcad.py", line 21, in run
  344. win32api.ShellExecute(0, 'open', self.exename, self.filename, self.exepath, 1)
  345. pywintypes.error: (2, 'ShellExecute', '系统找不到指定的文件。')
  346. Stack (most recent call last):
  347. File "D:\Python\Python37-32\lib\threading.py", line 890, in _bootstrap
  348. self._bootstrap_inner()
  349. File "D:\Python\Python37-32\lib\threading.py", line 926, in _bootstrap_inner
  350. self.run()
  351. File "D:\git_workspace\sanoh\G01_0345\ezcad.py", line 27, in run
  352. self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True)
  353. 2022-08-01 23:48:12,066 - D:\git_workspace\sanoh\G01_0345\sql.py[line:47] - ERROR: mysql执行异常: (1366, "Incorrect integer value: 'NULL' for column 'end_time' at row 1")
  354. Traceback (most recent call last):
  355. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 42, in sql_action
  356. cursor.execute(sql)
  357. File "D:\Python\Python36-32\lib\site-packages\pymysql\cursors.py", line 148, in execute
  358. result = self._query(query)
  359. File "D:\Python\Python36-32\lib\site-packages\pymysql\cursors.py", line 310, in _query
  360. conn.query(q)
  361. File "D:\Python\Python36-32\lib\site-packages\pymysql\connections.py", line 548, in query
  362. self._affected_rows = self._read_query_result(unbuffered=unbuffered)
  363. File "D:\Python\Python36-32\lib\site-packages\pymysql\connections.py", line 775, in _read_query_result
  364. result.read()
  365. File "D:\Python\Python36-32\lib\site-packages\pymysql\connections.py", line 1156, in read
  366. first_packet = self.connection._read_packet()
  367. File "D:\Python\Python36-32\lib\site-packages\pymysql\connections.py", line 725, in _read_packet
  368. packet.raise_for_error()
  369. File "D:\Python\Python36-32\lib\site-packages\pymysql\protocol.py", line 221, in raise_for_error
  370. err.raise_mysql_exception(self._data)
  371. File "D:\Python\Python36-32\lib\site-packages\pymysql\err.py", line 143, in raise_mysql_exception
  372. raise errorclass(errno, errval)
  373. pymysql.err.DataError: (1366, "Incorrect integer value: 'NULL' for column 'end_time' at row 1")
  374. Stack (most recent call last):
  375. File "D:\Python\Python36-32\lib\threading.py", line 884, in _bootstrap
  376. self._bootstrap_inner()
  377. File "D:\Python\Python36-32\lib\threading.py", line 916, in _bootstrap_inner
  378. self.run()
  379. File "D:\git_workspace\sanoh\G01_0345\pro.py", line 641, in run
  380. self.batch_tbl_check()
  381. File "D:\git_workspace\sanoh\G01_0345\pro.py", line 338, in batch_tbl_check
  382. self.insert_batch_tbl()
  383. File "D:\git_workspace\sanoh\G01_0345\pro.py", line 325, in insert_batch_tbl
  384. self.sqlclient.sql_action_all(sqlstr)
  385. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 77, in sql_action_all
  386. result = self.sql_action(sqlstr)
  387. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 47, in sql_action
  388. self.log_file.logger.error('mysql执行异常: {0}'.format(e), exc_info=True, stack_info=True)
  389. 2022-08-01 23:48:56,014 - D:\git_workspace\sanoh\G01_0345\sql.py[line:47] - ERROR: mysql执行异常: (1366, "Incorrect integer value: 'NULL' for column 'end_time' at row 1")
  390. Traceback (most recent call last):
  391. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 42, in sql_action
  392. cursor.execute(sql)
  393. File "D:\Python\Python36-32\lib\site-packages\pymysql\cursors.py", line 148, in execute
  394. result = self._query(query)
  395. File "D:\Python\Python36-32\lib\site-packages\pymysql\cursors.py", line 310, in _query
  396. conn.query(q)
  397. File "D:\Python\Python36-32\lib\site-packages\pymysql\connections.py", line 548, in query
  398. self._affected_rows = self._read_query_result(unbuffered=unbuffered)
  399. File "D:\Python\Python36-32\lib\site-packages\pymysql\connections.py", line 775, in _read_query_result
  400. result.read()
  401. File "D:\Python\Python36-32\lib\site-packages\pymysql\connections.py", line 1156, in read
  402. first_packet = self.connection._read_packet()
  403. File "D:\Python\Python36-32\lib\site-packages\pymysql\connections.py", line 725, in _read_packet
  404. packet.raise_for_error()
  405. File "D:\Python\Python36-32\lib\site-packages\pymysql\protocol.py", line 221, in raise_for_error
  406. err.raise_mysql_exception(self._data)
  407. File "D:\Python\Python36-32\lib\site-packages\pymysql\err.py", line 143, in raise_mysql_exception
  408. raise errorclass(errno, errval)
  409. pymysql.err.DataError: (1366, "Incorrect integer value: 'NULL' for column 'end_time' at row 1")
  410. Stack (most recent call last):
  411. File "D:\Python\Python36-32\lib\threading.py", line 884, in _bootstrap
  412. self._bootstrap_inner()
  413. File "D:\Python\Python36-32\lib\threading.py", line 916, in _bootstrap_inner
  414. self.run()
  415. File "D:\git_workspace\sanoh\G01_0345\pro.py", line 641, in run
  416. self.batch_tbl_check()
  417. File "D:\git_workspace\sanoh\G01_0345\pro.py", line 338, in batch_tbl_check
  418. self.insert_batch_tbl()
  419. File "D:\git_workspace\sanoh\G01_0345\pro.py", line 325, in insert_batch_tbl
  420. self.sqlclient.sql_action_all(sqlstr)
  421. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 77, in sql_action_all
  422. result = self.sql_action(sqlstr)
  423. File "D:\git_workspace\sanoh\G01_0345\sql.py", line 47, in sql_action
  424. self.log_file.logger.error('mysql执行异常: {0}'.format(e), exc_info=True, stack_info=True)