teampgm / pagermaid-pyro Goto Github PK
View Code? Open in Web Editor NEWAdvanced Multi-Featured Telegram UserBot by pyrogram.
License: GNU Affero General Public License v3.0
Advanced Multi-Featured Telegram UserBot by pyrogram.
License: GNU Affero General Public License v3.0
某一天,我在群里敲了一个 /help, 然后十个 bot 回应了我...
CentOS
x86
在centos7上使用yum安装openssl11并编译安装https://www.python.org/ftp/python/3.12.0/Python-3.12.0b4.tar.xz,安装相关依赖,改好配置文件,进入目录使用 python3.12 -m pagermaid
命令启动程序,完成登录,等控制台中日志暂时没有新的输出后,使用CTRL+c终止程序
程序正常终止,具体:
[root@localhost PagerMaid-Pyro]# python3.11 -m pagermaid
INFO [2023-07-30 13:12:22] [apscheduler.scheduler] Scheduler started
INFO [2023-07-30 13:12:22] [casbin.model.assertion] Role links for: g
INFO [2023-07-30 13:12:22] [casbin.rbac.default_role_manager.role_manager] owner < admin, admin < builder, builder < default
DEBUG [2023-07-30 13:12:22] [httpx] load_ssl_context verify=True cert=None trust_env=True http2=False
DEBUG [2023-07-30 13:12:22] [httpx] load_verify_locations cafile='/usr/local/lib/python3.11/site-packages/certifi/cacert.pem'
INFO [2023-07-30 13:12:22] [pagermaid] 加载内置模块: account, avoid, backup, clock, help, message, mixpanel, plugin, prune, reload, sentry, status, sudo, system, update
DEBUG [2023-07-30 13:12:23] [apscheduler.scheduler] Looking for jobs to run
DEBUG [2023-07-30 13:12:23] [apscheduler.scheduler] No jobs; waiting until a job is added
INFO [2023-07-30 13:12:23] [pagermaid] 将平台检测为“linux”,进入PagerMaid的早期加载过程。
INFO [2023-07-30 13:12:25] [pagermaid] 设置用户标识成功。
INFO [2023-07-30 13:12:25] [apscheduler.scheduler] Added job "clear_read_context_cron" to job store "default"
DEBUG [2023-07-30 13:12:25] [apscheduler.scheduler] Looking for jobs to run
DEBUG [2023-07-30 13:12:25] [apscheduler.scheduler] Next wakeup is due at 2023-07-31 04:00:00+08:00 (in 53254.424963 seconds)
INFO [2023-07-30 13:12:25] [pagermaid] PagerMaid-Pyro 已启动,在任何聊天中输入 ,help 以获得帮助消息。
DEBUG [2023-07-30 13:12:25] [httpcore.connection] connect_tcp.started host='api.mixpanel.com' port=443 local_address=None timeout=10.0 socket_options=None
DEBUG [2023-07-30 13:12:25] [httpcore.connection] connect_tcp.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x7f87787a5d10>
DEBUG [2023-07-30 13:12:25] [httpcore.connection] start_tls.started ssl_context=<ssl.SSLContext object at 0x7f8779bceb10> server_hostname='api.mixpanel.com' timeout=10.0
DEBUG [2023-07-30 13:12:25] [httpcore.connection] start_tls.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x7f87787ca4d0>
DEBUG [2023-07-30 13:12:25] [httpcore.http11] send_request_headers.started request=<Request [b'POST']>
DEBUG [2023-07-30 13:12:25] [httpcore.http11] send_request_headers.complete
DEBUG [2023-07-30 13:12:25] [httpcore.http11] send_request_body.started request=<Request [b'POST']>
DEBUG [2023-07-30 13:12:25] [httpcore.http11] send_request_body.complete
DEBUG [2023-07-30 13:12:25] [httpcore.http11] receive_response_headers.started request=<Request [b'POST']>
DEBUG [2023-07-30 13:12:25] [httpcore.http11] receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'access-control-allow-credentials', b'true'), (b'access-control-allow-headers', b'X-Requested-With'), (b'access-control-allow-methods', b'GET, POST, OPTIONS'), (b'access-control-allow-origin', b'*'), (b'access-control-expose-headers', b'X-MP-CE-Backoff'), (b'access-control-max-age', b'1728000'), (b'cache-control', b'no-cache, no-store'), (b'content-type', b'application/json'), (b'strict-transport-security', b'max-age=604800; includeSubDomains'), (b'date', b'Sun, 30 Jul 2023 05:12:25 GMT'), (b'content-length', b'25'), (b'x-envoy-upstream-service-time', b'17'), (b'server', b'envoy'), (b'Via', b'1.1 google'), (b'Alt-Svc', b'clear')])
INFO [2023-07-30 13:12:25] [httpx] HTTP Request: POST https://api.mixpanel.com/engage "HTTP/1.1 200 OK"
DEBUG [2023-07-30 13:12:25] [httpcore.http11] receive_response_body.started request=<Request [b'POST']>
DEBUG [2023-07-30 13:12:25] [httpcore.http11] receive_response_body.complete
DEBUG [2023-07-30 13:12:25] [httpcore.http11] response_closed.started
DEBUG [2023-07-30 13:12:25] [httpcore.http11] response_closed.complete
DEBUG [2023-07-30 13:12:25] [pagermaid] Mixpanel request took 0.10699176788330078 seconds
^C[root@localhost PagerMaid-Pyro]#
或者:
INFO [2023-07-30 13:07:52] [httpx] HTTP Request: POST https://api.mixpanel.com/engage "HTTP/1.1 200 OK"
DEBUG [2023-07-30 13:07:52] [httpcore.http11] receive_response_body.started request=<Request [b'POST']>
DEBUG [2023-07-30 13:07:52] [httpcore.http11] receive_response_body.complete
DEBUG [2023-07-30 13:07:52] [httpcore.http11] response_closed.started
DEBUG [2023-07-30 13:07:52] [httpcore.http11] response_closed.complete
DEBUG [2023-07-30 13:07:52] [pagermaid] Mixpanel request took 0.11959052085876465 seconds
^CINFO: Shutting down
INFO: Waiting for application shutdown.
INFO: Application shutdown complete.
[root@localhost PagerMaid-Pyro]#
使用CTRL+C结束程序时,控制台中抛出了python报错,具体:
[root@localhost PagerMaid-Pyro]# python3.12 -m pagermaid
INFO [2023-07-30 13:14:53] [apscheduler.scheduler] Scheduler started
INFO [2023-07-30 13:14:53] [casbin.model.assertion] Role links for: g
INFO [2023-07-30 13:14:53] [casbin.rbac.default_role_manager.role_manager] owner < admin, admin < builder, builder < default
DEBUG [2023-07-30 13:14:53] [httpx] load_ssl_context verify=True cert=None trust_env=True http2=False
DEBUG [2023-07-30 13:14:53] [httpx] load_verify_locations cafile='/usr/local/lib/python3.12/site-packages/certifi/cacert.pem'
INFO [2023-07-30 13:14:53] [pagermaid] 加载内置模块: account, avoid, backup, clock, help, message, mixpanel, plugin, prune, reload, sentry, status, sudo, system, update
DEBUG [2023-07-30 13:14:55] [apscheduler.scheduler] Looking for jobs to run
DEBUG [2023-07-30 13:14:55] [apscheduler.scheduler] No jobs; waiting until a job is added
INFO [2023-07-30 13:14:55] [pagermaid] 将平台检测为“linux”,进入PagerMaid的早期加载过程。
INFO [2023-07-30 13:14:57] [pagermaid] 设置用户标识成功。
INFO [2023-07-30 13:14:57] [apscheduler.scheduler] Added job "clear_read_context_cron" to job store "default"
DEBUG [2023-07-30 13:14:57] [apscheduler.scheduler] Looking for jobs to run
DEBUG [2023-07-30 13:14:57] [apscheduler.scheduler] Next wakeup is due at 2023-07-31 04:00:00+08:00 (in 53102.467397 seconds)
INFO [2023-07-30 13:14:57] [pagermaid] PagerMaid-Pyro 已启动,在任何聊天中输入 ,help 以获得帮助消息。
DEBUG [2023-07-30 13:14:57] [httpcore.connection] connect_tcp.started host='api.mixpanel.com' port=443 local_address=None timeout=10.0 socket_options=None
DEBUG [2023-07-30 13:14:57] [httpcore.connection] connect_tcp.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x7f6cb14afef0>
DEBUG [2023-07-30 13:14:57] [httpcore.connection] start_tls.started ssl_context=<ssl.SSLContext object at 0x7f6cb281ced0> server_hostname='api.mixpanel.com' timeout=10.0
DEBUG [2023-07-30 13:14:57] [httpcore.connection] start_tls.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x7f6cb1d38410>
DEBUG [2023-07-30 13:14:57] [httpcore.http11] send_request_headers.started request=<Request [b'POST']>
DEBUG [2023-07-30 13:14:57] [httpcore.http11] send_request_headers.complete
DEBUG [2023-07-30 13:14:57] [httpcore.http11] send_request_body.started request=<Request [b'POST']>
DEBUG [2023-07-30 13:14:57] [httpcore.http11] send_request_body.complete
DEBUG [2023-07-30 13:14:57] [httpcore.http11] receive_response_headers.started request=<Request [b'POST']>
DEBUG [2023-07-30 13:14:57] [httpcore.http11] receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'access-control-allow-credentials', b'true'), (b'access-control-allow-headers', b'X-Requested-With'), (b'access-control-allow-methods', b'GET, POST, OPTIONS'), (b'access-control-allow-origin', b'*'), (b'access-control-expose-headers', b'X-MP-CE-Backoff'), (b'access-control-max-age', b'1728000'), (b'cache-control', b'no-cache, no-store'), (b'content-type', b'application/json'), (b'strict-transport-security', b'max-age=604800; includeSubDomains'), (b'date', b'Sun, 30 Jul 2023 05:14:57 GMT'), (b'content-length', b'25'), (b'x-envoy-upstream-service-time', b'17'), (b'server', b'envoy'), (b'Via', b'1.1 google'), (b'Alt-Svc', b'clear')])
INFO [2023-07-30 13:14:57] [httpx] HTTP Request: POST https://api.mixpanel.com/engage "HTTP/1.1 200 OK"
DEBUG [2023-07-30 13:14:57] [httpcore.http11] receive_response_body.started request=<Request [b'POST']>
DEBUG [2023-07-30 13:14:57] [httpcore.http11] receive_response_body.complete
DEBUG [2023-07-30 13:14:57] [httpcore.http11] response_closed.started
DEBUG [2023-07-30 13:14:57] [httpcore.http11] response_closed.complete
DEBUG [2023-07-30 13:14:57] [pagermaid] Mixpanel request took 0.11757612228393555 seconds
^CException ignored in atexit callback: <function AtexitIntegration.setup_once.<locals>._shutdown at 0x7f6cb07823e0>
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/sentry_sdk/integrations/atexit.py", line 61, in _shutdown
client.close(callback=integration.callback)
File "/usr/local/lib/python3.12/site-packages/sentry_sdk/client.py", line 572, in close
self.flush(timeout=timeout, callback=callback)
File "/usr/local/lib/python3.12/site-packages/sentry_sdk/client.py", line 594, in flush
self.transport.flush(timeout=timeout, callback=callback)
File "/usr/local/lib/python3.12/site-packages/sentry_sdk/transport.py", line 492, in flush
self._worker.submit(lambda: self._flush_client_reports(force=True))
File "/usr/local/lib/python3.12/site-packages/sentry_sdk/worker.py", line 113, in submit
self._ensure_thread()
File "/usr/local/lib/python3.12/site-packages/sentry_sdk/worker.py", line 42, in _ensure_thread
self.start()
File "/usr/local/lib/python3.12/site-packages/sentry_sdk/worker.py", line 70, in start
self._thread.start()
File "/usr/local/lib/python3.12/site-packages/sentry_sdk/integrations/threading.py", line 56, in sentry_start
return old_start(self, *a, **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/threading.py", line 971, in start
_start_new_thread(self._bootstrap, ())
RuntimeError: can't create new thread at interpreter shutdown
[root@localhost PagerMaid-Pyro]#
No response
No response
“期望结果”中我使用了python3.11来演示,因为这个版本是能正常运行这个程序的
启动程序后卡在将平台检测为“linux”,进入PagerMaid的早期加载过程。
Ctrl + C结束
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/var/lib/pgp/pagermaid/main.py", line 92, in
bot.run(main())
File "/var/lib/pgp/venv/lib/python3.11/site-packages/pyrogram/methods/utilities/run.py", line 77, in run
run(coroutine)
File "/usr/lib/python3.11/asyncio/base_events.py", line 640, in run_until_complete
self.run_forever()
File "/usr/lib/python3.11/asyncio/base_events.py", line 607, in run_forever
self._run_once()
File "/usr/lib/python3.11/asyncio/base_events.py", line 1884, in _run_once
event_list = self._selector.select(timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/selectors.py", line 468, in select
fd_event_list = self._selector.poll(timeout, max_ev)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyboardInterrupt
同样的配置在甲骨文AMD小机没问题。
尝试过删除session/ 把小机上已登录的session复制过来也不行。
ARM机器内核:Linux debian 6.1.0-10-arm64 #1 SMP Debian 6.1.38-1 (2023-07-14) aarch64 GNU/Linux
AMD机器内核:Linux ubuntu 5.10.0-16-amd64 #1 SMP Debian 5.10.127-2 (2022-07-23) x86_64 GNU/Linux
Ubuntu
x86
我安装了pmcaptcha,也就只用这个插件,但是过段时间机器人就没反应了,使用top查看发现内存占满了,怀疑程序出现内存泄漏
希望内存占用正常
内存占满了
No response
root@PagerMaid-pyro:/var/lib/pagermaid_pyro# cat /var/log/syslog
Feb 5 00:00:21 PagerMaid-pyro systemd[1]: logrotate.service: Succeeded.
Feb 5 00:00:21 PagerMaid-pyro systemd[1]: Finished Rotate log files.
Feb 5 00:00:33 PagerMaid-pyro systemd[1]: man-db.service: Succeeded.
Feb 5 00:00:33 PagerMaid-pyro systemd[1]: Finished Daily man-db regeneration.
Feb 5 00:47:01 PagerMaid-pyro CRON[6273]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Feb 5 01:05:50 PagerMaid-pyro systemd[1]: Starting Ubuntu Advantage Timer for running repeated jobs...
Feb 5 01:06:04 PagerMaid-pyro systemd[1]: ua-timer.service: Succeeded.
Feb 5 01:06:04 PagerMaid-pyro systemd[1]: Finished Ubuntu Advantage Timer for running repeated jobs.
Feb 5 01:47:01 PagerMaid-pyro CRON[6286]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Feb 5 02:26:50 PagerMaid-pyro systemd[1]: Starting Message of the Day...
Feb 5 02:26:50 PagerMaid-pyro systemd[1]: motd-news.service: Succeeded.
Feb 5 02:26:51 PagerMaid-pyro systemd[1]: Finished Message of the Day.
Feb 5 02:47:01 PagerMaid-pyro CRON[6293]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Feb 5 03:01:01 PagerMaid-pyro CRON[6297]: (root) CMD (reboot)
Feb 5 03:01:02 PagerMaid-pyro postfix/pickup[6289]: 66311E8E: uid=0 from=<root>
Feb 5 03:01:02 PagerMaid-pyro postfix/cleanup[6300]: 66311E8E: message-id=<20240204190102.66311E8E@PagerMaid-pyro.localdomain>
Feb 5 03:01:02 PagerMaid-pyro postfix/qmgr[352]: 66311E8E: from=<root@PagerMaid-pyro.localdomain>, size=610, nrcpt=1 (queue active)
Feb 5 03:01:03 PagerMaid-pyro postfix/local[6302]: 66311E8E: to=<root@PagerMaid-pyro.localdomain>, orig_to=<root>, relay=local, delay=1.8, delays=1.1/0.24/0/0.5, dsn=2.0.0, status=sent (delivered to mailbox)
Feb 5 03:01:03 PagerMaid-pyro postfix/qmgr[352]: 66311E8E: removed
Feb 5 03:05:01 PagerMaid-pyro CRON[6305]: (root) CMD (test -e /run/systemd/system || SERVICE_MODE=1 /sbin/e2scrub_all -A -r)
Feb 5 03:47:02 PagerMaid-pyro CRON[6309]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Feb 5 04:47:02 PagerMaid-pyro CRON[6313]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Feb 5 05:37:50 PagerMaid-pyro systemd[1]: Starting Daily apt download activities...
Feb 5 05:37:51 PagerMaid-pyro systemd[1]: apt-daily.service: Succeeded.
Feb 5 05:37:51 PagerMaid-pyro systemd[1]: Finished Daily apt download activities.
Feb 5 05:47:01 PagerMaid-pyro CRON[6339]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Feb 5 06:11:01 PagerMaid-pyro CRON[6343]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))
Feb 5 06:44:01 PagerMaid-pyro CRON[6406]: (root) CMD ( test -x /etc/cron.daily/popularity-contest && /etc/cron.daily/popularity-contest --crond)
Feb 5 06:47:01 PagerMaid-pyro CRON[6409]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Feb 5 06:49:50 PagerMaid-pyro systemd[1]: Starting Daily apt upgrade and clean activities...
Feb 5 06:49:50 PagerMaid-pyro systemd[1]: apt-daily-upgrade.service: Succeeded.
Feb 5 06:49:50 PagerMaid-pyro systemd[1]: Finished Daily apt upgrade and clean activities.
Feb 5 07:21:50 PagerMaid-pyro systemd[1]: Starting Ubuntu Advantage Timer for running repeated jobs...
Feb 5 07:21:51 PagerMaid-pyro systemd[1]: ua-timer.service: Succeeded.
Feb 5 07:21:51 PagerMaid-pyro systemd[1]: Finished Ubuntu Advantage Timer for running repeated jobs.
Feb 5 07:47:01 PagerMaid-pyro CRON[6444]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Feb 5 08:47:01 PagerMaid-pyro CRON[6449]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Feb 5 09:47:01 PagerMaid-pyro CRON[6453]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Feb 5 10:47:01 PagerMaid-pyro CRON[6458]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Feb 5 11:47:01 PagerMaid-pyro CRON[6462]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Feb 5 12:46:50 PagerMaid-pyro systemd[1]: Starting Message of the Day...
Feb 5 12:46:50 PagerMaid-pyro systemd[1]: motd-news.service: Succeeded.
Feb 5 12:46:50 PagerMaid-pyro systemd[1]: Finished Message of the Day.
Feb 5 12:47:01 PagerMaid-pyro CRON[6468]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Feb 5 12:54:50 PagerMaid-pyro systemd[1]: Starting Daily apt download activities...
Feb 5 12:54:50 PagerMaid-pyro systemd[1]: apt-daily.service: Succeeded.
Feb 5 12:54:50 PagerMaid-pyro systemd[1]: Finished Daily apt download activities.
Feb 5 13:47:01 PagerMaid-pyro CRON[6494]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Feb 5 14:04:50 PagerMaid-pyro systemd[1]: Starting Ubuntu Advantage Timer for running repeated jobs...
Feb 5 14:04:50 PagerMaid-pyro systemd[1]: ua-timer.service: Succeeded.
Feb 5 14:04:50 PagerMaid-pyro systemd[1]: Finished Ubuntu Advantage Timer for running repeated jobs.
Feb 5 14:47:01 PagerMaid-pyro CRON[6507]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Feb 5 15:47:01 PagerMaid-pyro CRON[6512]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Feb 5 16:47:01 PagerMaid-pyro CRON[6516]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Feb 5 17:35:13 PagerMaid-pyro systemd[1]: Created slice User Slice of UID 0.
Feb 5 17:35:13 PagerMaid-pyro systemd[1]: Starting User Runtime Directory /run/user/0...
Feb 5 17:35:13 PagerMaid-pyro systemd[1]: Finished User Runtime Directory /run/user/0.
Feb 5 17:35:13 PagerMaid-pyro systemd[1]: Starting User Manager for UID 0...
Feb 5 17:35:13 PagerMaid-pyro systemd[6523]: Reached target Paths.
Feb 5 17:35:13 PagerMaid-pyro systemd[6523]: Reached target Timers.
Feb 5 17:35:13 PagerMaid-pyro systemd[6523]: Starting D-Bus User Message Bus Socket.
Feb 5 17:35:13 PagerMaid-pyro systemd[6523]: Listening on GnuPG network certificate management daemon.
Feb 5 17:35:13 PagerMaid-pyro systemd[6523]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Feb 5 17:35:13 PagerMaid-pyro systemd[6523]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Feb 5 17:35:13 PagerMaid-pyro systemd[6523]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Feb 5 17:35:13 PagerMaid-pyro systemd[6523]: Listening on GnuPG cryptographic agent and passphrase cache.
Feb 5 17:35:13 PagerMaid-pyro systemd[6523]: Listening on REST API socket for snapd user session agent.
Feb 5 17:35:13 PagerMaid-pyro systemd[6523]: Listening on D-Bus User Message Bus Socket.
Feb 5 17:35:13 PagerMaid-pyro systemd[6523]: Reached target Sockets.
Feb 5 17:35:13 PagerMaid-pyro systemd[6523]: Reached target Basic System.
Feb 5 17:35:13 PagerMaid-pyro systemd[6523]: Reached target Main User Target.
Feb 5 17:35:13 PagerMaid-pyro systemd[6523]: Startup finished in 145ms.
Feb 5 17:35:13 PagerMaid-pyro systemd[1]: Started User Manager for UID 0.
Feb 5 17:35:13 PagerMaid-pyro systemd[1]: Started Session 82342 of user root.
依赖注入
最新版
Linux
No response
直接docker compose 安装提示 sh: 0: cannot open utils/docker-config.sh: No such file
如果git 整个下载的话 又重复在 配置,
生成配置文件中 . . .
api_id、api_hash 申请地址: https://my.telegram.org/
请输入应用程序 api_id:请输入应用程序 api_hash:请输入应用程序语言(默认:zh-cn):语言设置为 简体中文
请输入应用程序地区(默认:China):地区设置为 **
请输入 Google TTS 语言(默认:zh-CN):tts发音语言设置为 简体中文
下面进行程序运行。
请在账户授权完毕后,按 Ctrl + C 使 Docker 在后台模式下运行。
invalid literal for int() with base 10: ''
欢迎进入 PagerMaid-Pyro Docker 。
配置即将开始
不停重启不能进入命令行
如何正确安装?
如何正确安装?
No response
No response
No response
1.4.2
Linux
ARM [64] (别名:AArch64 / ARMv8)
在web本地插件页面临时关闭插件提示操作失败
关停不必要插件
提示插件失败
No response
No response
No response
2.0.40
其它(请在下方说明)
x86
如题,我使用以下命令
sudo add
sudo on
给予了其他用户使用 Pagermaid-Pyro 的权限
然而对方在使用一些指令的时候
比如/ip
,/wiki
等指令
Pagermaid-Pyro 回应了但是没有回应正确的内容
而是卡在 正在查询中.....
,获取中......
并且每发送一条类似的指令我的帐号就会向 @PagerMaid_Modify_bot
上报错误日志
能用,能跑,能运行
跑不了
我:
,sudo on
,sudo add
对面:
/ip 114.51.41.91
/wiki Nvidia
/ip 的日志内容:
`# Generated: 12:46 23/08/2022.
# ChatID: 1145141919.
# UserID: 1145141919.
# Message:
-----BEGIN TARGET MESSAGE-----
/ip 39.156.66.10
-----END TARGET MESSAGE-----
# Traceback:
-----BEGIN TRACEBACK-----
Traceback (most recent call last):
File "/pgp/plugins/ip.py", line 54, in ipinfo
await message.edit(await get_ip_info(url))
File "/pgp/pyromod/listen/listen.py", line 250, in edit_text
from_id = self.from_user.id if self.from_user else self.sender_chat.id
AttributeError: 'NoneType' object has no attribute 'id'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/pgp/pagermaid/listener.py", line 145, in handler
await function(**data)
File "/pgp/plugins/ip.py", line 58, in ipinfo
await message.edit('没有找到要查询的 ip/域名 ...')
File "/pgp/pyromod/listen/listen.py", line 250, in edit_text
from_id = self.from_user.id if self.from_user else self.sender_chat.id
AttributeError: 'NoneType' object has no attribute 'id'
-----END TRACEBACK-----
# Error: "'NoneType' object has no attribute 'id'".`
/wiki 的日志内容:
`# Generated: 12:53 23/08/2022.
# ChatID: 1145141919.
# UserID: 1145141919.
# Message:
-----BEGIN TARGET MESSAGE-----
/wiki Nvidia
-----END TARGET MESSAGE-----
# Traceback:
-----BEGIN TRACEBACK-----
Traceback (most recent call last):
File "/pgp/pagermaid/listener.py", line 145, in handler
await function(**data)
File "/pgp/plugins/xtao-some.py", line 72, in wiki
await message.edit(text)
File "/pgp/pyromod/listen/listen.py", line 250, in edit_text
from_id = self.from_user.id if self.from_user else self.sender_chat.id
AttributeError: 'NoneType' object has no attribute 'id'
-----END TRACEBACK-----
# Error: "'NoneType' object has no attribute 'id'".`
测试过的环境:
Ubuntu 20.04 x86_64 + Python 3.9.0
Ubuntu 22.04 AMD64 + Python 3.10.0
Debian 11 x86_64 + Python 3.9.0
PagerMaid-Pyro
Linux
ARM [64] (别名:AArch64 / ARMv8)
docker-compose.yml
version: "2.0"
services:
pagermaid:
image: teampgm/pagermaid_pyro
restart: always
container_name: PagerMaid-Pyro
hostname: pagermaid
ports:
- "3333:3333"
volumes:
- ./data:/pagermaid/workdir/data
environment:
- WEB_ENABLE=true
- WEB_SECRET_KEY=sfwefwe23
- WEB_HOST=0.0.0.0
- WEB_PORT=3333
OSError: [Errno 18] Invalid cross-device link: 'config.yml' -> 'data/config.yml'
OSError: [Errno 18] Invalid cross-device link: 'config.yml' -> 'data/config.yml'
OSError: [Errno 18] Invalid cross-device link: 'config.yml' -> 'data/config.yml'
No response
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 187, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/usr/lib/python3.10/runpy.py", line 146, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/usr/lib/python3.10/runpy.py", line 110, in _get_module_details
__import__(pkg_name)
File "/pagermaid/workdir/pagermaid/__init__.py", line 19, in <module>
import pagermaid.update
File "/pagermaid/workdir/pagermaid/update/__init__.py", line 5, in <module>
__import__(file, globals(), level=1)
File "/pagermaid/workdir/pagermaid/update/v1402.py", line 22, in <module>
rename(config)
File "/pagermaid/workdir/pagermaid/update/v1402.py", line 13, in rename
old.rename(new)
File "/usr/lib/python3.10/pathlib.py", line 1234, in rename
self._accessor.rename(self, target)
OSError: [Errno 18] Invalid cross-device link: 'config.yml' -> 'data/config.yml'
No response
teampgm/pagermaid_pyro
Linux
x86
新建一个容器,然后加入自己写的脚本线报脚本
能不掉线
账号过一会就掉线
No response
No response
No response
英国的giffgaff卡,地区无论填china还是United Kingdom,区号为+44的号码在部署的时候提示号码不正确。。。用的是Pagermaid-Pyro 脚本安装
1.0.7
Ubuntu
AMD64
正确处理重定向
无法处理
No response
No response
No response
1.0.9
Linux
No response
准备一个在某大群至少有五个月发言记录的账户,在与发言所用设备不同的设备上执行,da true。清除缓存后在该群通过根据用户查找聊天记录,发现仍有消息未删除。
执行 ,da true 后无法根据用户查找到任何聊天记录。
执行 ,da true 后能根据用户查找到部分聊天记录。
No response
在那些仍能根据用户搜索到聊天记录的群组中执行 ,da true 无任何日志反馈
No response
teampgm/pagermaid_pyro:latest
SHA256:c86f4cbb0bec72d26509ff284f7e25acd70aee95e040b8350a5cc0af7f2f779f
CentOS
x86
通过新加坡的vps使用docker环境部署过后,若使用过pagermaid的功能过后过一段时间就会出现CPU和内存的满占用(后面称”上述情况“),我试过部署过后没有使用任何指令的情况下,经过12小时没有出现上述情况。但是在我使用help,dme和speedtest命令过后不到1小时就会出现上述情况。再就是通过在国内的X86机器上使用docker部署,并且连接mihomo的代理,重复了上述的试验。相同的情况,在使用help,dme和speedtest命令过后不到一小时就出现了CPU和内存占满。此外我还在mihomo代理中检测到了来自pagermaid发出的数千条代理请求。图1-图3是在新加坡vps部署的,图4-图6是在国内物理机中部署的,如需额外的日志可以再上传。
希望pagermaid的内存和cpu满占用情况修复
pagermaid的内存和cpu满占用
No response
No response
若需要额外的日志可以再补充
Ubuntu
AMD64
从python官网下载python12(https://www.python.org/ftp/python/3.12.0/Python-3.12.0a3.tar.xz )的源码,通过以下命令编译安装python
apt install build-essential libssl-dev zlib1g-dev libncurses5-dev libncursesw5-dev libreadline-dev libsqlite3-dev libgdbm-dev libdb5.3-dev libbz2-dev libexpat1-dev liblzma-dev tk-dev libffi-dev -y
wget https://www.python.org/ftp/python/3.12.0/Python-3.12.0a3.tar.xz
tar -xf Python-3.12.0a3.tar.xz
cd Python-3.12.0a3/
./configure && make && make install
然后手动安装PagerMaid-Pyro并运行
git clone https://github.com/TeamPGM/PagerMaid-Pyro
cd PagerMaid-Pyro/
# 修改配置文件过程省略
pip3.12 install -Ur requirements.txt
python3.12 -m pagermaid
无法运行,得到以下报错:
Traceback (most recent call last):
File "<frozen runpy>", line 189, in _run_module_as_main
File "<frozen runpy>", line 148, in _get_module_details
File "<frozen runpy>", line 112, in _get_module_details
File "/root/PagerMaid-Pyro/test/PagerMaid-Pyro/pagermaid/__init__.py", line 5, in <module>
import pyrogram.types
File "/usr/local/lib/python3.12/site-packages/pyrogram/__init__.py", line 40, in <module>
from .sync import idle, compose
File "/usr/local/lib/python3.12/site-packages/pyrogram/sync.py", line 99, in <module>
wrap(Methods)
File "/usr/local/lib/python3.12/site-packages/pyrogram/sync.py", line 95, in wrap
async_to_sync(source, name)
File "/usr/local/lib/python3.12/site-packages/pyrogram/sync.py", line 31, in async_to_sync
main_loop = asyncio.get_event_loop()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/events.py", line 676, in get_event_loop
raise RuntimeError('There is no current event loop in thread %r.'
RuntimeError: There is no current event loop in thread 'MainThread'.
系统是Debian11,之所以上面选Ubuntu是因为Ubuntu是基于Debian的,是选项中最接近我的运行环境的一个
程序正常启动,就像这样:
INFO [2023-01-06 00:12:06] [apscheduler.scheduler] Scheduler started
INFO [2023-01-06 00:12:06] [casbin.model.assertion] Role links for: g
INFO [2023-01-06 00:12:06] [casbin.rbac.default_role_manager.role_manager] owner < admin, admin < builder, builder < default
INFO [2023-01-06 00:12:06] [pagermaid] 加载内置模块: account, avoid, backup, clock, help, message, mixpanel, plugin, prune, reload, sentry, status, sudo, system, update
DEBUG [2023-01-06 00:12:06] [apscheduler.scheduler] Looking for jobs to run
DEBUG [2023-01-06 00:12:06] [apscheduler.scheduler] No jobs; waiting until a job is added
INFO [2023-01-06 00:12:06] [pagermaid] 将平台检测为“linux”,进入PagerMaid的早期加载过程。
Welcome to Pyrogram (version 2.0.93)
Pyrogram is free software and comes with ABSOLUTELY NO WARRANTY. Licensed
under the terms of the GNU Lesser General Public License v3.0 (LGPL-3.0).
Enter phone number or bot token:
在python3.11下可正常运行,但在python3.12下就无法运行
apt install build-essential libssl-dev zlib1g-dev libncurses5-dev libncursesw5-dev libreadline-dev libsqlite3-dev libgdbm-dev libdb5.3-dev libbz2-dev libexpat1-dev liblzma-dev tk-dev libffi-dev -y
wget https://www.python.org/ftp/python/3.12.0/Python-3.12.0a3.tar.xz
tar -xf Python-3.12.0a3.tar.xz
cd Python-3.12.0a3/
./configure && make && make install
cd ..
git clone https://github.com/TeamPGM/PagerMaid-Pyro
cd PagerMaid-Pyro/
# 修改配置文件过程省略
pip3.12 install -Ur requirements.txt
python3.12 -m pagermaid
root@leaf:~/PagerMaid-Pyro/test/PagerMaid-Pyro# pip3.12 install -Ur requirements.txt
Requirement already satisfied: pyrogram==2.0.93 in /usr/local/lib/python3.12/site-packages (from -r requirements.txt (line 1)) (2.0.93)
Requirement already satisfied: TgCrypto==1.2.5 in /usr/local/lib/python3.12/site-packages (from -r requirements.txt (line 2)) (1.2.5)
Requirement already satisfied: Pillow>=8.4.0 in /usr/local/lib/python3.12/site-packages (from -r requirements.txt (line 3)) (9.4.0)
Requirement already satisfied: pytz>=2021.3 in /usr/local/lib/python3.12/site-packages (from -r requirements.txt (line 4)) (2022.7)
Requirement already satisfied: PyYAML>=6.0 in /usr/local/lib/python3.12/site-packages (from -r requirements.txt (line 5)) (6.0)
Requirement already satisfied: coloredlogs>=15.0.1 in /usr/local/lib/python3.12/site-packages (from -r requirements.txt (line 6)) (15.0.1)
Requirement already satisfied: psutil>=5.8.0 in /usr/local/lib/python3.12/site-packages (from -r requirements.txt (line 7)) (5.9.4)
Requirement already satisfied: httpx in /usr/local/lib/python3.12/site-packages (from -r requirements.txt (line 8)) (0.23.3)
Requirement already satisfied: apscheduler in /usr/local/lib/python3.12/site-packages (from -r requirements.txt (line 9)) (3.9.1.post1)
Requirement already satisfied: sqlitedict in /usr/local/lib/python3.12/site-packages (from -r requirements.txt (line 10)) (2.1.0)
Requirement already satisfied: casbin==1.17.5 in /usr/local/lib/python3.12/site-packages (from -r requirements.txt (line 11)) (1.17.5)
Requirement already satisfied: sentry-sdk==1.12.1 in /usr/local/lib/python3.12/site-packages (from -r requirements.txt (line 12)) (1.12.1)
Requirement already satisfied: pyaes==1.6.1 in /usr/local/lib/python3.12/site-packages (from pyrogram==2.0.93->-r requirements.txt (line 1)) (1.6.1)
Requirement already satisfied: pysocks==1.7.1 in /usr/local/lib/python3.12/site-packages (from pyrogram==2.0.93->-r requirements.txt (line 1)) (1.7.1)
Requirement already satisfied: simpleeval>=0.9.11 in /usr/local/lib/python3.12/site-packages (from casbin==1.17.5->-r requirements.txt (line 11)) (0.9.12)
Requirement already satisfied: certifi in /usr/local/lib/python3.12/site-packages (from sentry-sdk==1.12.1->-r requirements.txt (line 12)) (2022.12.7)
Requirement already satisfied: urllib3>=1.26.11 in /usr/local/lib/python3.12/site-packages (from sentry-sdk==1.12.1->-r requirements.txt (line 12)) (1.26.13)
Requirement already satisfied: humanfriendly>=9.1 in /usr/local/lib/python3.12/site-packages (from coloredlogs>=15.0.1->-r requirements.txt (line 6)) (10.0)
Requirement already satisfied: httpcore<0.17.0,>=0.15.0 in /usr/local/lib/python3.12/site-packages (from httpx->-r requirements.txt (line 8)) (0.16.3)
Requirement already satisfied: rfc3986[idna2008]<2,>=1.3 in /usr/local/lib/python3.12/site-packages (from httpx->-r requirements.txt (line 8)) (1.5.0)
Requirement already satisfied: sniffio in /usr/local/lib/python3.12/site-packages (from httpx->-r requirements.txt (line 8)) (1.3.0)
Requirement already satisfied: setuptools>=0.7 in /usr/local/lib/python3.12/site-packages (from apscheduler->-r requirements.txt (line 9)) (65.5.0)
Requirement already satisfied: six>=1.4.0 in /usr/local/lib/python3.12/site-packages (from apscheduler->-r requirements.txt (line 9)) (1.16.0)
Requirement already satisfied: tzlocal!=3.*,>=2.0 in /usr/local/lib/python3.12/site-packages (from apscheduler->-r requirements.txt (line 9)) (4.2)
Requirement already satisfied: h11<0.15,>=0.13 in /usr/local/lib/python3.12/site-packages (from httpcore<0.17.0,>=0.15.0->httpx->-r requirements.txt (line 8)) (0.14.0)
Requirement already satisfied: anyio<5.0,>=3.0 in /usr/local/lib/python3.12/site-packages (from httpcore<0.17.0,>=0.15.0->httpx->-r requirements.txt (line 8)) (3.6.2)
Requirement already satisfied: idna in /usr/local/lib/python3.12/site-packages (from rfc3986[idna2008]<2,>=1.3->httpx->-r requirements.txt (line 8)) (3.4)
Requirement already satisfied: pytz-deprecation-shim in /usr/local/lib/python3.12/site-packages (from tzlocal!=3.*,>=2.0->apscheduler->-r requirements.txt (line 9)) (0.1.0.post0)
Requirement already satisfied: tzdata in /usr/local/lib/python3.12/site-packages (from pytz-deprecation-shim->tzlocal!=3.*,>=2.0->apscheduler->-r requirements.txt (line 9)) (2022.7)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
root@leaf:~/PagerMaid-Pyro/test/PagerMaid-Pyro# python3.12 -m pagermaid
Traceback (most recent call last):
File "<frozen runpy>", line 189, in _run_module_as_main
File "<frozen runpy>", line 148, in _get_module_details
File "<frozen runpy>", line 112, in _get_module_details
File "/root/PagerMaid-Pyro/test/PagerMaid-Pyro/pagermaid/__init__.py", line 5, in <module>
import pyrogram.types
File "/usr/local/lib/python3.12/site-packages/pyrogram/__init__.py", line 40, in <module>
from .sync import idle, compose
File "/usr/local/lib/python3.12/site-packages/pyrogram/sync.py", line 99, in <module>
wrap(Methods)
File "/usr/local/lib/python3.12/site-packages/pyrogram/sync.py", line 95, in wrap
async_to_sync(source, name)
File "/usr/local/lib/python3.12/site-packages/pyrogram/sync.py", line 31, in async_to_sync
main_loop = asyncio.get_event_loop()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/events.py", line 676, in get_event_loop
raise RuntimeError('There is no current event loop in thread %r.'
RuntimeError: There is no current event loop in thread 'MainThread'.
root@leaf:~/PagerMaid-Pyro/test/PagerMaid-Pyro#
No response
1.2.10
Ubuntu
AMD64
运行命令
异步请求 mixpanel
堵塞
No response
No response
No response
网页登录
直接拉取的最新版
其它(请在下方说明)
AMD64
请问,甲骨文的amd机器1c1g,环境是debain,是不是无法部署?我无论用脚本还是原版分部部署都没成功,脚本提示我的境外手机不正确,加号和区号都写正确了,用原版分部部署的话二维码就刷新不出来。。。。无语
希望甲骨文上能不出
甲骨文试过几次,所有方法都无法成功
No response
No response
No response
1.0.7
Linux
AMD64
𝘼
)能跑(指程序)
安装失败
No response
Traceback (most recent call last):
File "/usr/lib64/python3.6/runpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/usr/lib64/python3.6/runpy.py", line 142, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/usr/lib64/python3.6/runpy.py", line 109, in _get_module_details
__import__(pkg_name)
File "/var/lib/pagermaid/pagermaid/__init__.py", line 7, in <module>
from pagermaid.config import Config
File "/var/lib/pagermaid/pagermaid/config.py", line 25, in <module>
config = load(open(r"config.yml"), Loader=FullLoader)
File "/usr/local/lib64/python3.6/site-packages/yaml/__init__.py", line 79, in load
loader = Loader(stream)
File "/usr/local/lib64/python3.6/site-packages/yaml/loader.py", line 24, in __init__
Reader.__init__(self, stream)
File "/usr/local/lib64/python3.6/site-packages/yaml/reader.py", line 85, in __init__
self.determine_encoding()
File "/usr/local/lib64/python3.6/site-packages/yaml/reader.py", line 135, in determine_encoding
self.update(1)
File "/usr/local/lib64/python3.6/site-packages/yaml/reader.py", line 169, in update
self.check_printable(data)
File "/usr/local/lib64/python3.6/site-packages/yaml/reader.py", line 144, in check_printable
'unicode', "special characters are not allowed")
yaml.reader.ReaderError: unacceptable character #x001b: special characters are not allowed
in "config.yml", position 649
无
I would like to have a new value for timezone in config.yml.
# configuration in config.yml
timezone: "Europe/Berlin"
Now we can grap the value of timezone in config.
如题,能不能在 PMCaptcha 插件中为 Math 计算验证添加容错(重试次数),目前这个功能只有图片验证有,但是在某些时候使用 Math 计算验证时,例如对方要发送 "hi" "can u help me" 这两条消息时,PMCaptcha 会在对方发送 "hi" 的时候发出,而这时可能因为延迟等因素,导致 PMCaptcha 发出时,对方已经发送 "can u help me",此时会判断验证失败,已经误封了一个人了,我并不希望这种事情再次发生,,,
最新1.0.9
Ubuntu
ARM [64] (别名:AArch64 / ARMv8)
注册新号
在vps上登陆新号
等两分钟
号没了
应该不是ip问题而是识别了到了是pager版本而死号
因为会员号在死过新号的vps上登陆后无事发生
具有伪装tele第三方或官方版本功能
死号死号死号
No response
No response
No response
pagermaid pyro最新版
其它(请在下方说明)
x86
新安装的容器,启动后,docker exec进入到容器内,运行python3 -m pagermaid后报错误
能够启动并登陆账号
不能登陆,并报错
No response
\u@\h:\w $ python3 -m pagermaid
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 187, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/usr/lib/python3.10/runpy.py", line 146, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/usr/lib/python3.10/runpy.py", line 110, in _get_module_details
__import__(pkg_name)
File "/pagermaid/workdir/pagermaid/__init__.py", line 12, in <module>
from pagermaid.scheduler import scheduler
File "/pagermaid/workdir/pagermaid/scheduler.py", line 6, in <module>
from pagermaid.single_utils import Message
File "/pagermaid/workdir/pagermaid/single_utils.py", line 19, in <module>
sqlite = SqliteDict(f"data{sep}data.sqlite", autocommit=True)
File "/usr/local/lib/python3.10/dist-packages/sqlitedict.py", line 160, in __init__
self.conn = self._new_conn()
File "/usr/local/lib/python3.10/dist-packages/sqlitedict.py", line 173, in _new_conn
return SqliteMultithread(
File "/usr/local/lib/python3.10/dist-packages/sqlitedict.py", line 387, in __init__
self.start()
File "/usr/lib/python3.10/threading.py", line 935, in start
_start_new_thread(self._bootstrap, ())
RuntimeError: can't start new thread
No response
最新版
Ubuntu
ARM [64] (别名:AArch64 / ARMv8)
我一登录pagerMaid—Pro TG就闪退 所有终端都退出了 是不是这个TG号不能继续用pagemaid了
我一登录pagerMaid—Pro TG就闪退 所有终端都退出了 是不是这个TG号不能继续用pagemaid了
我一登录pagerMaid—Pro TG就闪退 所有终端都退出了 是不是这个TG号不能继续用pagemaid了
我一登录pagerMaid—Pro TG就闪退 所有终端都退出了 是不是这个TG号不能继续用pagemaid了
我一登录pagerMaid—Pro TG就闪退 所有终端都退出了 是不是这个TG号不能继续用pagemaid了
我一登录pagerMaid—Pro TG就闪退 所有终端都退出了 是不是这个TG号不能继续用pagemaid了
Debian 11 - 5.10.0-17-amd64
AMD64
cd ~ && git clone https://github.com/TeamPGM/PagerMaid-Pyro.git pagermaid
sudo apt install neofetch libzbar-dev -y
sudo mv ~/pagermaid /opt/ && cd /opt/pagermaid
sudo useradd pagermaid
sudo chown -R pagermaid:pagermaid /opt/pagermaid
sudo pip3 install -r /opt/pagermaid/requirements.txt
sudo -u pagermaid bash
cp config.gen.yml config.yml
<修改config.yml中的id hash>
python3 -m pagermaid # ----> 出錯
正確登入帳號
python3 -m pagermaid 執行錯誤
No response
pagermaid@Debian-ESXi:/opt/pagermaid$ python3 -m pagermaid
[Degrade] Reading alias file failed:[Errno 2] No such file or directory: 'data/alias.json'
INFO [2022-09-07 08:56:40] [pagermaid] 加载内置模块: account, avoid, backup, clock, help, message, mixpanel, plugin, prune, reload, sentry, status, sudo, system, update
INFO [2022-09-07 08:56:40] [pagermaid] 将平台检测为“linux”,进入PagerMaid的早期加载过程。
Traceback (most recent call last):
File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/opt/pagermaid/pagermaid/__main__.py", line 46, in <module>
bot.run(main())
File "/usr/local/lib/python3.9/dist-packages/pyrogram/methods/utilities/run.py", line 77, in run
run(coroutine)
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/opt/pagermaid/pagermaid/__main__.py", line 19, in main
await bot.start()
File "/usr/local/lib/python3.9/dist-packages/pyrogram/methods/utilities/start.py", line 58, in start
is_authorized = await self.connect()
File "/usr/local/lib/python3.9/dist-packages/pyrogram/methods/auth/connect.py", line 40, in connect
await self.load_session()
File "/usr/local/lib/python3.9/dist-packages/pyrogram/client.py", line 584, in load_session
await Auth(
File "/usr/local/lib/python3.9/dist-packages/pyrogram/session/auth.py", line 261, in create
self.connection.close()
File "/usr/local/lib/python3.9/dist-packages/pyrogram/connection/connection.py", line 76, in close
self.protocol.close()
AttributeError: 'NoneType' object has no attribute 'close'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.