MoGuDing-Auto
MoGuDing-Auto copied to clipboard
请问可以推出腾讯云函数版本或如何部署到腾讯云函数
如题 github的服务器经常Network is unreachable 导致打卡失败
##groupRun python MoGuDing.py 36;1mpython MoGuDing.py0m shell: /usr/bin/bash -e 0 env: pythonLocation: /opt/hostedtoolcache/Python/3.9.6/x64 LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.9.6/x64/lib PERSONAL_INFORMATION: *** SERVERPUSHKEY: *** TG_BOT_TOKEN: TG_USER_ID: BARK: PUSHPLUS: ACCESSTOKEN: CORPID: CORPSECRET: TOUSER: AGENTID: THUMB_MEDIA_ID: AUTHOR: ##endgroup 欢迎使用MoGuDing-Auto! Traceback (most recent call last): File "/opt/hostedtoolcache/Python/3.9.6/x64/lib/python3.9/site-packages/urllib3/connection.py", line 169, in _new_conn conn = connection.create_connection( File "/opt/hostedtoolcache/Python/3.9.6/x64/lib/python3.9/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/opt/hostedtoolcache/Python/3.9.6/x64/lib/python3.9/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) OSError: Errno 101 Network is unreachable
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/opt/hostedtoolcache/Python/3.9.6/x64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/opt/hostedtoolcache/Python/3.9.6/x64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/opt/hostedtoolcache/Python/3.9.6/x64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/opt/hostedtoolcache/Python/3.9.6/x64/lib/python3.9/site-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/opt/hostedtoolcache/Python/3.9.6/x64/lib/python3.9/site-packages/urllib3/connection.py", line 181, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f4e9ddd4370>: Failed to establish a new connection: Errno 101 Network is unreachable
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/opt/hostedtoolcache/Python/3.9.6/x64/lib/python3.9/site-packages/requests/adapters.py", line 439, in send resp = conn.urlopen( File "/opt/hostedtoolcache/Python/3.9.6/x64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/opt/hostedtoolcache/Python/3.9.6/x64/lib/python3.9/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.moguding.net', port=9000): Max retries exceeded with url: /usercenter/user/v1/info (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f4e9ddd4370>: Failed to establish a new connection: Errno 101 Network is unreachable'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/runner/work/MoGuDing-Auto/MoGuDing-Auto/MoGuDing.py", line 308, in
将文件打包下载,在云函数那边设置好变量和python3环境
将文件打包下载,在云函数那边设置好变量和python3环境
请问有没有具体的方法呀,执行方法怎么填qwq
将文件打包下载,在云函数那边设置好变量和python3环境 {"errorCode":-1,"errorMessage":"user code exception caught","requestId":"f5e6eedf-7237-4a36-b69c-ee78279c5ffc","stackTrace":"Traceback (most recent call last):\nTypeError: main() takes 0 positional arguments but 2 were given","statusCode":430}
没配置好,有时间我再发教程吧,周末可能有空
没配置好,有时间我再发教程吧,周末可能有空
这周周末吗,我这里GitHub一直打卡失败