error.log.2021-12-13 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. 2021-10-24 09:35:08,160 - D:\git_workspace\sanoh\G01_0347\sql.py[line:24] - ERROR: mysql连接异常: 'cryptography' package is required for sha256_password or caching_sha2_password auth methods
  2. Traceback (most recent call last):
  3. File "D:\git_workspace\sanoh\G01_0347\sql.py", line 21, in connect
  4. database=self.database)
  5. File "D:\git_workspace\sanoh\G01_0347\venv_win32\lib\site-packages\pymysql\connections.py", line 353, in __init__
  6. self.connect()
  7. File "D:\git_workspace\sanoh\G01_0347\venv_win32\lib\site-packages\pymysql\connections.py", line 633, in connect
  8. self._request_authentication()
  9. File "D:\git_workspace\sanoh\G01_0347\venv_win32\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:\git_workspace\sanoh\G01_0347\venv_win32\lib\site-packages\pymysql\_auth.py", line 265, in caching_sha2_password_auth
  12. data = sha2_rsa_encrypt(conn.password, conn.salt, conn.server_public_key)
  13. File "D:\git_workspace\sanoh\G01_0347\venv_win32\lib\site-packages\pymysql\_auth.py", line 144, in sha2_rsa_encrypt
  14. "'cryptography' package is required for sha256_password or caching_sha2_password auth methods"
  15. RuntimeError: 'cryptography' package is required for sha256_password or caching_sha2_password auth methods
  16. Stack (most recent call last):
  17. File "D:\Python\Python36-32\lib\threading.py", line 884, in _bootstrap
  18. self._bootstrap_inner()
  19. File "D:\Python\Python36-32\lib\threading.py", line 916, in _bootstrap_inner
  20. self.run()
  21. File "D:\git_workspace\sanoh\G01_0347\pro.py", line 585, in run
  22. self.product_name_set()
  23. File "D:\git_workspace\sanoh\G01_0347\pro.py", line 503, in product_name_set
  24. paramresult = self.sqlclient.sql_inquire_all(sqlstr)
  25. File "D:\git_workspace\sanoh\G01_0347\sql.py", line 68, in sql_inquire_all
  26. self.connect()
  27. File "D:\git_workspace\sanoh\G01_0347\sql.py", line 24, in connect
  28. self.log_file.logger.error('mysql连接异常: {0}'.format(e), exc_info=True, stack_info=True)
  29. 2021-12-10 22:41:49,807 - D:\git_workspace\sanoh\G01_0347\ezcad.py[line:28] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。')
  30. Traceback (most recent call last):
  31. File "D:\git_workspace\sanoh\G01_0347\ezcad.py", line 22, in run
  32. win32api.ShellExecute(0, 'open', self.exename, self.filename, self.exepath, 1)
  33. pywintypes.error: (2, 'ShellExecute', '系统找不到指定的文件。')
  34. Stack (most recent call last):
  35. File "D:\Python\Python36-32\lib\threading.py", line 884, in _bootstrap
  36. self._bootstrap_inner()
  37. File "D:\Python\Python36-32\lib\threading.py", line 916, in _bootstrap_inner
  38. self.run()
  39. File "D:\git_workspace\sanoh\G01_0347\ezcad.py", line 28, in run
  40. self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True)
  41. 2021-12-13 13:35:15,233 - D:\git_workspace\sanoh\G01_0347\ezcad.py[line:28] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。')
  42. Traceback (most recent call last):
  43. File "D:\git_workspace\sanoh\G01_0347\ezcad.py", line 22, in run
  44. win32api.ShellExecute(0, 'open', self.exename, self.filename, self.exepath, 1)
  45. pywintypes.error: (2, 'ShellExecute', '系统找不到指定的文件。')
  46. Stack (most recent call last):
  47. File "D:\Python\Python36-32\lib\threading.py", line 884, in _bootstrap
  48. self._bootstrap_inner()
  49. File "D:\Python\Python36-32\lib\threading.py", line 916, in _bootstrap_inner
  50. self.run()
  51. File "D:\git_workspace\sanoh\G01_0347\ezcad.py", line 28, in run
  52. self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True)
  53. 2021-12-13 13:38:27,060 - D:\git_workspace\sanoh\G01_0347\ezcad.py[line:28] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。')
  54. Traceback (most recent call last):
  55. File "D:\git_workspace\sanoh\G01_0347\ezcad.py", line 22, in run
  56. win32api.ShellExecute(0, 'open', self.exename, self.filename, self.exepath, 1)
  57. pywintypes.error: (2, 'ShellExecute', '系统找不到指定的文件。')
  58. Stack (most recent call last):
  59. File "D:\Python\Python36-32\lib\threading.py", line 884, in _bootstrap
  60. self._bootstrap_inner()
  61. File "D:\Python\Python36-32\lib\threading.py", line 916, in _bootstrap_inner
  62. self.run()
  63. File "D:\git_workspace\sanoh\G01_0347\ezcad.py", line 28, in run
  64. self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True)
  65. 2021-12-13 14:14:54,394 - D:\git_workspace\sanoh\G01_0347\ezcad.py[line:28] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。')
  66. Traceback (most recent call last):
  67. File "D:\git_workspace\sanoh\G01_0347\ezcad.py", line 22, in run
  68. win32api.ShellExecute(0, 'open', self.exename, self.filename, self.exepath, 1)
  69. pywintypes.error: (2, 'ShellExecute', '系统找不到指定的文件。')
  70. Stack (most recent call last):
  71. File "D:\Python\Python36-32\lib\threading.py", line 884, in _bootstrap
  72. self._bootstrap_inner()
  73. File "D:\Python\Python36-32\lib\threading.py", line 916, in _bootstrap_inner
  74. self.run()
  75. File "D:\git_workspace\sanoh\G01_0347\ezcad.py", line 28, in run
  76. self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True)
  77. 2021-12-13 14:18:00,110 - D:\git_workspace\sanoh\G01_0347\ezcad.py[line:28] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。')
  78. Traceback (most recent call last):
  79. File "D:\git_workspace\sanoh\G01_0347\ezcad.py", line 22, 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:\Program Files\JetBrains\PyCharm Community Edition 2020.2.2\plugins\python-ce\helpers\pydev\_pydev_bundle\pydev_monkey.py", line 773, in __call__
  84. ret = self.original_func(*self.args, **self.kwargs)
  85. File "D:\Python\Python36-32\lib\threading.py", line 884, in _bootstrap
  86. self._bootstrap_inner()
  87. File "D:\Python\Python36-32\lib\threading.py", line 916, in _bootstrap_inner
  88. self.run()
  89. File "D:\git_workspace\sanoh\G01_0347\ezcad.py", line 28, in run
  90. self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True)
  91. 2021-12-13 14:23:02,729 - D:\git_workspace\sanoh\G01_0347\ezcad.py[line:28] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。')
  92. Traceback (most recent call last):
  93. File "D:\git_workspace\sanoh\G01_0347\ezcad.py", line 22, in run
  94. win32api.ShellExecute(0, 'open', self.exename, self.filename, self.exepath, 1)
  95. pywintypes.error: (2, 'ShellExecute', '系统找不到指定的文件。')
  96. Stack (most recent call last):
  97. File "D:\Python\Python36-32\lib\threading.py", line 884, in _bootstrap
  98. self._bootstrap_inner()
  99. File "D:\Python\Python36-32\lib\threading.py", line 916, in _bootstrap_inner
  100. self.run()
  101. File "D:\git_workspace\sanoh\G01_0347\ezcad.py", line 28, in run
  102. self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True)
  103. 2021-12-13 14:23:54,047 - D:\git_workspace\sanoh\G01_0347\ezcad.py[line:28] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。')
  104. Traceback (most recent call last):
  105. File "D:\git_workspace\sanoh\G01_0347\ezcad.py", line 22, in run
  106. win32api.ShellExecute(0, 'open', self.exename, self.filename, self.exepath, 1)
  107. pywintypes.error: (2, 'ShellExecute', '系统找不到指定的文件。')
  108. Stack (most recent call last):
  109. 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__
  110. ret = self.original_func(*self.args, **self.kwargs)
  111. File "D:\Python\Python36-32\lib\threading.py", line 884, in _bootstrap
  112. self._bootstrap_inner()
  113. File "D:\Python\Python36-32\lib\threading.py", line 916, in _bootstrap_inner
  114. self.run()
  115. File "D:\git_workspace\sanoh\G01_0347\ezcad.py", line 28, in run
  116. self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True)
  117. 2021-12-13 14:27:52,038 - D:\git_workspace\sanoh\G01_0347\ezcad.py[line:28] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。')
  118. Traceback (most recent call last):
  119. File "D:\git_workspace\sanoh\G01_0347\ezcad.py", line 22, in run
  120. win32api.ShellExecute(0, 'open', self.exename, self.filename, self.exepath, 1)
  121. pywintypes.error: (2, 'ShellExecute', '系统找不到指定的文件。')
  122. Stack (most recent call last):
  123. 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__
  124. ret = self.original_func(*self.args, **self.kwargs)
  125. File "D:\Python\Python36-32\lib\threading.py", line 884, in _bootstrap
  126. self._bootstrap_inner()
  127. File "D:\Python\Python36-32\lib\threading.py", line 916, in _bootstrap_inner
  128. self.run()
  129. File "D:\git_workspace\sanoh\G01_0347\ezcad.py", line 28, in run
  130. self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True)
  131. 2021-12-13 00:04:24,417 - D:\git_workspace\sanoh\G01_0347\ezcad.py[line:28] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。')
  132. Traceback (most recent call last):
  133. File "D:\git_workspace\sanoh\G01_0347\ezcad.py", line 22, in run
  134. win32api.ShellExecute(0, 'open', self.exename, self.filename, self.exepath, 1)
  135. pywintypes.error: (2, 'ShellExecute', '系统找不到指定的文件。')
  136. Stack (most recent call last):
  137. 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__
  138. ret = self.original_func(*self.args, **self.kwargs)
  139. File "D:\Python\Python36-32\lib\threading.py", line 884, in _bootstrap
  140. self._bootstrap_inner()
  141. File "D:\Python\Python36-32\lib\threading.py", line 916, in _bootstrap_inner
  142. self.run()
  143. File "D:\git_workspace\sanoh\G01_0347\ezcad.py", line 28, in run
  144. self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True)
  145. 2021-12-13 00:13:56,407 - D:\git_workspace\sanoh\G01_0347\ezcad.py[line:28] - ERROR: 打标机软件执行异常: (2, 'ShellExecute', '系统找不到指定的文件。')
  146. Traceback (most recent call last):
  147. File "D:\git_workspace\sanoh\G01_0347\ezcad.py", line 22, in run
  148. win32api.ShellExecute(0, 'open', self.exename, self.filename, self.exepath, 1)
  149. pywintypes.error: (2, 'ShellExecute', '系统找不到指定的文件。')
  150. Stack (most recent call last):
  151. 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__
  152. ret = self.original_func(*self.args, **self.kwargs)
  153. File "D:\Python\Python36-32\lib\threading.py", line 884, in _bootstrap
  154. self._bootstrap_inner()
  155. File "D:\Python\Python36-32\lib\threading.py", line 916, in _bootstrap_inner
  156. self.run()
  157. File "D:\git_workspace\sanoh\G01_0347\ezcad.py", line 28, in run
  158. self.log_file.logger.error('打标机软件执行异常: {0}'.format(e), exc_info=True, stack_info=True)