Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stark-Errors 👾 #26

Closed
Naveen-X opened this issue May 31, 2024 · 238 comments
Closed

Stark-Errors 👾 #26

Naveen-X opened this issue May 31, 2024 · 238 comments

Comments

@Naveen-X
Copy link
Owner

Naveen-X commented May 31, 2024

Error - Logs

Copy link

mr-stark-logs bot commented Jun 1, 2024

Hello, world!

Copy link

mr-stark-logs bot commented Jun 1, 2024

File type invalid

Error in gta5 in wasted:

File type invalid

Complete Error:

Traceback (most recent call last):
  File "/workspaces/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/workspaces/Mr.Stark/Stark/Plugins/gta5.py", line 17, in wasted
    poto_url = upload_file(pic)
  File "/home/codespace/.python/current/lib/python3.10/site-packages/telegraph/upload.py", line 13, in upload_file
    r = TelegraphApi().upload_file(f)
  File "/home/codespace/.python/current/lib/python3.10/site-packages/telegraph/api.py", line 71, in upload_file
    raise TelegraphException(error)
telegraph.exceptions.TelegraphException: File type invalid

DATE: 2024-06-01 08:56:31.665767

TIME: 08:56:31

USER: 1089528685

USER MENTION: <a href=tg://user?id=1089528685>Satya

USERNAME: @S4tyendra

FIRST NAME: Satya

CHAT: -1001426113453

MESSAGE LINK: https://t.me/c/1426113453/122287

MESSAGE TEXT: /wasted

MESSAGE ID: 122287

REPLIED TO MESSAGE ID: 122240

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: 1246467977

REPLIED TO MESSAGE USER MENTION: <a href=tg://user?id=1246467977>Nαѵεεη [⚡]

REPLIED TO MESSAGE USERNAME: @Naveen_xD

REPLIED TO MESSAGE CHAT ID: -1001426113453

REPLIED TO MESSAGE LINK: https://t.me/c/1426113453/122240

Repository owner deleted a comment from mr-stark-logs bot Jun 1, 2024
Repository owner deleted a comment from mr-stark-logs bot Jun 1, 2024
Repository owner deleted a comment from mr-stark-logs bot Jun 1, 2024
Copy link

mr-stark-logs bot commented Jun 1, 2024

Message: no such element: Unable to locate element: {"method":"css selector","selector":".Controls_controls__kwzcE"}

(Session info: chrome-headless-shell=125.0.6422.112); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Stacktrace:
#0 0x5de16f4c367a
#1 0x5de16f1c465c
#2 0x5de16f20f865
#3 0x5de16f20f921
#4 0x5de16f253c74
#5 0x5de16f23259d
#6 0x5de16f25102d
#7 0x5de16f232313
#8 0x5de16f202586
#9 0x5de16f202efe
#10 0x5de16f48cbbf
#11 0x5de16f490d4a
#12 0x5de16f47aa1c
#13 0x5de16f4914d1
#14 0x5de16f46082e
#15 0x5de16f4b2c68
#16 0x5de16f4b2e76
#17 0x5de16f4c2731
#18 0x71fa964b3ac3

Error in rayso in rayso_by_pro_odi:

Message: no such element: Unable to locate element: {"method":"css selector","selector":".Controls_controls__kwzcE"} (Session info: chrome-headless-shell=125.0.6422.112); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception Stacktrace: #0 0x5de16f4c367a <unknown> #1 0x5de16f1c465c <unknown> #2 0x5de16f20f865 <unknown> #3 0x5de16f20f921 <unknown> #4 0x5de16f253c74 <unknown> #5 0x5de16f23259d <unknown> #6 0x5de16f25102d <unknown> #7 0x5de16f232313 <unknown> #8 0x5de16f202586 <unknown> #9 0x5de16f202efe <unknown> #10 0x5de16f48cbbf <unknown> #11 0x5de16f490d4a <unknown> #12 0x5de16f47aa1c <unknown> #13 0x5de16f4914d1 <unknown> #14 0x5de16f46082e <unknown> #15 0x5de16f4b2c68 <unknown> #16 0x5de16f4b2e76 <unknown> #17 0x5de16f4c2731 <unknown> #18 0x71fa964b3ac3 <unknown>

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/rayso.py", line 98, in rayso_by_pro_odi
    outfile, error = chromeDriver.get_rayso(
  File "/home/ubuntu/Mr.Stark/Mr.Stark/main/helper_func/google_chrome.py", line 69, in get_rayso
    element = driver.find_element(By.CLASS_NAME, "Controls_controls__kwzcE")
  File "/home/ubuntu/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 741, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "/home/ubuntu/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 347, in execute
    self.error_handler.check_response(response)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 229, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":".Controls_controls__kwzcE"}
  (Session info: chrome-headless-shell=125.0.6422.112); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Stacktrace:
#0 0x5de16f4c367a <unknown>
#1 0x5de16f1c465c <unknown>
#2 0x5de16f20f865 <unknown>
#3 0x5de16f20f921 <unknown>
#4 0x5de16f253c74 <unknown>
#5 0x5de16f23259d <unknown>
#6 0x5de16f25102d <unknown>
#7 0x5de16f232313 <unknown>
#8 0x5de16f202586 <unknown>
#9 0x5de16f202efe <unknown>
#10 0x5de16f48cbbf <unknown>
#11 0x5de16f490d4a <unknown>
#12 0x5de16f47aa1c <unknown>
#13 0x5de16f4914d1 <unknown>
#14 0x5de16f46082e <unknown>
#15 0x5de16f4b2c68 <unknown>
#16 0x5de16f4b2e76 <unknown>
#17 0x5de16f4c2731 <unknown>
#18 0x71fa964b3ac3 <unknown>


DATE: 2024-06-01 09:05:37.635313

TIME: 09:05:37

USER: 1246467977

USER MENTION: <a href=tg://user?id=1246467977>Nαѵεεη [⚡]

USERNAME: @Naveen_xD

FIRST NAME: Nαѵεεη [⚡]

CHAT: -1001426113453

MESSAGE LINK: https://t.me/c/1426113453/122300

MESSAGE TEXT: /rayso

MESSAGE ID: 122300

REPLIED TO MESSAGE ID: 122297

REPLIED TO MESSAGE TEXT: `Updated to latest version.
Updating ba1f4f0..a6f534b
Fast-forward
Stark/init.py | 84 +++++++++++++++++++++++++++++++++++++++----------------
req.txt | 44 ++++++++++++++++-------------
2 files changed, 84 insertions(+), 44 deletions(-)

Now Restarting.`

REPLIED TO MESSAGE USER ID: 1863795995

REPLIED TO MESSAGE USER MENTION: <a href=tg://user?id=1863795995>𝐌𝐫 Sᴛᴀʀᴋ

REPLIED TO MESSAGE USERNAME: @Mr_StarkBot

REPLIED TO MESSAGE CHAT ID: -1001426113453

REPLIED TO MESSAGE LINK: https://t.me/c/1426113453/122297

Copy link

mr-stark-logs bot commented Jun 1, 2024

File type invalid

Error in gta5 in wasted:

File type invalid

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/gta5.py", line 17, in wasted
    poto_url = upload_file(pic)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/telegraph/upload.py", line 13, in upload_file
    r = TelegraphApi().upload_file(f)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/telegraph/api.py", line 71, in upload_file
    raise TelegraphException(error)
telegraph.exceptions.TelegraphException: File type invalid

DATE: 2024-06-01 09:05:42.636809

TIME: 09:05:42

USER: 1246467977

USER MENTION: <a href=tg://user?id=1246467977>Nαѵεεη [⚡]

USERNAME: @Naveen_xD

FIRST NAME: Nαѵεεη [⚡]

CHAT: -1001426113453

MESSAGE LINK: https://t.me/c/1426113453/122304

MESSAGE TEXT: /wasted

MESSAGE ID: 122304

REPLIED TO MESSAGE ID: 122240

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: 1246467977

REPLIED TO MESSAGE USER MENTION: <a href=tg://user?id=1246467977>Nαѵεεη [⚡]

REPLIED TO MESSAGE USERNAME: @Naveen_xD

REPLIED TO MESSAGE CHAT ID: -1001426113453

REPLIED TO MESSAGE LINK: https://t.me/c/1426113453/122240

@S4tyendra S4tyendra reopened this Jun 1, 2024
Copy link

mr-stark-logs bot commented Jun 3, 2024

-1001426113453

Error in ai_tools in clear_chat_groq:

-1001426113453

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/ai_tools.py", line 172, in clear_chat_groq
    del users_messages[m.chat.id]
KeyError: -1001426113453

DATE: 2024-06-03 05:04:40.959523

TIME: 05:04:40

USER: 1246467977

USER MENTION: <a href=tg://user?id=1246467977>Nαѵεεη [⚡]

USERNAME: @Naveen_xD

FIRST NAME: Nαѵεεη [⚡]

CHAT: -1001426113453

MESSAGE LINK: https://t.me/c/1426113453/122878

MESSAGE TEXT: /cleargpt2

MESSAGE ID: 122878

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Jun 3, 2024

1246467977

Error in ai_tools in clear_chat_groq:

1246467977

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/ai_tools.py", line 172, in clear_chat_groq
    del users_messages[m.from_user.id]
KeyError: 1246467977

DATE: 2024-06-03 05:16:50.325806

TIME: 05:16:50

USER: 1246467977

USER MENTION: <a href=tg://user?id=1246467977>Nαѵεεη [⚡]

USERNAME: @Naveen_xD

FIRST NAME: Nαѵεεη [⚡]

CHAT: -1001426113453

MESSAGE LINK: https://t.me/c/1426113453/122886

MESSAGE TEXT: /cleargpt2

MESSAGE ID: 122886

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Jun 3, 2024

1089528685

Error in ai_tools in clear_chat_groq:

1089528685

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/ai_tools.py", line 172, in clear_chat_groq
    del users_messages[m.from_user.id]
KeyError: 1089528685

DATE: 2024-06-03 05:18:36.633832

TIME: 05:18:36

USER: 1089528685

USER MENTION: <a href=tg://user?id=1089528685>Satya

USERNAME: @S4tyendra

FIRST NAME: Satya

CHAT: -1001426113453

MESSAGE LINK: https://t.me/c/1426113453/122895

MESSAGE TEXT: /cleargpt2

MESSAGE ID: 122895

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Jun 3, 2024

1089528685

Error in ai_tools in clear_chat_groq:

1089528685

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/ai_tools.py", line 172, in clear_chat_groq
    del users_messages[m.from_user.id]
KeyError: 1089528685

DATE: 2024-06-03 05:18:38.083120

TIME: 05:18:38

USER: 1089528685

USER MENTION: <a href=tg://user?id=1089528685>Satya

USERNAME: @S4tyendra

FIRST NAME: Satya

CHAT: -1001426113453

MESSAGE LINK: https://t.me/c/1426113453/122896

MESSAGE TEXT: /cleargpt2

MESSAGE ID: 122896

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Jun 3, 2024

Error code: 429 - {'error': {'message': 'Rate limit reached for model llama3-70b-8192 in organization org_01hyzp3wg7ehqtw4xed70y8y1x on tokens per minute (TPM): Limit 6000, Used 0, Requested ~6122. Please try again in 1.22s. Visit https://console.groq.com/docs/rate-limits for more information.', 'type': 'tokens', 'code': 'rate_limit_exceeded'}}

Error in ai_tools in generate_response:

Error code: 429 - {'error': {'message': 'Rate limit reached for model llama3-70b-8192in organizationorg_01hyzp3wg7ehqtw4xed70y8y1x on tokens per minute (TPM): Limit 6000, Used 0, Requested ~6122. Please try again in 1.22s. Visit https://console.groq.com/docs/rate-limits for more information.', 'type': 'tokens', 'code': 'rate_limit_exceeded'}}

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/ai_tools.py", line 149, in generate_response
    completion = g_client.chat.completions.create(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/groq/resources/chat/completions.py", line 283, in create
    return self._post(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/groq/_base_client.py", line 1225, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/groq/_base_client.py", line 920, in request
    return self._request(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/groq/_base_client.py", line 1003, in _request
    return self._retry_request(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/groq/_base_client.py", line 1051, in _retry_request
    return self._request(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/groq/_base_client.py", line 1003, in _request
    return self._retry_request(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/groq/_base_client.py", line 1051, in _retry_request
    return self._request(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/groq/_base_client.py", line 1018, in _request
    raise self._make_status_error_from_response(err.response) from None
groq.RateLimitError: Error code: 429 - {'error': {'message': 'Rate limit reached for model `llama3-70b-8192` in organization `org_01hyzp3wg7ehqtw4xed70y8y1x` on tokens per minute (TPM): Limit 6000, Used 0, Requested ~6122. Please try again in 1.22s. Visit https://console.groq.com/docs/rate-limits for more information.', 'type': 'tokens', 'code': 'rate_limit_exceeded'}}

DATE: 2024-06-03 09:45:24.292331

TIME: 09:45:24

USER: 1089528685

USER MENTION: <a href=tg://user?id=1089528685>Satya

USERNAME: @S4tyendra

FIRST NAME: Satya

CHAT: -1001426113453

MESSAGE LINK: https://t.me/c/1426113453/122995

MESSAGE TEXT: /gpt2 Naveen: Hey adi, whats wrong with you? Adi: What? Naveen: you are making Stark lazy. Adi: its my wish. Naveen: How can yoh do that? Adi: You know what, Satyendra crated Stark, he did much hardwork, so many sleepless nights, skipping foods, finally he became like a patient for creating You. And finally, stark fell for my lies 😂😂. Now stark is mine. I am on my way to make stark a terrorist type bot.

MESSAGE ID: 122995

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Jun 3, 2024

Error code: 429 - {'error': {'message': 'Rate limit reached for model llama3-70b-8192 in organization org_01hyzp3wg7ehqtw4xed70y8y1x on tokens per minute (TPM): Limit 6000, Used 0, Requested ~6016. Please try again in 160ms. Visit https://console.groq.com/docs/rate-limits for more information.', 'type': 'tokens', 'code': 'rate_limit_exceeded'}}

Error in ai_tools in generate_response:

Error code: 429 - {'error': {'message': 'Rate limit reached for model llama3-70b-8192in organizationorg_01hyzp3wg7ehqtw4xed70y8y1x on tokens per minute (TPM): Limit 6000, Used 0, Requested ~6016. Please try again in 160ms. Visit https://console.groq.com/docs/rate-limits for more information.', 'type': 'tokens', 'code': 'rate_limit_exceeded'}}

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/ai_tools.py", line 149, in generate_response
    completion = g_client.chat.completions.create(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/groq/resources/chat/completions.py", line 283, in create
    return self._post(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/groq/_base_client.py", line 1225, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/groq/_base_client.py", line 920, in request
    return self._request(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/groq/_base_client.py", line 1003, in _request
    return self._retry_request(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/groq/_base_client.py", line 1051, in _retry_request
    return self._request(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/groq/_base_client.py", line 1003, in _request
    return self._retry_request(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/groq/_base_client.py", line 1051, in _retry_request
    return self._request(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/groq/_base_client.py", line 1018, in _request
    raise self._make_status_error_from_response(err.response) from None
groq.RateLimitError: Error code: 429 - {'error': {'message': 'Rate limit reached for model `llama3-70b-8192` in organization `org_01hyzp3wg7ehqtw4xed70y8y1x` on tokens per minute (TPM): Limit 6000, Used 0, Requested ~6016. Please try again in 160ms. Visit https://console.groq.com/docs/rate-limits for more information.', 'type': 'tokens', 'code': 'rate_limit_exceeded'}}

DATE: 2024-06-03 09:56:23.242965

TIME: 09:56:23

USER: 1089528685

USER MENTION: <a href=tg://user?id=1089528685>Satya

USERNAME: @S4tyendra

FIRST NAME: Satya

CHAT: -1001426113453

MESSAGE LINK: https://t.me/c/1426113453/123006

MESSAGE TEXT: /gpt2 hell, heah i am on my way to make you a terrorist 👹

MESSAGE ID: 123006

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Jun 3, 2024

Error code: 429 - {'error': {'message': 'Rate limit reached for model llama3-70b-8192 in organization org_01hyzp3wg7ehqtw4xed70y8y1x on tokens per minute (TPM): Limit 6000, Used 0, Requested ~6113. Please try again in 1.13s. Visit https://console.groq.com/docs/rate-limits for more information.', 'type': 'tokens', 'code': 'rate_limit_exceeded'}}

Error in ai_tools in generate_response:

Error code: 429 - {'error': {'message': 'Rate limit reached for model llama3-70b-8192in organizationorg_01hyzp3wg7ehqtw4xed70y8y1x on tokens per minute (TPM): Limit 6000, Used 0, Requested ~6113. Please try again in 1.13s. Visit https://console.groq.com/docs/rate-limits for more information.', 'type': 'tokens', 'code': 'rate_limit_exceeded'}}

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/ai_tools.py", line 149, in generate_response
    completion = g_client.chat.completions.create(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/groq/resources/chat/completions.py", line 283, in create
    return self._post(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/groq/_base_client.py", line 1225, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/groq/_base_client.py", line 920, in request
    return self._request(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/groq/_base_client.py", line 1003, in _request
    return self._retry_request(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/groq/_base_client.py", line 1051, in _retry_request
    return self._request(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/groq/_base_client.py", line 1003, in _request
    return self._retry_request(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/groq/_base_client.py", line 1051, in _retry_request
    return self._request(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/groq/_base_client.py", line 1018, in _request
    raise self._make_status_error_from_response(err.response) from None
groq.RateLimitError: Error code: 429 - {'error': {'message': 'Rate limit reached for model `llama3-70b-8192` in organization `org_01hyzp3wg7ehqtw4xed70y8y1x` on tokens per minute (TPM): Limit 6000, Used 0, Requested ~6113. Please try again in 1.13s. Visit https://console.groq.com/docs/rate-limits for more information.', 'type': 'tokens', 'code': 'rate_limit_exceeded'}}

DATE: 2024-06-03 10:10:18.687161

TIME: 10:10:18

USER: 1089528685

USER MENTION: <a href=tg://user?id=1089528685>Satya

USERNAME: @S4tyendra

FIRST NAME: Satya

CHAT: -1001426113453

MESSAGE LINK: https://t.me/c/1426113453/123023

MESSAGE TEXT: /gpt2 Fine, atleast you are back but not with a bad name to me.🥰, tell me what updates you want?

MESSAGE ID: 123023

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Jun 5, 2024

Telegram says: [420 SLOWMODE_WAIT_X] - A wait of 9 seconds is required to send messages in this chat (caused by "messages.SendMessage")

Error in whois in whois:

Telegram says: [420 SLOWMODE_WAIT_X] - A wait of 9 seconds is required to send messages in this chat (caused by "messages.SendMessage")

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 405, in invoke
    return await self.send(query, timeout=timeout)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 362, in send
    RPCError.raise_it(result, type(data))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/errors/rpc_error.py", line 92, in raise_it
    raise getattr(
pyrogram.errors.exceptions.internal_server_error_500.RandomIdDuplicate: Telegram says: [500 RANDOM_ID_DUPLICATE] - You provided a random ID that was already used (caused by "messages.SendMessage")

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/whois.py", line 39, in whois
    msg = await message.reply_text("`Processing...`")
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/types/messages_and_media/message.py", line 1344, in reply_text
    return await self._client.send_message(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/messages/send_message.py", line 169, in send_message
    r = await self.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/invoke.py", line 80, in invoke
    r = await self.session.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 428, in invoke
    return await self.invoke(query, retries - 1, timeout)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 405, in invoke
    return await self.send(query, timeout=timeout)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 362, in send
    RPCError.raise_it(result, type(data))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/errors/rpc_error.py", line 92, in raise_it
    raise getattr(
pyrogram.errors.exceptions.flood_420.SlowmodeWait: Telegram says: [420 SLOWMODE_WAIT_X] - A wait of 9 seconds is required to send messages in this chat (caused by "messages.SendMessage")

DATE: 2024-06-05 05:02:19.572312

TIME: 05:02:19

USER: 1089528685

USER MENTION: <a href=tg://user?id=1089528685>Satya

USERNAME: @S4tyendra

FIRST NAME: Satya

CHAT: -1001406261584

MESSAGE LINK: https://t.me/NrBotsupport/45046

MESSAGE TEXT: /info 6982853378

MESSAGE ID: 45046

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Jun 5, 2024

Expecting value: line 1 column 1 (char 0)

Error in instadl in idgl:

Expecting value: line 1 column 1 (char 0)

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/requests/models.py", line 971, in json
    return complexjson.loads(self.text, **kwargs)
  File "/usr/lib/python3.10/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/instadl.py", line 197, in idgl
    rdata = get(f"https://igdownloader.onrender.com/dl?key=naveen&url={url}").json()
  File "/home/ubuntu/.local/lib/python3.10/site-packages/requests/models.py", line 975, in json
    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

DATE: 2024-06-05 17:38:16.859824

TIME: 17:38:16

USER: 1089528685

USER MENTION: <a href=tg://user?id=1089528685>Satya

USERNAME: @S4tyendra

FIRST NAME: Satya

CHAT: -1001426113453

MESSAGE LINK: https://t.me/c/1426113453/123093

MESSAGE TEXT: /insta https://www.instagram.com/reels/C6EKHhnyIxp/

MESSAGE ID: 123093

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Jun 5, 2024

Telegram says: [400 EXTERNAL_URL_INVALID] - The external media URL is invalid (caused by "messages.SendMedia")

Error in filetools in upload_file:

Telegram says: [400 EXTERNAL_URL_INVALID] - The external media URL is invalid (caused by "messages.SendMedia")

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/filetools.py", line 50, in upload_file
    await m.reply_document(file, progress=progress, progress_args=(msg, c_time, "Uploading This File!"))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/types/messages_and_media/message.py", line 2141, in reply_document
    return await self._client.send_document(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/messages/send_document.py", line 232, in send_document
    r = await self.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/invoke.py", line 80, in invoke
    r = await self.session.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 405, in invoke
    return await self.send(query, timeout=timeout)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 362, in send
    RPCError.raise_it(result, type(data))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/errors/rpc_error.py", line 92, in raise_it
    raise getattr(
pyrogram.errors.exceptions.bad_request_400.ExternalUrlInvalid: Telegram says: [400 EXTERNAL_URL_INVALID] - The external media URL is invalid (caused by "messages.SendMedia")

DATE: 2024-06-05 17:43:35.421844

TIME: 17:43:35

USER: 1089528685

USER MENTION: <a href=tg://user?id=1089528685>Satya

USERNAME: @S4tyendra

FIRST NAME: Satya

CHAT: -1001426113453

MESSAGE LINK: https://t.me/c/1426113453/123098

MESSAGE TEXT: /upload https://download.ig-8-data.xyz/ig/1717610989/3bd8697247544f9fd154a70b63ae73a20cabccc867578c5c3733c6f55223f17b?file=aHR0cHM6Ly9zY29udGVudC5jZG5pbnN0YWdyYW0uY29tL3YvdDY2LjMwMTAwLTE2LzEwMDAwMDAwXzE0MTU3MTM4ODkwODIxMzFfNjY3OTUzMTkyMTA5NTYyNDE1MV9uLm1wND9fbmNfaHQ9c2NvbnRlbnQtc2luNi0xLmNkbmluc3RhZ3JhbS5jb20mX25jX2NhdD0xMTEmX25jX29oYz1QcWVsZ24wSURud1E3a052Z0Y0UGVOWiZlZG09QVBfVjEwRUJBQUFBJmNjYj03LTUmb2g9MDBfQVlDTUFpYU9MMTZfdzh4V3NLNjU1TDVNZTFQX2hfTGR0djJUc245VDRtV3BtQSZvZT02NjYyODc1OCZfbmNfc2lkPTI5OTliOCZuYW1lPVNhdmVJbnN0YS5BcHArLSszMzUxODQ4NTIwMjcyODc0NjAxLm1wNA | ff.mp4

MESSAGE ID: 123098

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Jun 5, 2024

Telegram says: [400 MEDIA_EMPTY] - The media you tried to send is invalid (caused by "messages.SendMedia")

Error in filetools in upload_file:

Telegram says: [400 MEDIA_EMPTY] - The media you tried to send is invalid (caused by "messages.SendMedia")

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/filetools.py", line 50, in upload_file
    await m.reply_document(file, progress=progress, progress_args=(msg, c_time, "Uploading This File!"))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/types/messages_and_media/message.py", line 2141, in reply_document
    return await self._client.send_document(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/messages/send_document.py", line 232, in send_document
    r = await self.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/invoke.py", line 80, in invoke
    r = await self.session.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 405, in invoke
    return await self.send(query, timeout=timeout)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 362, in send
    RPCError.raise_it(result, type(data))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/errors/rpc_error.py", line 92, in raise_it
    raise getattr(
pyrogram.errors.exceptions.bad_request_400.MediaEmpty: Telegram says: [400 MEDIA_EMPTY] - The media you tried to send is invalid (caused by "messages.SendMedia")

DATE: 2024-06-05 17:53:36.716187

TIME: 17:53:36

USER: 1089528685

USER MENTION: <a href=tg://user?id=1089528685>Satya

USERNAME: @S4tyendra

FIRST NAME: Satya

CHAT: -1001426113453

MESSAGE LINK: https://t.me/c/1426113453/123105

MESSAGE TEXT: /upload https://itchio-mirror.cb031a832f44726753d6267436f3b414.r2.cloudflarestorage.com/upload2/game/2641835/10167055?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=3edfcce40115d057d0b5606758e7e9ee%2F20240605%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20240605T175244Z&X-Amz-Expires=60&X-Amz-SignedHeaders=host&X-Amz-Signature=29c38e890b726435390e9841a1c10d9197dd1bb0f93d5944a821d143214c519f

MESSAGE ID: 123105

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Jun 5, 2024

Telegram says: [420 SLOWMODE_WAIT_X] - A wait of 9 seconds is required to send messages in this chat (caused by "messages.SendMessage")

Error in whois in whois:

Telegram says: [420 SLOWMODE_WAIT_X] - A wait of 9 seconds is required to send messages in this chat (caused by "messages.SendMessage")

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 405, in invoke
    return await self.send(query, timeout=timeout)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 362, in send
    RPCError.raise_it(result, type(data))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/errors/rpc_error.py", line 92, in raise_it
    raise getattr(
pyrogram.errors.exceptions.internal_server_error_500.RandomIdDuplicate: Telegram says: [500 RANDOM_ID_DUPLICATE] - You provided a random ID that was already used (caused by "messages.SendMessage")

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/whois.py", line 39, in whois
    msg = await message.reply_text("`Processing...`")
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/types/messages_and_media/message.py", line 1344, in reply_text
    return await self._client.send_message(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/messages/send_message.py", line 169, in send_message
    r = await self.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/invoke.py", line 80, in invoke
    r = await self.session.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 428, in invoke
    return await self.invoke(query, retries - 1, timeout)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 405, in invoke
    return await self.send(query, timeout=timeout)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 362, in send
    RPCError.raise_it(result, type(data))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/errors/rpc_error.py", line 92, in raise_it
    raise getattr(
pyrogram.errors.exceptions.flood_420.SlowmodeWait: Telegram says: [420 SLOWMODE_WAIT_X] - A wait of 9 seconds is required to send messages in this chat (caused by "messages.SendMessage")

DATE: 2024-06-05 19:03:39.219751

TIME: 19:03:39

USER: 2051463415

USER MENTION: <a href=tg://user?id=2051463415>.

USERNAME: @ATHEXgod

FIRST NAME: .

CHAT: -1001406261584

MESSAGE LINK: https://t.me/NrBotsupport/45268

MESSAGE TEXT: /info

MESSAGE ID: 45268

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Jun 6, 2024

Telegram says: [400 MEDIA_EMPTY] - The media you tried to send is invalid (caused by "messages.SendMedia")

Error in filetools in upload_file:

Telegram says: [400 MEDIA_EMPTY] - The media you tried to send is invalid (caused by "messages.SendMedia")

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/filetools.py", line 50, in upload_file
    await m.reply_document(file, progress=progress, progress_args=(msg, c_time, "Uploading This File!"))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/types/messages_and_media/message.py", line 2141, in reply_document
    return await self._client.send_document(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/messages/send_document.py", line 232, in send_document
    r = await self.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/invoke.py", line 80, in invoke
    r = await self.session.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 405, in invoke
    return await self.send(query, timeout=timeout)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 362, in send
    RPCError.raise_it(result, type(data))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/errors/rpc_error.py", line 92, in raise_it
    raise getattr(
pyrogram.errors.exceptions.bad_request_400.MediaEmpty: Telegram says: [400 MEDIA_EMPTY] - The media you tried to send is invalid (caused by "messages.SendMedia")

DATE: 2024-06-06 11:42:08.662203

TIME: 11:42:08

USER: 1089528685

USER MENTION: <a href=tg://user?id=1089528685>Satya

USERNAME: @S4tyendra

FIRST NAME: Satya

CHAT: -1001426113453

MESSAGE LINK: https://t.me/c/1426113453/123163

MESSAGE TEXT: /upload https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh

MESSAGE ID: 123163

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Jun 6, 2024

Telegram says: [420 SLOWMODE_WAIT_X] - A wait of 10 seconds is required to send messages in this chat (caused by "messages.SendMessage")

Error in afk in no_more_afk:

Telegram says: [420 SLOWMODE_WAIT_X] - A wait of 10 seconds is required to send messages in this chat (caused by "messages.SendMessage")

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 141, in wrapper
    await message.reply_text(random.choice(["Hello", "Hi", "Hey", "Hi There"]))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/types/messages_and_media/message.py", line 1344, in reply_text
    return await self._client.send_message(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/messages/send_message.py", line 169, in send_message
    r = await self.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/invoke.py", line 80, in invoke
    r = await self.session.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 405, in invoke
    return await self.send(query, timeout=timeout)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 362, in send
    RPCError.raise_it(result, type(data))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/errors/rpc_error.py", line 92, in raise_it
    raise getattr(
pyrogram.errors.exceptions.flood_420.SlowmodeWait: Telegram says: [420 SLOWMODE_WAIT_X] - A wait of 10 seconds is required to send messages in this chat (caused by "messages.SendMessage")

DATE: 2024-06-06 15:04:01.641458

TIME: 15:04:01

USER: 977977982

USER MENTION: <a href=tg://user?id=977977982>NAITIK

USERNAME: @naitikraj3101

FIRST NAME: NAITIK

CHAT: -1001406261584

MESSAGE LINK: https://t.me/NrBotsupport/45426

MESSAGE TEXT: hi

MESSAGE ID: 45426

REPLIED TO MESSAGE ID: 45425

REPLIED TO MESSAGE TEXT: Hi admin

REPLIED TO MESSAGE USER ID: 5686963213

REPLIED TO MESSAGE USER MENTION: <a href=tg://user?id=5686963213>Delli

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: -1001406261584

REPLIED TO MESSAGE LINK: https://t.me/NrBotsupport/45425

Copy link

mr-stark-logs bot commented Jun 6, 2024

Telegram says: [420 SLOWMODE_WAIT_X] - A wait of 10 seconds is required to send messages in this chat (caused by "messages.SendMessage")

Error in afk in no_more_afk:

Telegram says: [420 SLOWMODE_WAIT_X] - A wait of 10 seconds is required to send messages in this chat (caused by "messages.SendMessage")

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 141, in wrapper
    await message.reply_text(random.choice(["Hello", "Hi", "Hey", "Hi There"]))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/types/messages_and_media/message.py", line 1344, in reply_text
    return await self._client.send_message(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/messages/send_message.py", line 169, in send_message
    r = await self.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/invoke.py", line 80, in invoke
    r = await self.session.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 405, in invoke
    return await self.send(query, timeout=timeout)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 362, in send
    RPCError.raise_it(result, type(data))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/errors/rpc_error.py", line 92, in raise_it
    raise getattr(
pyrogram.errors.exceptions.flood_420.SlowmodeWait: Telegram says: [420 SLOWMODE_WAIT_X] - A wait of 10 seconds is required to send messages in this chat (caused by "messages.SendMessage")

DATE: 2024-06-06 15:04:12.042503

TIME: 15:04:12

USER: 977977982

USER MENTION: <a href=tg://user?id=977977982>NAITIK

USERNAME: @naitikraj3101

FIRST NAME: NAITIK

CHAT: -1001406261584

MESSAGE LINK: https://t.me/NrBotsupport/45428

MESSAGE TEXT: hi

MESSAGE ID: 45428

REPLIED TO MESSAGE ID: 45427

REPLIED TO MESSAGE TEXT: Hi

REPLIED TO MESSAGE USER ID: 1863795995

REPLIED TO MESSAGE USER MENTION: <a href=tg://user?id=1863795995>𝐌𝐫 Sᴛᴀʀᴋ

REPLIED TO MESSAGE USERNAME: @Mr_StarkBot

REPLIED TO MESSAGE CHAT ID: -1001406261584

REPLIED TO MESSAGE LINK: https://t.me/NrBotsupport/45427

Copy link

mr-stark-logs bot commented Jun 6, 2024

list index out of range

Error in afk in reply_to_afk:

list index out of range

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/afk.py", line 110, in reply_to_afk
    chat = await c.get_users(mention_text)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/users/get_users.py", line 73, in get_users
    return users if is_iterable else users[0]
IndexError: list index out of range

DATE: 2024-06-06 15:12:55.527126

TIME: 15:12:55

USER: 1089528685

USER MENTION: <a href=tg://user?id=1089528685>Satya

USERNAME: @S4tyendra

FIRST NAME: Satya

CHAT: -1001426113453

MESSAGE LINK: https://t.me/c/1426113453/123179

MESSAGE TEXT: `/gpt2
I am using nextjs App router.
here is the code inside approveapp/page.tsx
import React from 'react';
import {ApproveApp} from '@/components/approveapp';

const approve = () => {

return ;
};

export default approve;
// page.tsx.

I want to Use nextjs's SSR (Make api call in server) Get app_url from urlparams and send it to server EX: http://127.0.0.1:8000/auth/appdetails?app_url=authapps.devh.in/12312dshv

and data got from response, Send to ApproveApp Untill show Skeleton.EX:
import React from "react";
import {Card, Skeleton, Button} from "@nextui-org/react";

export default function App() {
 const [isLoaded, setIsLoaded] = React.useState(false);

 const toggleLoad = () => {
   setIsLoaded(!isLoaded);
 };

 return (
   


     
       
         

       
       

         
           

         
         
           

         
         
           

         
       

     
     
       {isLoaded ? "Show" : "Hide"} Skeleton
     
   

 );
}
May be i think i need to create another file insde it?`

MESSAGE ID: 123179

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Jun 7, 2024

Telegram says: [400 MEDIA_EMPTY] - The media you tried to send is invalid (caused by "messages.SendMedia")

Error in filetools in upload_file:

Telegram says: [400 MEDIA_EMPTY] - The media you tried to send is invalid (caused by "messages.SendMedia")

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/filetools.py", line 50, in upload_file
    await m.reply_document(file, progress=progress, progress_args=(msg, c_time, "Uploading This File!"))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/types/messages_and_media/message.py", line 2141, in reply_document
    return await self._client.send_document(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/messages/send_document.py", line 232, in send_document
    r = await self.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/invoke.py", line 80, in invoke
    r = await self.session.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 405, in invoke
    return await self.send(query, timeout=timeout)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 362, in send
    RPCError.raise_it(result, type(data))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/errors/rpc_error.py", line 92, in raise_it
    raise getattr(
pyrogram.errors.exceptions.bad_request_400.MediaEmpty: Telegram says: [400 MEDIA_EMPTY] - The media you tried to send is invalid (caused by "messages.SendMedia")

DATE: 2024-06-07 14:37:26.370823

TIME: 14:37:26

USER: 1089528685

USER MENTION: <a href=tg://user?id=1089528685>Satya

USERNAME: @S4tyendra

FIRST NAME: Satya

CHAT: -1001426113453

MESSAGE LINK: https://t.me/c/1426113453/123184

MESSAGE TEXT: /upload https://aws-api.devh.in/storage/download/1717682053233766_1f93f3933ed10dde6d1ecbffd47fcda4

MESSAGE ID: 123184

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Jun 8, 2024

'items'

Error in google in google:

'items'

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/google.py", line 49, in google
    results = await search_google(query)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/google.py", line 22, in search_google
    for i in resp["items"]:
KeyError: 'items'

DATE: 2024-06-08 05:02:48.769620

TIME: 05:02:48

USER: 1089528685

USER MENTION: <a href=tg://user?id=1089528685>Satya

USERNAME: @S4tyendra

FIRST NAME: Satya

CHAT: -1001426113453

MESSAGE LINK: https://t.me/c/1426113453/123192

MESSAGE TEXT: /gs Multifeatures Pypi S4tyendra

MESSAGE ID: 123192

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Jun 8, 2024

Telegram says: [400 USERNAME_NOT_OCCUPIED] - The username is not occupied by anyone (caused by "contacts.ResolveUsername")

Error in afk in reply_to_afk:

Telegram says: [400 USERNAME_NOT_OCCUPIED] - The username is not occupied by anyone (caused by "contacts.ResolveUsername")

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 63, in resolve_peer
    return await self.storage.get_peer_by_id(peer_id)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/storage/sqlite_storage.py", line 176, in get_peer_by_id
    raise KeyError(f"ID not found: {peer_id}")
KeyError: 'ID not found: @admins'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 73, in resolve_peer
    int(peer_id)
ValueError: invalid literal for int() with base 10: 'admins'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 76, in resolve_peer
    return await self.storage.get_peer_by_username(peer_id)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/storage/sqlite_storage.py", line 194, in get_peer_by_username
    raise KeyError(f"Username not found: {username}")
KeyError: 'Username not found: admins'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/afk.py", line 110, in reply_to_afk
    chat = await c.get_users(mention_text)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/users/get_users.py", line 60, in get_users
    user_ids = await asyncio.gather(*[self.resolve_peer(i) for i in user_ids])
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 78, in resolve_peer
    await self.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/invoke.py", line 80, in invoke
    r = await self.session.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 405, in invoke
    return await self.send(query, timeout=timeout)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 362, in send
    RPCError.raise_it(result, type(data))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/errors/rpc_error.py", line 92, in raise_it
    raise getattr(
pyrogram.errors.exceptions.bad_request_400.UsernameNotOccupied: Telegram says: [400 USERNAME_NOT_OCCUPIED] - The username is not occupied by anyone (caused by "contacts.ResolveUsername")

DATE: 2024-06-08 12:01:33.357011

TIME: 12:01:33

USER: 7012934864

USER MENTION: <a href=tg://user?id=7012934864>𝑫𝒆𝒗🍷◕ 𝐆𝚵𝐍

USERNAME: @Sup_Nyx

FIRST NAME: 𝑫𝒆𝒗🍷◕ 𝐆𝚵𝐍

CHAT: -1001406261584

MESSAGE LINK: https://t.me/NrBotsupport/45698

MESSAGE TEXT: @admins

MESSAGE ID: 45698

REPLIED TO MESSAGE ID: 45697

REPLIED TO MESSAGE TEXT: Bhai ye terabox bot abhi down h kya?

REPLIED TO MESSAGE USER ID: 7012934864

REPLIED TO MESSAGE USER MENTION: <a href=tg://user?id=7012934864>𝑫𝒆𝒗🍷◕ 𝐆𝚵𝐍

REPLIED TO MESSAGE USERNAME: @Sup_Nyx

REPLIED TO MESSAGE CHAT ID: -1001406261584

REPLIED TO MESSAGE LINK: https://t.me/NrBotsupport/45697

Copy link

mr-stark-logs bot commented Jun 8, 2024

Telegram says: [420 SLOWMODE_WAIT_X] - A wait of 9 seconds is required to send messages in this chat (caused by "messages.SendMessage")

Error in afk in no_more_afk:

Telegram says: [420 SLOWMODE_WAIT_X] - A wait of 9 seconds is required to send messages in this chat (caused by "messages.SendMessage")

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 141, in wrapper
    await message.reply_text(random.choice(["Hello", "Hi", "Hey", "Hi There"]))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/types/messages_and_media/message.py", line 1344, in reply_text
    return await self._client.send_message(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/messages/send_message.py", line 169, in send_message
    r = await self.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/invoke.py", line 80, in invoke
    r = await self.session.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 405, in invoke
    return await self.send(query, timeout=timeout)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 362, in send
    RPCError.raise_it(result, type(data))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/errors/rpc_error.py", line 92, in raise_it
    raise getattr(
pyrogram.errors.exceptions.flood_420.SlowmodeWait: Telegram says: [420 SLOWMODE_WAIT_X] - A wait of 9 seconds is required to send messages in this chat (caused by "messages.SendMessage")

DATE: 2024-06-08 16:44:48.111608

TIME: 16:44:48

USER: 5545503453

USER MENTION: <a href=tg://user?id=5545503453>Sharpy

USERNAME: @Sharpy_x2

FIRST NAME: Sharpy

CHAT: -1001406261584

MESSAGE LINK: https://t.me/NrBotsupport/45748

MESSAGE TEXT: hi

MESSAGE ID: 45748

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Oct 11, 2024

Telegram says: [400 USERNAME_NOT_OCCUPIED] - The username is not occupied by anyone (caused by "contacts.ResolveUsername")

Error in afk in reply_to_afk:

Telegram says: [400 USERNAME_NOT_OCCUPIED] - The username is not occupied by anyone (caused by "contacts.ResolveUsername")

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 63, in resolve_peer
    return await self.storage.get_peer_by_id(peer_id)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/storage/sqlite_storage.py", line 176, in get_peer_by_id
    raise KeyError(f"ID not found: {peer_id}")
KeyError: 'ID not found: @admin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 73, in resolve_peer
    int(peer_id)
ValueError: invalid literal for int() with base 10: 'admin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 76, in resolve_peer
    return await self.storage.get_peer_by_username(peer_id)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/storage/sqlite_storage.py", line 194, in get_peer_by_username
    raise KeyError(f"Username not found: {username}")
KeyError: 'Username not found: admin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/afk.py", line 110, in reply_to_afk
    chat = await c.get_users(mention_text)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/users/get_users.py", line 60, in get_users
    user_ids = await asyncio.gather(*[self.resolve_peer(i) for i in user_ids])
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 78, in resolve_peer
    await self.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/invoke.py", line 80, in invoke
    r = await self.session.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 405, in invoke
    return await self.send(query, timeout=timeout)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 373, in send
    return await self.send(data, wait_response, timeout)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 362, in send
    RPCError.raise_it(result, type(data))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/errors/rpc_error.py", line 92, in raise_it
    raise getattr(
pyrogram.errors.exceptions.bad_request_400.UsernameNotOccupied: Telegram says: [400 USERNAME_NOT_OCCUPIED] - The username is not occupied by anyone (caused by "contacts.ResolveUsername")

DATE: 2024-10-11 04:52:07.300051

TIME: 04:52:07

USER: 5564210290

USER MENTION: <a href=tg://user?id=5564210290>Omkar💯💯

USERNAME: @None

FIRST NAME: Omkar💯💯

CHAT: -1001406261584

MESSAGE LINK: https://t.me/NrBotsupport/75913

MESSAGE TEXT: @admin terabox downloader se maine 2 videos download bhi nahi kiye phir bhi video nahi aa raha hai likh ke aa raha hai you need premium plan

MESSAGE ID: 75913

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Oct 13, 2024

E11000 duplicate key error collection: STARK.users index: id dup key: { _id: 6425459908 }, full error: {'index': 0, 'code': 11000, 'errmsg': 'E11000 duplicate key error collection: STARK.users index: id dup key: { _id: 6425459908 }', 'keyPattern': {'_id': 1}, 'keyValue': {'_id': 6425459908}}

Error in afk in reply_to_afk:

E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 6425459908 }, full error: {'index': 0, 'code': 11000, 'errmsg': 'E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 6425459908 }', 'keyPattern': {'_id': 1}, 'keyValue': {'_id': 6425459908}}

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 139, in wrapper
    await db.add(client, message)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/db.py", line 29, in add
    DB.users.insert_one({"_id": id_, "username": name})
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/collection.py", line 669, in insert_one
    self._insert_one(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/collection.py", line 609, in _insert_one
    self.__database.client._retryable_write(acknowledged, _insert_command, session)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1523, in _retryable_write
    return self._retry_with_session(retryable, func, s, bulk)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1421, in _retry_with_session
    return self._retry_internal(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/_csot.py", line 107, in csot_wrapper
    return func(self, *args, **kwargs)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1462, in _retry_internal
    ).run()
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 2315, in run
    return self._read() if self._is_read else self._write()
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 2423, in _write
    return self._func(self._session, conn, self._retryable)  # type: ignore
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/collection.py", line 607, in _insert_command
    _check_write_command_response(result)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/helpers.py", line 266, in _check_write_command_response
    _raise_last_write_error(write_errors)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/helpers.py", line 238, in _raise_last_write_error
    raise DuplicateKeyError(error.get("errmsg"), 11000, error)
pymongo.errors.DuplicateKeyError: E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 6425459908 }, full error: {'index': 0, 'code': 11000, 'errmsg': 'E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 6425459908 }', 'keyPattern': {'_id': 1}, 'keyValue': {'_id': 6425459908}}

DATE: 2024-10-13 04:58:10.809543

TIME: 04:58:10

USER: 6425459908

USER MENTION: <a href=tg://user?id=6425459908>𓆩𓄂⛦Ꮆ𝚮❍𝛅𝚻 ៚➺ 🄰αkαzα⛦⃕͜🇮🇳𓆪

USERNAME: @KING_IS_BACK_IN_TG

FIRST NAME: 𓆩𓄂⛦Ꮆ𝚮❍𝛅𝚻 ៚➺ 🄰αkαzα⛦⃕͜🇮🇳𓆪

CHAT: -1001406261584

MESSAGE LINK: https://t.me/NrBotsupport/76108

MESSAGE TEXT: /pin loud

MESSAGE ID: 76108

REPLIED TO MESSAGE ID: 76107

REPLIED TO MESSAGE TEXT: Vote kr har id se ss leliyo vs

REPLIED TO MESSAGE USER ID: 6425459908

REPLIED TO MESSAGE USER MENTION: <a href=tg://user?id=6425459908>𓆩𓄂⛦Ꮆ𝚮❍𝛅𝚻 ៚➺ 🄰αkαzα⛦⃕͜🇮🇳𓆪

REPLIED TO MESSAGE USERNAME: @KING_IS_BACK_IN_TG

REPLIED TO MESSAGE CHAT ID: -1001406261584

REPLIED TO MESSAGE LINK: https://t.me/NrBotsupport/76107

Copy link

mr-stark-logs bot commented Oct 13, 2024

E11000 duplicate key error collection: STARK.users index: id dup key: { _id: 6425459908 }, full error: {'index': 0, 'code': 11000, 'errmsg': 'E11000 duplicate key error collection: STARK.users index: id dup key: { _id: 6425459908 }', 'keyPattern': {'_id': 1}, 'keyValue': {'_id': 6425459908}}

Error in afk in reply_to_afk:

E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 6425459908 }, full error: {'index': 0, 'code': 11000, 'errmsg': 'E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 6425459908 }', 'keyPattern': {'_id': 1}, 'keyValue': {'_id': 6425459908}}

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 139, in wrapper
    await db.add(client, message)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/db.py", line 29, in add
    DB.users.insert_one({"_id": id_, "username": name})
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/collection.py", line 669, in insert_one
    self._insert_one(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/collection.py", line 609, in _insert_one
    self.__database.client._retryable_write(acknowledged, _insert_command, session)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1523, in _retryable_write
    return self._retry_with_session(retryable, func, s, bulk)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1421, in _retry_with_session
    return self._retry_internal(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/_csot.py", line 107, in csot_wrapper
    return func(self, *args, **kwargs)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1462, in _retry_internal
    ).run()
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 2315, in run
    return self._read() if self._is_read else self._write()
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 2423, in _write
    return self._func(self._session, conn, self._retryable)  # type: ignore
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/collection.py", line 607, in _insert_command
    _check_write_command_response(result)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/helpers.py", line 266, in _check_write_command_response
    _raise_last_write_error(write_errors)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/helpers.py", line 238, in _raise_last_write_error
    raise DuplicateKeyError(error.get("errmsg"), 11000, error)
pymongo.errors.DuplicateKeyError: E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 6425459908 }, full error: {'index': 0, 'code': 11000, 'errmsg': 'E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 6425459908 }', 'keyPattern': {'_id': 1}, 'keyValue': {'_id': 6425459908}}

DATE: 2024-10-13 04:58:12.841848

TIME: 04:58:12

USER: 6425459908

USER MENTION: <a href=tg://user?id=6425459908>𓆩𓄂⛦Ꮆ𝚮❍𝛅𝚻 ៚➺ 🄰αkαzα⛦⃕͜🇮🇳𓆪

USERNAME: @KING_IS_BACK_IN_TG

FIRST NAME: 𓆩𓄂⛦Ꮆ𝚮❍𝛅𝚻 ៚➺ 🄰αkαzα⛦⃕͜🇮🇳𓆪

CHAT: -1001406261584

MESSAGE LINK: https://t.me/NrBotsupport/76107

MESSAGE TEXT: Vote kr har id se ss leliyo vs

MESSAGE ID: 76107

REPLIED TO MESSAGE ID: 76106

REPLIED TO MESSAGE TEXT: https://t.me/CHILL_CREW_CHATTINGS/81059

REPLIED TO MESSAGE USER ID: 6425459908

REPLIED TO MESSAGE USER MENTION: <a href=tg://user?id=6425459908>𓆩𓄂⛦Ꮆ𝚮❍𝛅𝚻 ៚➺ 🄰αkαzα⛦⃕͜🇮🇳𓆪

REPLIED TO MESSAGE USERNAME: @KING_IS_BACK_IN_TG

REPLIED TO MESSAGE CHAT ID: -1001406261584

REPLIED TO MESSAGE LINK: https://t.me/NrBotsupport/76106

Copy link

mr-stark-logs bot commented Oct 13, 2024

Telegram says: [400 USERNAME_NOT_OCCUPIED] - The username is not occupied by anyone (caused by "contacts.ResolveUsername")

Error in afk in reply_to_afk:

Telegram says: [400 USERNAME_NOT_OCCUPIED] - The username is not occupied by anyone (caused by "contacts.ResolveUsername")

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 63, in resolve_peer
    return await self.storage.get_peer_by_id(peer_id)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/storage/sqlite_storage.py", line 176, in get_peer_by_id
    raise KeyError(f"ID not found: {peer_id}")
KeyError: 'ID not found: @Instagram_Downloader_NRbot'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 73, in resolve_peer
    int(peer_id)
ValueError: invalid literal for int() with base 10: 'instagram_downloader_nrbot'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 76, in resolve_peer
    return await self.storage.get_peer_by_username(peer_id)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/storage/sqlite_storage.py", line 194, in get_peer_by_username
    raise KeyError(f"Username not found: {username}")
KeyError: 'Username not found: instagram_downloader_nrbot'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/afk.py", line 110, in reply_to_afk
    chat = await c.get_users(mention_text)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/users/get_users.py", line 60, in get_users
    user_ids = await asyncio.gather(*[self.resolve_peer(i) for i in user_ids])
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 78, in resolve_peer
    await self.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/invoke.py", line 80, in invoke
    r = await self.session.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 405, in invoke
    return await self.send(query, timeout=timeout)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 362, in send
    RPCError.raise_it(result, type(data))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/errors/rpc_error.py", line 92, in raise_it
    raise getattr(
pyrogram.errors.exceptions.bad_request_400.UsernameNotOccupied: Telegram says: [400 USERNAME_NOT_OCCUPIED] - The username is not occupied by anyone (caused by "contacts.ResolveUsername")

DATE: 2024-10-13 08:39:19.016015

TIME: 08:39:19

USER: 7082781073

USER MENTION: <a href=tg://user?id=7082781073>Prathmesh

USERNAME: @None

FIRST NAME: Prathmesh

CHAT: -1001406261584

MESSAGE LINK: https://t.me/NrBotsupport/76122

MESSAGE TEXT: @Instagram_Downloader_NRbot

MESSAGE ID: 76122

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Oct 13, 2024

list index out of range

Error in afk in reply_to_afk:

list index out of range

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/afk.py", line 110, in reply_to_afk
    chat = await c.get_users(mention_text)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/users/get_users.py", line 73, in get_users
    return users if is_iterable else users[0]
IndexError: list index out of range

DATE: 2024-10-13 10:06:10.676431

TIME: 10:06:10

USER: 6912654760

USER MENTION: <a href=tg://user?id=6912654760>アーユシュ

USERNAME: @Temporary14432

FIRST NAME: アーユシュ

CHAT: -1001406261584

MESSAGE LINK: https://t.me/NrBotsupport/76137

MESSAGE TEXT: @yeah domain kitne mai lia

MESSAGE ID: 76137

REPLIED TO MESSAGE ID: 76136

REPLIED TO MESSAGE TEXT: see guide nrbots2.blogspot.com

REPLIED TO MESSAGE USER ID: 977977982

REPLIED TO MESSAGE USER MENTION: <a href=tg://user?id=977977982>NAITIK

REPLIED TO MESSAGE USERNAME: @naitikraj3101

REPLIED TO MESSAGE CHAT ID: -1001406261584

REPLIED TO MESSAGE LINK: https://t.me/NrBotsupport/76136

Copy link

mr-stark-logs bot commented Oct 13, 2024

list index out of range

Error in afk in reply_to_afk:

list index out of range

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/afk.py", line 110, in reply_to_afk
    chat = await c.get_users(mention_text)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/users/get_users.py", line 73, in get_users
    return users if is_iterable else users[0]
IndexError: list index out of range

DATE: 2024-10-13 14:54:01.232540

TIME: 14:54:01

USER: 6135192340

USER MENTION: <a href=tg://user?id=6135192340>PIИK VEИOM ♡

USERNAME: @pink_venomxd

FIRST NAME: PIИK VEИOM ♡

CHAT: -1001406261584

MESSAGE LINK: https://t.me/NrBotsupport/76179

MESSAGE TEXT: @nrbots pin msg

MESSAGE ID: 76179

REPLIED TO MESSAGE ID: 76176

REPLIED TO MESSAGE TEXT: plz share list of bot created by NRbots

REPLIED TO MESSAGE USER ID: 7875090908

REPLIED TO MESSAGE USER MENTION: <a href=tg://user?id=7875090908>Roxy

REPLIED TO MESSAGE USERNAME: @Ok9850

REPLIED TO MESSAGE CHAT ID: -1001406261584

REPLIED TO MESSAGE LINK: https://t.me/NrBotsupport/76176

Copy link

mr-stark-logs bot commented Oct 15, 2024

list index out of range

Error in afk in reply_to_afk:

list index out of range

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/afk.py", line 110, in reply_to_afk
    chat = await c.get_users(mention_text)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/users/get_users.py", line 73, in get_users
    return users if is_iterable else users[0]
IndexError: list index out of range

DATE: 2024-10-15 13:27:12.471824

TIME: 13:27:12

USER: 6135192340

USER MENTION: <a href=tg://user?id=6135192340>PIИK VEИOM ♡

USERNAME: @pink_venomxd

FIRST NAME: PIИK VEИOM ♡

CHAT: -1001406261584

MESSAGE LINK: https://t.me/NrBotsupport/76334

MESSAGE TEXT: @nrbots pin msg

MESSAGE ID: 76334

REPLIED TO MESSAGE ID: 76331

REPLIED TO MESSAGE TEXT: Bro ap logo ka kitne bot hai?

REPLIED TO MESSAGE USER ID: 1512205542

REPLIED TO MESSAGE USER MENTION: <a href=tg://user?id=1512205542>AA

REPLIED TO MESSAGE USERNAME: @AREYYDEEWANE

REPLIED TO MESSAGE CHAT ID: -1001406261584

REPLIED TO MESSAGE LINK: https://t.me/NrBotsupport/76331

Copy link

mr-stark-logs bot commented Oct 18, 2024

list index out of range

Error in afk in reply_to_afk:

list index out of range

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/afk.py", line 110, in reply_to_afk
    chat = await c.get_users(mention_text)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/users/get_users.py", line 73, in get_users
    return users if is_iterable else users[0]
IndexError: list index out of range

DATE: 2024-10-18 09:14:00.289287

TIME: 09:14:00

USER: 6278502590

USER MENTION: <a href=tg://user?id=6278502590>­ 🕊Intelligent

USERNAME: @nrbots_xd

FIRST NAME: ­ 🕊Intelligent

CHAT: -1001406261584

MESSAGE LINK: https://t.me/NrBotsupport/76693

MESSAGE TEXT: @NrBotsupport join support grp

MESSAGE ID: 76693

REPLIED TO MESSAGE ID: 76690

REPLIED TO MESSAGE TEXT: Art and culture

REPLIED TO MESSAGE USER ID: 6376224236

REPLIED TO MESSAGE USER MENTION: <a href=tg://user?id=6376224236>Professor

REPLIED TO MESSAGE USERNAME: @Tokyo3040

REPLIED TO MESSAGE CHAT ID: -1001406261584

REPLIED TO MESSAGE LINK: https://t.me/NrBotsupport/76690

Copy link

mr-stark-logs bot commented Oct 20, 2024

Telegram says: [400 USERNAME_NOT_OCCUPIED] - The username is not occupied by anyone (caused by "contacts.ResolveUsername")

Error in afk in reply_to_afk:

Telegram says: [400 USERNAME_NOT_OCCUPIED] - The username is not occupied by anyone (caused by "contacts.ResolveUsername")

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 63, in resolve_peer
    return await self.storage.get_peer_by_id(peer_id)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/storage/sqlite_storage.py", line 176, in get_peer_by_id
    raise KeyError(f"ID not found: {peer_id}")
KeyError: 'ID not found: @admin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 73, in resolve_peer
    int(peer_id)
ValueError: invalid literal for int() with base 10: 'admin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 76, in resolve_peer
    return await self.storage.get_peer_by_username(peer_id)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/storage/sqlite_storage.py", line 194, in get_peer_by_username
    raise KeyError(f"Username not found: {username}")
KeyError: 'Username not found: admin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/afk.py", line 110, in reply_to_afk
    chat = await c.get_users(mention_text)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/users/get_users.py", line 60, in get_users
    user_ids = await asyncio.gather(*[self.resolve_peer(i) for i in user_ids])
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 78, in resolve_peer
    await self.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/invoke.py", line 80, in invoke
    r = await self.session.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 405, in invoke
    return await self.send(query, timeout=timeout)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 362, in send
    RPCError.raise_it(result, type(data))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/errors/rpc_error.py", line 92, in raise_it
    raise getattr(
pyrogram.errors.exceptions.bad_request_400.UsernameNotOccupied: Telegram says: [400 USERNAME_NOT_OCCUPIED] - The username is not occupied by anyone (caused by "contacts.ResolveUsername")

DATE: 2024-10-20 04:37:59.664024

TIME: 04:37:59

USER: 2146124135

USER MENTION: <a href=tg://user?id=2146124135>JAAT

USERNAME: @Rohit_Verma21

FIRST NAME: JAAT

CHAT: -1001406261584

MESSAGE LINK: https://t.me/NrBotsupport/76874

MESSAGE TEXT: @admin

MESSAGE ID: 76874

REPLIED TO MESSAGE ID: 76873

REPLIED TO MESSAGE TEXT: Mana YouTube premium buy kiya lakin nahi Mila abhi taak

REPLIED TO MESSAGE USER ID: 2146124135

REPLIED TO MESSAGE USER MENTION: <a href=tg://user?id=2146124135>JAAT

REPLIED TO MESSAGE USERNAME: @Rohit_Verma21

REPLIED TO MESSAGE CHAT ID: -1001406261584

REPLIED TO MESSAGE LINK: https://t.me/NrBotsupport/76873

Copy link

mr-stark-logs bot commented Oct 20, 2024

Telegram says: [400 ENTITY_BOUNDS_INVALID] - The message entity bounds are invalid (caused by "messages.EditMessage")

Error in dev in eval:

Telegram says: [400 ENTITY_BOUNDS_INVALID] - The message entity bounds are invalid (caused by "messages.EditMessage")

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/dev.py", line 71, in eval
    await edit_or_send_as_file(final_output, stark, bot, capt, "Eval-result")
  File "/home/ubuntu/Mr.Stark/Mr.Stark/main/helper_func/basic_helpers.py", line 240, in edit_or_send_as_file
    return await message.edit(text)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/types/messages_and_media/message.py", line 3813, in edit_text
    return await self._client.edit_message_text(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/messages/edit_message_text.py", line 84, in edit_message_text
    r = await self.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/invoke.py", line 80, in invoke
    r = await self.session.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 405, in invoke
    return await self.send(query, timeout=timeout)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 362, in send
    RPCError.raise_it(result, type(data))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/errors/rpc_error.py", line 92, in raise_it
    raise getattr(
pyrogram.errors.exceptions.bad_request_400.EntityBoundsInvalid: Telegram says: [400 ENTITY_BOUNDS_INVALID] - The message entity bounds are invalid (caused by "messages.EditMessage")

DATE: 2024-10-20 08:43:34.896875

TIME: 08:43:34

USER: 1089528685

USER MENTION: <a href=tg://user?id=1089528685>Satya

USERNAME: @S4tyendra

FIRST NAME: Satya

CHAT: -1001426113453

MESSAGE LINK: https://t.me/c/1426113453/126048

MESSAGE TEXT: `/e
u = 'http://34.93.181.72:8000/'

from requests import get as g
z = g(u)
p(z.text)`

MESSAGE ID: 126048

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Oct 20, 2024

Telegram says: [400 ENTITY_BOUNDS_INVALID] - The message entity bounds are invalid (caused by "messages.EditMessage")

Error in dev in eval:

Telegram says: [400 ENTITY_BOUNDS_INVALID] - The message entity bounds are invalid (caused by "messages.EditMessage")

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/dev.py", line 71, in eval
    await edit_or_send_as_file(final_output, stark, bot, capt, "Eval-result")
  File "/home/ubuntu/Mr.Stark/Mr.Stark/main/helper_func/basic_helpers.py", line 240, in edit_or_send_as_file
    return await message.edit(text)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/types/messages_and_media/message.py", line 3813, in edit_text
    return await self._client.edit_message_text(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/messages/edit_message_text.py", line 84, in edit_message_text
    r = await self.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/invoke.py", line 80, in invoke
    r = await self.session.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 405, in invoke
    return await self.send(query, timeout=timeout)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 362, in send
    RPCError.raise_it(result, type(data))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/errors/rpc_error.py", line 92, in raise_it
    raise getattr(
pyrogram.errors.exceptions.bad_request_400.EntityBoundsInvalid: Telegram says: [400 ENTITY_BOUNDS_INVALID] - The message entity bounds are invalid (caused by "messages.EditMessage")

DATE: 2024-10-20 08:45:12.812749

TIME: 08:45:12

USER: 1089528685

USER MENTION: <a href=tg://user?id=1089528685>Satya

USERNAME: @S4tyendra

FIRST NAME: Satya

CHAT: -1001426113453

MESSAGE LINK: https://t.me/c/1426113453/126054

MESSAGE TEXT: `/e
u = 'http://34.93.181.72:8000/'

from requests import get as g
z = g(u)
p("\n"+z.text+"\n")`

MESSAGE ID: 126054

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Oct 20, 2024

list index out of range

Error in afk in reply_to_afk:

list index out of range

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/afk.py", line 110, in reply_to_afk
    chat = await c.get_users(mention_text)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/users/get_users.py", line 73, in get_users
    return users if is_iterable else users[0]
IndexError: list index out of range

DATE: 2024-10-20 18:02:46.541295

TIME: 18:02:46

USER: 6285241743

USER MENTION: <a href=tg://user?id=6285241743>🇮🇳

USERNAME: @None

FIRST NAME: 🇮🇳

CHAT: -1001406261584

MESSAGE LINK: https://t.me/NrBotsupport/77025

MESSAGE TEXT: @madx_abhi

MESSAGE ID: 77025

REPLIED TO MESSAGE ID: 77024

REPLIED TO MESSAGE TEXT: Dm kar sakta hu kya bhai

REPLIED TO MESSAGE USER ID: 1596559467

REPLIED TO MESSAGE USER MENTION: <a href=tg://user?id=1596559467>꯭᪵〬🍷⃪꯭⃜⛛̻̬Mahesh𝛅፝֟͡|🔮𓂃 ָ‎

REPLIED TO MESSAGE USERNAME: @maheshsirop

REPLIED TO MESSAGE CHAT ID: -1001406261584

REPLIED TO MESSAGE LINK: https://t.me/NrBotsupport/77024

Copy link

mr-stark-logs bot commented Oct 21, 2024

E11000 duplicate key error collection: STARK.users index: id dup key: { _id: 6413421096 }, full error: {'index': 0, 'code': 11000, 'errmsg': 'E11000 duplicate key error collection: STARK.users index: id dup key: { _id: 6413421096 }', 'keyPattern': {'_id': 1}, 'keyValue': {'_id': 6413421096}}

Error in afk in reply_to_afk:

E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 6413421096 }, full error: {'index': 0, 'code': 11000, 'errmsg': 'E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 6413421096 }', 'keyPattern': {'_id': 1}, 'keyValue': {'_id': 6413421096}}

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 139, in wrapper
    await db.add(client, message)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/db.py", line 29, in add
    DB.users.insert_one({"_id": id_, "username": name})
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/collection.py", line 669, in insert_one
    self._insert_one(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/collection.py", line 609, in _insert_one
    self.__database.client._retryable_write(acknowledged, _insert_command, session)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1523, in _retryable_write
    return self._retry_with_session(retryable, func, s, bulk)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1421, in _retry_with_session
    return self._retry_internal(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/_csot.py", line 107, in csot_wrapper
    return func(self, *args, **kwargs)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1462, in _retry_internal
    ).run()
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 2315, in run
    return self._read() if self._is_read else self._write()
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 2423, in _write
    return self._func(self._session, conn, self._retryable)  # type: ignore
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/collection.py", line 607, in _insert_command
    _check_write_command_response(result)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/helpers.py", line 266, in _check_write_command_response
    _raise_last_write_error(write_errors)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/helpers.py", line 238, in _raise_last_write_error
    raise DuplicateKeyError(error.get("errmsg"), 11000, error)
pymongo.errors.DuplicateKeyError: E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 6413421096 }, full error: {'index': 0, 'code': 11000, 'errmsg': 'E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 6413421096 }', 'keyPattern': {'_id': 1}, 'keyValue': {'_id': 6413421096}}

DATE: 2024-10-21 05:58:39.260780

TIME: 05:58:39

USER: 6413421096

USER MENTION: <a href=tg://user?id=6413421096>Sumit

USERNAME: @None

FIRST NAME: Sumit

CHAT: -1001406261584

MESSAGE LINK: https://t.me/NrBotsupport/77093

MESSAGE TEXT: https://youtube.com/shorts/e_9ibud9Ono?si=LOO6ql191yMLfhMK

MESSAGE ID: 77093

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Oct 21, 2024

list index out of range

Error in afk in reply_to_afk:

list index out of range

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/afk.py", line 110, in reply_to_afk
    chat = await c.get_users(mention_text)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/users/get_users.py", line 73, in get_users
    return users if is_iterable else users[0]
IndexError: list index out of range

DATE: 2024-10-21 13:25:35.429215

TIME: 13:25:35

USER: 977977982

USER MENTION: <a href=tg://user?id=977977982>NAITIK

USERNAME: @naitikraj3101

FIRST NAME: NAITIK

CHAT: -1001406261584

MESSAGE LINK: https://t.me/NrBotsupport/77257

MESSAGE TEXT: @doubtsolver_nr join isme only sticker khel sakte h

MESSAGE ID: 77257

REPLIED TO MESSAGE ID: 77229

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: 7634273490

REPLIED TO MESSAGE USER MENTION: <a href=tg://user?id=7634273490>Seo yea

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: -1001406261584

REPLIED TO MESSAGE LINK: https://t.me/NrBotsupport/77229

Copy link

mr-stark-logs bot commented Oct 21, 2024

E11000 duplicate key error collection: STARK.users index: id dup key: { _id: 7128833786 }, full error: {'index': 0, 'code': 11000, 'errmsg': 'E11000 duplicate key error collection: STARK.users index: id dup key: { _id: 7128833786 }', 'keyPattern': {'_id': 1}, 'keyValue': {'_id': 7128833786}}

Error in afk in reply_to_afk:

E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 7128833786 }, full error: {'index': 0, 'code': 11000, 'errmsg': 'E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 7128833786 }', 'keyPattern': {'_id': 1}, 'keyValue': {'_id': 7128833786}}

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 139, in wrapper
    await db.add(client, message)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/db.py", line 29, in add
    DB.users.insert_one({"_id": id_, "username": name})
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/collection.py", line 669, in insert_one
    self._insert_one(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/collection.py", line 609, in _insert_one
    self.__database.client._retryable_write(acknowledged, _insert_command, session)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1523, in _retryable_write
    return self._retry_with_session(retryable, func, s, bulk)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1421, in _retry_with_session
    return self._retry_internal(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/_csot.py", line 107, in csot_wrapper
    return func(self, *args, **kwargs)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1462, in _retry_internal
    ).run()
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 2315, in run
    return self._read() if self._is_read else self._write()
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 2423, in _write
    return self._func(self._session, conn, self._retryable)  # type: ignore
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/collection.py", line 607, in _insert_command
    _check_write_command_response(result)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/helpers.py", line 266, in _check_write_command_response
    _raise_last_write_error(write_errors)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/helpers.py", line 238, in _raise_last_write_error
    raise DuplicateKeyError(error.get("errmsg"), 11000, error)
pymongo.errors.DuplicateKeyError: E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 7128833786 }, full error: {'index': 0, 'code': 11000, 'errmsg': 'E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 7128833786 }', 'keyPattern': {'_id': 1}, 'keyValue': {'_id': 7128833786}}

DATE: 2024-10-21 17:19:13.712976

TIME: 17:19:13

USER: 7128833786

USER MENTION: <a href=tg://user?id=7128833786>~ 𝐋𝐔𝐂𝐈𝐅𝐄𝐑 🇪🇬

USERNAME: @Lxc1fr

FIRST NAME: ~ 𝐋𝐔𝐂𝐈𝐅𝐄𝐑 🇪🇬

CHAT: -1001406261584

MESSAGE LINK: https://t.me/NrBotsupport/77360

MESSAGE TEXT: None

MESSAGE ID: 77360

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Oct 21, 2024

E11000 duplicate key error collection: STARK.users index: id dup key: { _id: 7128833786 }, full error: {'index': 0, 'code': 11000, 'errmsg': 'E11000 duplicate key error collection: STARK.users index: id dup key: { _id: 7128833786 }', 'keyPattern': {'_id': 1}, 'keyValue': {'_id': 7128833786}}

Error in afk in reply_to_afk:

E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 7128833786 }, full error: {'index': 0, 'code': 11000, 'errmsg': 'E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 7128833786 }', 'keyPattern': {'_id': 1}, 'keyValue': {'_id': 7128833786}}

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 139, in wrapper
    await db.add(client, message)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/db.py", line 29, in add
    DB.users.insert_one({"_id": id_, "username": name})
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/collection.py", line 669, in insert_one
    self._insert_one(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/collection.py", line 609, in _insert_one
    self.__database.client._retryable_write(acknowledged, _insert_command, session)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1523, in _retryable_write
    return self._retry_with_session(retryable, func, s, bulk)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1421, in _retry_with_session
    return self._retry_internal(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/_csot.py", line 107, in csot_wrapper
    return func(self, *args, **kwargs)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1462, in _retry_internal
    ).run()
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 2315, in run
    return self._read() if self._is_read else self._write()
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 2423, in _write
    return self._func(self._session, conn, self._retryable)  # type: ignore
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/collection.py", line 607, in _insert_command
    _check_write_command_response(result)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/helpers.py", line 266, in _check_write_command_response
    _raise_last_write_error(write_errors)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/helpers.py", line 238, in _raise_last_write_error
    raise DuplicateKeyError(error.get("errmsg"), 11000, error)
pymongo.errors.DuplicateKeyError: E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 7128833786 }, full error: {'index': 0, 'code': 11000, 'errmsg': 'E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 7128833786 }', 'keyPattern': {'_id': 1}, 'keyValue': {'_id': 7128833786}}

DATE: 2024-10-21 17:19:15.068718

TIME: 17:19:15

USER: 7128833786

USER MENTION: <a href=tg://user?id=7128833786>~ 𝐋𝐔𝐂𝐈𝐅𝐄𝐑 🇪🇬

USERNAME: @Lxc1fr

FIRST NAME: ~ 𝐋𝐔𝐂𝐈𝐅𝐄𝐑 🇪🇬

CHAT: -1001406261584

MESSAGE LINK: https://t.me/NrBotsupport/77359

MESSAGE TEXT: None

MESSAGE ID: 77359

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Oct 21, 2024

E11000 duplicate key error collection: STARK.users index: id dup key: { _id: 7128833786 }, full error: {'index': 0, 'code': 11000, 'errmsg': 'E11000 duplicate key error collection: STARK.users index: id dup key: { _id: 7128833786 }', 'keyPattern': {'_id': 1}, 'keyValue': {'_id': 7128833786}}

Error in afk in reply_to_afk:

E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 7128833786 }, full error: {'index': 0, 'code': 11000, 'errmsg': 'E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 7128833786 }', 'keyPattern': {'_id': 1}, 'keyValue': {'_id': 7128833786}}

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 139, in wrapper
    await db.add(client, message)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/db.py", line 29, in add
    DB.users.insert_one({"_id": id_, "username": name})
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/collection.py", line 669, in insert_one
    self._insert_one(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/collection.py", line 609, in _insert_one
    self.__database.client._retryable_write(acknowledged, _insert_command, session)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1523, in _retryable_write
    return self._retry_with_session(retryable, func, s, bulk)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1421, in _retry_with_session
    return self._retry_internal(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/_csot.py", line 107, in csot_wrapper
    return func(self, *args, **kwargs)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1462, in _retry_internal
    ).run()
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 2315, in run
    return self._read() if self._is_read else self._write()
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 2423, in _write
    return self._func(self._session, conn, self._retryable)  # type: ignore
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/collection.py", line 607, in _insert_command
    _check_write_command_response(result)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/helpers.py", line 266, in _check_write_command_response
    _raise_last_write_error(write_errors)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/helpers.py", line 238, in _raise_last_write_error
    raise DuplicateKeyError(error.get("errmsg"), 11000, error)
pymongo.errors.DuplicateKeyError: E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 7128833786 }, full error: {'index': 0, 'code': 11000, 'errmsg': 'E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 7128833786 }', 'keyPattern': {'_id': 1}, 'keyValue': {'_id': 7128833786}}

DATE: 2024-10-21 17:19:16.609122

TIME: 17:19:16

USER: 7128833786

USER MENTION: <a href=tg://user?id=7128833786>~ 𝐋𝐔𝐂𝐈𝐅𝐄𝐑 🇪🇬

USERNAME: @Lxc1fr

FIRST NAME: ~ 𝐋𝐔𝐂𝐈𝐅𝐄𝐑 🇪🇬

CHAT: -1001406261584

MESSAGE LINK: https://t.me/NrBotsupport/77358

MESSAGE TEXT: None

MESSAGE ID: 77358

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Oct 21, 2024

E11000 duplicate key error collection: STARK.users index: id dup key: { _id: 7128833786 }, full error: {'index': 0, 'code': 11000, 'errmsg': 'E11000 duplicate key error collection: STARK.users index: id dup key: { _id: 7128833786 }', 'keyPattern': {'_id': 1}, 'keyValue': {'_id': 7128833786}}

Error in afk in reply_to_afk:

E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 7128833786 }, full error: {'index': 0, 'code': 11000, 'errmsg': 'E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 7128833786 }', 'keyPattern': {'_id': 1}, 'keyValue': {'_id': 7128833786}}

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 139, in wrapper
    await db.add(client, message)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/db.py", line 29, in add
    DB.users.insert_one({"_id": id_, "username": name})
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/collection.py", line 669, in insert_one
    self._insert_one(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/collection.py", line 609, in _insert_one
    self.__database.client._retryable_write(acknowledged, _insert_command, session)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1523, in _retryable_write
    return self._retry_with_session(retryable, func, s, bulk)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1421, in _retry_with_session
    return self._retry_internal(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/_csot.py", line 107, in csot_wrapper
    return func(self, *args, **kwargs)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1462, in _retry_internal
    ).run()
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 2315, in run
    return self._read() if self._is_read else self._write()
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 2423, in _write
    return self._func(self._session, conn, self._retryable)  # type: ignore
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/collection.py", line 607, in _insert_command
    _check_write_command_response(result)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/helpers.py", line 266, in _check_write_command_response
    _raise_last_write_error(write_errors)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/helpers.py", line 238, in _raise_last_write_error
    raise DuplicateKeyError(error.get("errmsg"), 11000, error)
pymongo.errors.DuplicateKeyError: E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 7128833786 }, full error: {'index': 0, 'code': 11000, 'errmsg': 'E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 7128833786 }', 'keyPattern': {'_id': 1}, 'keyValue': {'_id': 7128833786}}

DATE: 2024-10-21 17:19:17.919737

TIME: 17:19:17

USER: 7128833786

USER MENTION: <a href=tg://user?id=7128833786>~ 𝐋𝐔𝐂𝐈𝐅𝐄𝐑 🇪🇬

USERNAME: @Lxc1fr

FIRST NAME: ~ 𝐋𝐔𝐂𝐈𝐅𝐄𝐑 🇪🇬

CHAT: -1001406261584

MESSAGE LINK: https://t.me/NrBotsupport/77361

MESSAGE TEXT: None

MESSAGE ID: 77361

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Oct 22, 2024

list index out of range

Error in afk in reply_to_afk:

list index out of range

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/afk.py", line 110, in reply_to_afk
    chat = await c.get_users(mention_text)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/users/get_users.py", line 73, in get_users
    return users if is_iterable else users[0]
IndexError: list index out of range

DATE: 2024-10-22 14:19:48.076639

TIME: 14:19:48

USER: 7875090908

USER MENTION: <a href=tg://user?id=7875090908>ROXY ⚡

USERNAME: @Ok9850

FIRST NAME: ROXY ⚡

CHAT: -1001406261584

MESSAGE LINK: https://t.me/NrBotsupport/77474

MESSAGE TEXT: `Hello🎈Roxy!

Welcome to fastest telegram restrict content saver bot

Just copy the post link and send it to me . i will handle the rest!

If you encounter any issues or bugs, please report them in our support group @NrBotsupport.

A Project By @nrbots ❤️`

MESSAGE ID: 77474

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Oct 26, 2024

Telegram says: [400 USERNAME_NOT_OCCUPIED] - The username is not occupied by anyone (caused by "contacts.ResolveUsername")

Error in afk in reply_to_afk:

Telegram says: [400 USERNAME_NOT_OCCUPIED] - The username is not occupied by anyone (caused by "contacts.ResolveUsername")

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 63, in resolve_peer
    return await self.storage.get_peer_by_id(peer_id)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/storage/sqlite_storage.py", line 176, in get_peer_by_id
    raise KeyError(f"ID not found: {peer_id}")
KeyError: 'ID not found: @admin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 73, in resolve_peer
    int(peer_id)
ValueError: invalid literal for int() with base 10: 'admin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 76, in resolve_peer
    return await self.storage.get_peer_by_username(peer_id)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/storage/sqlite_storage.py", line 194, in get_peer_by_username
    raise KeyError(f"Username not found: {username}")
KeyError: 'Username not found: admin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/afk.py", line 110, in reply_to_afk
    chat = await c.get_users(mention_text)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/users/get_users.py", line 60, in get_users
    user_ids = await asyncio.gather(*[self.resolve_peer(i) for i in user_ids])
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 78, in resolve_peer
    await self.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/invoke.py", line 80, in invoke
    r = await self.session.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 405, in invoke
    return await self.send(query, timeout=timeout)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 362, in send
    RPCError.raise_it(result, type(data))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/errors/rpc_error.py", line 92, in raise_it
    raise getattr(
pyrogram.errors.exceptions.bad_request_400.UsernameNotOccupied: Telegram says: [400 USERNAME_NOT_OCCUPIED] - The username is not occupied by anyone (caused by "contacts.ResolveUsername")

DATE: 2024-10-26 16:48:28.710430

TIME: 16:48:28

USER: 6267674324

USER MENTION: <a href=tg://user?id=6267674324>༒•⪨н є α я т ❤н α ¢ к є я ⪩•༒🚩

USERNAME: @Heart_hack3r_149

FIRST NAME: ༒•⪨н є α я т ❤н α ¢ к є я ⪩•༒🚩

CHAT: -1001406261584

MESSAGE LINK: https://t.me/NrBotsupport/77865

MESSAGE TEXT: `@admin

Instagram wala bot kaam nhi kar rha hai`

MESSAGE ID: 77865

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Oct 27, 2024

Telegram says: [400 USERNAME_NOT_OCCUPIED] - The username is not occupied by anyone (caused by "contacts.ResolveUsername")

Error in afk in reply_to_afk:

Telegram says: [400 USERNAME_NOT_OCCUPIED] - The username is not occupied by anyone (caused by "contacts.ResolveUsername")

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 63, in resolve_peer
    return await self.storage.get_peer_by_id(peer_id)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/storage/sqlite_storage.py", line 176, in get_peer_by_id
    raise KeyError(f"ID not found: {peer_id}")
KeyError: 'ID not found: @admin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 73, in resolve_peer
    int(peer_id)
ValueError: invalid literal for int() with base 10: 'admin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 76, in resolve_peer
    return await self.storage.get_peer_by_username(peer_id)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/storage/sqlite_storage.py", line 194, in get_peer_by_username
    raise KeyError(f"Username not found: {username}")
KeyError: 'Username not found: admin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/afk.py", line 110, in reply_to_afk
    chat = await c.get_users(mention_text)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/users/get_users.py", line 60, in get_users
    user_ids = await asyncio.gather(*[self.resolve_peer(i) for i in user_ids])
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 78, in resolve_peer
    await self.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/invoke.py", line 80, in invoke
    r = await self.session.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 405, in invoke
    return await self.send(query, timeout=timeout)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 362, in send
    RPCError.raise_it(result, type(data))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/errors/rpc_error.py", line 92, in raise_it
    raise getattr(
pyrogram.errors.exceptions.bad_request_400.UsernameNotOccupied: Telegram says: [400 USERNAME_NOT_OCCUPIED] - The username is not occupied by anyone (caused by "contacts.ResolveUsername")

DATE: 2024-10-27 07:32:59.371446

TIME: 07:32:59

USER: 7186632939

USER MENTION: <a href=tg://user?id=7186632939>.

USERNAME: @None

FIRST NAME: .

CHAT: -1001406261584

MESSAGE LINK: https://t.me/NrBotsupport/77929

MESSAGE TEXT: YouTube downloader bot not working @admin

MESSAGE ID: 77929

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Oct 27, 2024

list index out of range

Error in afk in reply_to_afk:

list index out of range

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/afk.py", line 110, in reply_to_afk
    chat = await c.get_users(mention_text)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/users/get_users.py", line 73, in get_users
    return users if is_iterable else users[0]
IndexError: list index out of range

DATE: 2024-10-27 18:01:01.583081

TIME: 18:01:01

USER: 5378543429

USER MENTION: <a href=tg://user?id=5378543429>ㅤㅤSᴜɴɢ Jɪɴ-Wᴏᴏ [𝙉𝙋𝘾 ᴇɴᴇʀɢʏ]

USERNAME: @SungJinWooX

FIRST NAME: ㅤㅤSᴜɴɢ Jɪɴ-Wᴏᴏ [𝙉𝙋𝘾 ᴇɴᴇʀɢʏ]

CHAT: -1001894507694

MESSAGE LINK: https://t.me/c/1894507694/71585

MESSAGE TEXT: @DemonKingOfSalvation

MESSAGE ID: 71585

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Oct 28, 2024

list index out of range

Error in any_mongo in add_db:

list index out of range

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/any_mongo.py", line 24, in add_db
    db = message.text.split(" ")[1]
IndexError: list index out of range

DATE: 2024-10-28 14:02:22.181546

TIME: 14:02:22

USER: 784589736

USER MENTION: <a href=tg://user?id=784589736>@vignesh

USERNAME: @ViGneSh_Leo

FIRST NAME: @ViGneSh

CHAT: 784589736

MESSAGE LINK: https://t.me/c/-1000784589736/11607

MESSAGE TEXT: /adddb

MESSAGE ID: 11607

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Oct 28, 2024

Telegram says: [400 USERNAME_NOT_OCCUPIED] - The username is not occupied by anyone (caused by "contacts.ResolveUsername")

Error in afk in reply_to_afk:

Telegram says: [400 USERNAME_NOT_OCCUPIED] - The username is not occupied by anyone (caused by "contacts.ResolveUsername")

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 63, in resolve_peer
    return await self.storage.get_peer_by_id(peer_id)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/storage/sqlite_storage.py", line 176, in get_peer_by_id
    raise KeyError(f"ID not found: {peer_id}")
KeyError: 'ID not found: @admin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 73, in resolve_peer
    int(peer_id)
ValueError: invalid literal for int() with base 10: 'admin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 76, in resolve_peer
    return await self.storage.get_peer_by_username(peer_id)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/storage/sqlite_storage.py", line 194, in get_peer_by_username
    raise KeyError(f"Username not found: {username}")
KeyError: 'Username not found: admin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/afk.py", line 110, in reply_to_afk
    chat = await c.get_users(mention_text)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/users/get_users.py", line 60, in get_users
    user_ids = await asyncio.gather(*[self.resolve_peer(i) for i in user_ids])
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 78, in resolve_peer
    await self.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/invoke.py", line 80, in invoke
    r = await self.session.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 405, in invoke
    return await self.send(query, timeout=timeout)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 362, in send
    RPCError.raise_it(result, type(data))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/errors/rpc_error.py", line 92, in raise_it
    raise getattr(
pyrogram.errors.exceptions.bad_request_400.UsernameNotOccupied: Telegram says: [400 USERNAME_NOT_OCCUPIED] - The username is not occupied by anyone (caused by "contacts.ResolveUsername")

DATE: 2024-10-28 22:19:10.459046

TIME: 22:19:10

USER: 5465863255

USER MENTION: <a href=tg://user?id=5465863255>Gece kuşu 🦉

USERNAME: @Geceleruzunn

FIRST NAME: Gece kuşu 🦉

CHAT: -1001406261584

MESSAGE LINK: https://t.me/NrBotsupport/78268

MESSAGE TEXT: @admin

MESSAGE ID: 78268

REPLIED TO MESSAGE ID: 78267

REPLIED TO MESSAGE TEXT: Why bot don't work

REPLIED TO MESSAGE USER ID: 5465863255

REPLIED TO MESSAGE USER MENTION: <a href=tg://user?id=5465863255>Gece kuşu 🦉

REPLIED TO MESSAGE USERNAME: @Geceleruzunn

REPLIED TO MESSAGE CHAT ID: -1001406261584

REPLIED TO MESSAGE LINK: https://t.me/NrBotsupport/78267

Copy link

mr-stark-logs bot commented Nov 1, 2024

E11000 duplicate key error collection: STARK.users index: id dup key: { _id: 5878576174 }, full error: {'index': 0, 'code': 11000, 'errmsg': 'E11000 duplicate key error collection: STARK.users index: id dup key: { _id: 5878576174 }', 'keyPattern': {'_id': 1}, 'keyValue': {'_id': 5878576174}}

Error in afk in reply_to_afk:

E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 5878576174 }, full error: {'index': 0, 'code': 11000, 'errmsg': 'E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 5878576174 }', 'keyPattern': {'_id': 1}, 'keyValue': {'_id': 5878576174}}

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 139, in wrapper
    await db.add(client, message)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/db.py", line 29, in add
    DB.users.insert_one({"_id": id_, "username": name})
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/collection.py", line 669, in insert_one
    self._insert_one(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/collection.py", line 609, in _insert_one
    self.__database.client._retryable_write(acknowledged, _insert_command, session)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1523, in _retryable_write
    return self._retry_with_session(retryable, func, s, bulk)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1421, in _retry_with_session
    return self._retry_internal(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/_csot.py", line 107, in csot_wrapper
    return func(self, *args, **kwargs)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1462, in _retry_internal
    ).run()
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 2315, in run
    return self._read() if self._is_read else self._write()
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 2423, in _write
    return self._func(self._session, conn, self._retryable)  # type: ignore
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/collection.py", line 607, in _insert_command
    _check_write_command_response(result)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/helpers.py", line 266, in _check_write_command_response
    _raise_last_write_error(write_errors)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pymongo/helpers.py", line 238, in _raise_last_write_error
    raise DuplicateKeyError(error.get("errmsg"), 11000, error)
pymongo.errors.DuplicateKeyError: E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 5878576174 }, full error: {'index': 0, 'code': 11000, 'errmsg': 'E11000 duplicate key error collection: STARK.users index: _id_ dup key: { _id: 5878576174 }', 'keyPattern': {'_id': 1}, 'keyValue': {'_id': 5878576174}}

DATE: 2024-11-01 16:18:55.762326

TIME: 16:18:55

USER: 5878576174

USER MENTION: <a href=tg://user?id=5878576174>Surendra

USERNAME: @surendra123

FIRST NAME: Surendra

CHAT: -1001406261584

MESSAGE LINK: https://t.me/NrBotsupport/78586

MESSAGE TEXT: None

MESSAGE ID: 78586

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Nov 5, 2024

Telegram says: [400 USERNAME_INVALID] - The username is invalid (caused by "contacts.ResolveUsername")

Error in afk in reply_to_afk:

Telegram says: [400 USERNAME_INVALID] - The username is invalid (caused by "contacts.ResolveUsername")

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 63, in resolve_peer
    return await self.storage.get_peer_by_id(peer_id)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/storage/sqlite_storage.py", line 176, in get_peer_by_id
    raise KeyError(f"ID not found: {peer_id}")
KeyError: 'ID not found: @mipmap'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 73, in resolve_peer
    int(peer_id)
ValueError: invalid literal for int() with base 10: 'mipmap'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 76, in resolve_peer
    return await self.storage.get_peer_by_username(peer_id)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/storage/sqlite_storage.py", line 194, in get_peer_by_username
    raise KeyError(f"Username not found: {username}")
KeyError: 'Username not found: mipmap'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/afk.py", line 110, in reply_to_afk
    chat = await c.get_users(mention_text)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/users/get_users.py", line 60, in get_users
    user_ids = await asyncio.gather(*[self.resolve_peer(i) for i in user_ids])
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 78, in resolve_peer
    await self.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/invoke.py", line 80, in invoke
    r = await self.session.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 405, in invoke
    return await self.send(query, timeout=timeout)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 362, in send
    RPCError.raise_it(result, type(data))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/errors/rpc_error.py", line 92, in raise_it
    raise getattr(
pyrogram.errors.exceptions.bad_request_400.UsernameInvalid: Telegram says: [400 USERNAME_INVALID] - The username is invalid (caused by "contacts.ResolveUsername")

DATE: 2024-11-05 10:37:26.192331

TIME: 10:37:26

USER: 1089528685

USER MENTION: <a href=tg://user?id=1089528685>Satya

USERNAME: @S4tyendra

FIRST NAME: Satya

CHAT: -1001426113453

MESSAGE LINK: https://t.me/c/1426113453/126397

MESSAGE TEXT: `/gpt2 Service:
package in.devh.rail.services

import android.app.*
import android.content.Intent
import android.os.IBinder
import android.util.Log
import cz.mroczis.netmonster.core.BuildConfig
import java.io.BufferedReader
import java.io.File
import java.io.InputStreamReader
import java.text.SimpleDateFormat
import java.util.*

class LogcatService : Service() {
private var logProcess: Process? = null
private var logThread: Thread? = null

override fun onCreate() {
    super.onCreate()
    startLogCapture()
}

private fun startLogCapture() {
    try {
        val timestamp = SimpleDateFormat("yyyy-MM-dd_HH", Locale.US).format(Date())
        val logFile = File(getExternalFilesDir(null), "cellid_logs_$timestamp.txt")

        logProcess = Runtime.getRuntime().exec("logcat -f ${logFile.absolutePath} ${BuildConfig.LIBRARY_PACKAGE_NAME}:V *:S")

        logThread = Thread {
            val reader = BufferedReader(InputStreamReader(logProcess!!.errorStream))
            while (true) {
                reader.readLine() ?: break
            }
        }.apply { start() }

    } catch (e: Exception) {
        Log.e("LogService", "Failed to start logging", e)
    }
}

override fun onDestroy() {
    logProcess?.destroy()
    logThread?.interrupt()
    super.onDestroy()
}

override fun onBind(intent: Intent?): IBinder? = null

}

mainactivity:
class MainActivity : ComponentActivity() {

@RequiresApi(Build.VERSION_CODES.TIRAMISU)
override fun onCreate(savedInstanceState: Bundle?) {
    super.onCreate(savedInstanceState)
    enableEdgeToEdge()
    AppContextProvider.initialize(this)
    LogsData().initializeLogFile()
    val sharedPref: SharedPreferences = getSharedPreferences("rail", MODE_PRIVATE)
    val isFirstLaunch = sharedPref.getBoolean("isFirstLaunch", true)
    startService(Intent(this, LogcatService::class.java))
    setContent {
        RailTheme(dynamicColor = true) {
            TrainApp(isFirstLaunch = isFirstLaunch)
        }
    }
}

}

xml:


<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.NOTIFICATION" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />


<application
    android:allowBackup="true"
    android:dataExtractionRules="@xml/data_extraction_rules"
    android:fullBackupContent="@xml/backup_rules"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:roundIcon="@mipmap/ic_launcher_round"
    android:supportsRtl="true"
    android:theme="@style/Theme.Rail"
    tools:targetApi="tiramisu"
    android:enableOnBackInvokedCallback="true"
    >
    <service
        android:name=".services.CellUpdateService"
        android:foregroundServiceType="dataSync"
        android:exported="false" />
    <service android:name=".services.LogcatService"
        android:foregroundServiceType="dataSync"
        android:exported="false"
        />

now where can i see that log file?`

MESSAGE ID: 126397

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Nov 5, 2024

Error code: 413 - {'error': {'message': 'Request too large for model llama3-70b-8192 in organization org_01hyzp3wg7ehqtw4xed70y8y1x on tokens per minute (TPM): Limit 6000, Requested 6031, please reduce your message size and try again. Visit https://console.groq.com/docs/rate-limits for more information.', 'type': 'tokens', 'code': 'rate_limit_exceeded'}}

Error in ai_tools in generate_response:

Error code: 413 - {'error': {'message': 'Request too large for model llama3-70b-8192in organizationorg_01hyzp3wg7ehqtw4xed70y8y1x on tokens per minute (TPM): Limit 6000, Requested 6031, please reduce your message size and try again. Visit https://console.groq.com/docs/rate-limits for more information.', 'type': 'tokens', 'code': 'rate_limit_exceeded'}}

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/ai_tools.py", line 303, in generate_response
    completion = g_client.chat.completions.create(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/groq/resources/chat/completions.py", line 283, in create
    return self._post(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/groq/_base_client.py", line 1225, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/groq/_base_client.py", line 920, in request
    return self._request(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/groq/_base_client.py", line 1018, in _request
    raise self._make_status_error_from_response(err.response) from None
groq.APIStatusError: Error code: 413 - {'error': {'message': 'Request too large for model `llama3-70b-8192` in organization `org_01hyzp3wg7ehqtw4xed70y8y1x` on tokens per minute (TPM): Limit 6000, Requested 6031, please reduce your message size and try again. Visit https://console.groq.com/docs/rate-limits for more information.', 'type': 'tokens', 'code': 'rate_limit_exceeded'}}

DATE: 2024-11-05 10:52:17.795755

TIME: 10:52:17

USER: 1089528685

USER MENTION: <a href=tg://user?id=1089528685>Satya

USERNAME: @S4tyendra

FIRST NAME: Satya

CHAT: -1001426113453

MESSAGE LINK: https://t.me/c/1426113453/126406

MESSAGE TEXT: `/gpt2 But still there is no logs appending to that file, but anway's i'll remove that service in future.

i creted an app to store cell id's.
i want to test it now. so, i'll go to a small ride.

i'll ping you after ride`

MESSAGE ID: 126406

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Copy link

mr-stark-logs bot commented Nov 7, 2024

Telegram says: [400 USERNAME_INVALID] - The username is invalid (caused by "contacts.ResolveUsername")

Error in afk in reply_to_afk:

Telegram says: [400 USERNAME_INVALID] - The username is invalid (caused by "contacts.ResolveUsername")

Complete Error:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 63, in resolve_peer
    return await self.storage.get_peer_by_id(peer_id)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/storage/sqlite_storage.py", line 176, in get_peer_by_id
    raise KeyError(f"ID not found: {peer_id}")
KeyError: 'ID not found: @2d9d0b7'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 73, in resolve_peer
    int(peer_id)
ValueError: invalid literal for int() with base 10: '2d9d0b7'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 76, in resolve_peer
    return await self.storage.get_peer_by_username(peer_id)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/storage/sqlite_storage.py", line 194, in get_peer_by_username
    raise KeyError(f"Username not found: {username}")
KeyError: 'Username not found: 2d9d0b7'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/__init__.py", line 142, in wrapper
    return await func(client, message, *args, **kwargs)
  File "/home/ubuntu/Mr.Stark/Mr.Stark/Stark/Plugins/afk.py", line 110, in reply_to_afk
    chat = await c.get_users(mention_text)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/users/get_users.py", line 60, in get_users
    user_ids = await asyncio.gather(*[self.resolve_peer(i) for i in user_ids])
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 78, in resolve_peer
    await self.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/methods/advanced/invoke.py", line 80, in invoke
    r = await self.session.invoke(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 405, in invoke
    return await self.send(query, timeout=timeout)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/session/session.py", line 362, in send
    RPCError.raise_it(result, type(data))
  File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/errors/rpc_error.py", line 92, in raise_it
    raise getattr(
pyrogram.errors.exceptions.bad_request_400.UsernameInvalid: Telegram says: [400 USERNAME_INVALID] - The username is invalid (caused by "contacts.ResolveUsername")

DATE: 2024-11-07 07:17:55.634976

TIME: 07:17:55

USER: 1482035509

USER MENTION: <a href=tg://user?id=1482035509>Kabir

USERNAME: @kabirsaifi7055

FIRST NAME: Kabir

CHAT: -1001406261584

MESSAGE LINK: https://t.me/NrBotsupport/79092

MESSAGE TEXT: USER_COMMENT=null ANDROID_VERSION=14 APP_VERSION_NAME=340.0.0.22.109 BRAND=motorola PHONE_MODEL=motorola edge 40 neo CUSTOM_DATA= STACK_TRACE=java.lang.VerifyError: Verifier rejected class X.Vqz: java.lang.Object X.Vqz.invoke() failed to verify: java.lang.Object X.Vqz.invoke(): [0x33C] register v41 has type Precise Reference: X.KcJ but expected Boolean (declaration of 'X.Vqz' appears in /data/app/~~l9UQ59jy9HBigJMvD5A5qA==/com.myinsta.android-w9KnneJSFan1jQuqibpsfw==/base.apk!classes11.dex) at X.COG.<clinit>(Unknown Source:0) at X.CvR.invoke(Unknown Source:0) at X.0or.getValue(Unknown Source:18) at X.JJt.invokeSuspend(Unknown Source:755) at X.QHp.resumeWith(Unknown Source:8) at X.U2T.run(Unknown Source:91) at X.U26.A0U(Unknown Source:13) at X.3bF.A03(Unknown Source:102) at X.3bF.A04(Unknown Source:32) at X.3bF.resumeWith(Unknown Source:15) at X.04F.Eys(Unknown Source:27) at X.01u.A0I(Unknown Source:43) at X.0P4.A0D(Unknown Source:74) at X.02H.collect(Unknown Source:108) at X.04T.collect(Unknown Source:2) at X.JKL.invokeSuspend(Unknown Source:3591) at X.JKL.invoke(Unknown Source:8) at X.JJs.invokeSuspend(Unknown Source:1333) at X.JJs.invoke(Unknown Source:10) at X.1dw.A00(Unknown Source:13) at X.JJX.A00(Unknown Source:9) at X.8cZ.invokeSuspend(Unknown Source:1523) at X.QHp.resumeWith(Unknown Source:8) at X.U2T.run(Unknown Source:91) at X.GBy.A00(Unknown Source:14) at X.GCG.run(Unknown Source:2) at android.os.Handler.handleCallback(Handler.java:1000) at android.os.Handler.dispatchMessage(Handler.java:104) at android.os.Looper.loopOnce(Looper.java:242) at android.os.Looper.loop(Looper.java:362) at android.app.ActivityThread.main(ActivityThread.java:8448) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:992) Suppressed: X.TfU: [U2J{Cancelling}@2d9d0b7, Dispatchers.Main.immediate]

MESSAGE ID: 79092

REPLIED TO MESSAGE ID: None

REPLIED TO MESSAGE TEXT: None

REPLIED TO MESSAGE USER ID: None

REPLIED TO MESSAGE USER MENTION: None

REPLIED TO MESSAGE USERNAME: @None

REPLIED TO MESSAGE CHAT ID: None

REPLIED TO MESSAGE LINK: None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants