From VantHfoff, 3 Years ago, written in Plain Text.
- view diff
Embed
  1. Microsoft Windows [版本 10.0.17763.1518]
  2. (c) 2018 Microsoft Corporation。保留所有权利。
  3.  
  4. C:\mirai\Amiya-Bot>py C:\mirai\Amiya-Bot\amiya.py
  5. Traceback (most recent call last):
  6.   File "C:\mirai\Amiya-Bot\amiya.py", line 4, in <module>
  7.     from modules.network.websocketClient import Websocket
  8.   File "C:\mirai\Amiya-Bot\modules\network\websocketClient.py", line 5, in <module>
  9.     from modules.automaticAction import run_automatic_action
  10.   File "C:\mirai\Amiya-Bot\modules\automaticAction.py", line 7, in <module>
  11.     from modules.commonMethods import maintain_record, insert_zero
  12.   File "C:\mirai\Amiya-Bot\modules\commonMethods.py", line 10, in <module>
  13.     from message.messageType import TextImage, Image, Voice, Text
  14.   File "C:\mirai\Amiya-Bot\message\messageType.py", line 3, in <module>
  15.     from modules.resource.imageManager import ImageManager
  16.   File "C:\mirai\Amiya-Bot\modules\resource\imageManager.py", line 6, in <module>
  17.     from modules.network.httpRequests import HttpRequests
  18.   File "C:\mirai\Amiya-Bot\modules\network\httpRequests.py", line 8, in <module>
  19.     database = BaseController()
  20.   File "C:\mirai\Amiya-Bot\database\baseController.py", line 18, in __init__
  21.     self.comb = Mysql(config)
  22.   File "C:\mirai\Amiya-Bot\database\sqlCombiner.py", line 14, in __init__
  23.     autocommit=1
  24.   File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\pymysql\__init__.py", line 94, in Connect
  25.     return Connection(*args, **kwargs)
  26.   File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\pymysql\connections.py", line 327, in __init__
  27.     self.connect()
  28.   File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\pymysql\connections.py", line 588, in connect
  29.     self._request_authentication()
  30.   File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\pymysql\connections.py", line 874, in _request_authentication
  31.     auth_packet = _auth.caching_sha2_password_auth(self, auth_packet)
  32.   File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\pymysql\_auth.py", line 326, in caching_sha2_password_auth
  33.     data = sha2_rsa_encrypt(conn.password, conn.salt, conn.server_public_key)
  34.   File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\pymysql\_auth.py", line 204, in sha2_rsa_encrypt
  35.     raise RuntimeError("'cryptography' package is required for sha256_password or caching_sha2_password auth methods")
  36. RuntimeError: 'cryptography' package is required for sha256_password or caching_sha2_password auth methods
  37. Exception ignored in: <function Mysql.__del__ at 0x000001F7061FCDC8>
  38. Traceback (most recent call last):
  39.   File "C:\mirai\Amiya-Bot\database\sqlCombiner.py", line 19, in __del__
  40.     self.close()
  41.   File "C:\mirai\Amiya-Bot\database\sqlCombiner.py", line 125, in close
  42.     self.db.close()
  43. AttributeError: 'Mysql' object has no attribute 'db'