Git Product home page Git Product logo

ultroid's People

Contributors

1danish-00 avatar achu2234 avatar aleks-ivanov avatar anekashastrahasta avatar arnabxd avatar ashutosh1478 avatar atul-kumar-jena avatar aviskumar avatar blackxin avatar buddhhu avatar dev-yoko avatar grm34 avatar iakashpattnaik avatar igorzbr avatar mmetma avatar mrismanaziz avatar new-dev0 avatar nmayorga092 avatar pranav-saraswat avatar ryoishin avatar sh4nd avatar shado-hackers avatar smartmanru avatar sppidy avatar techierror avatar theshubhendra avatar xditya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ultroid's Issues

🚨 Potential Improper Access Control

👋 Hello, @1Danish-00, @buddhhu, @xditya - a potential high severity Improper Access Control vulnerability in your repository has been disclosed to us.

Next Steps

1️⃣ Visit https://huntr.dev/bounties/1-other-TeamUltroid/Ultroid for more advisory information.

2️⃣ Sign-up to validate or speak to the researcher for more assistance.

3️⃣ Propose a patch or outsource it to our community - whoever fixes it gets paid.


Confused or need more help?

  • Join us on our Discord and a member of our team will be happy to help! 🤗

  • Speak to a member of our team: @JamieSlome


This issue was automatically generated by huntr.dev - a bug bounty board for securing open source code.

[BUG REPORT]

Contact Details

sobhancu

What happened?

A bug happened!
When the edit takes is turned on and you're a sudo of someone's userbot and they set a handler for sudo users, you send a message and then edit it to a command, but the command is written with the handler of their userbot (the main handler, not sudo handler), and the userbot will take it as the command and run it!

Version

0.7

Hosted On

Vps

Relevant logs output

No log,

Acknowledgement

  • I have followed all of the above steps.

[BUG REPORT] Cannot cast NoneType to any kind of Peer.

Contact Details

@Shad0wReal

What happened?

A bug happened!
When i do .help and click on Plugin/some other buttons
it gives me back an error. See below 👍
awfawf

Version

0.7

Hosted On

Vps

Relevant logs output

pyUltLogs [ERROR] : Cannot cast NoneType to any kind of Peer.
Traceback (most recent call last):
  File "/home/Ultroid/pyUltroid/_misc/_assistant.py", line 77, in wrapper
    await func(event)
  File "/home/Ultroid/plugins/_inline.py", line 175, in help_func
    await ult.edit(text, buttons=page_num(count, key), link_preview=False)
  File "/home/Ultroid/venv/lib/python3.8/site-packages/telethon/events/callbackquery.py", line 341, in edit
    return await self._client.edit_message(
  File "/home/Ultroid/venv/lib/python3.8/site-packages/telethon/client/messages.py", line 1227, in edit_message
    entity = await self.get_input_entity(entity)
  File "/home/Ultroid/venv/lib/python3.8/site-packages/telethon/client/users.py", line 470, in get_input_entity
    peer = utils.get_peer(peer)
  File "/home/Ultroid/venv/lib/python3.8/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/home/Ultroid/venv/lib/python3.8/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast NoneType to any kind of Peer.

Acknowledgement

  • I have followed all of the above steps.

[Local] pyUltroid/configs: import error

pyUltroid/configs.py
line10: from decouple import config

ImportError: cannot import config from decouple

Info:
I am trying to deploy locally!
I have installed all python dependencies!
I manually installed decouple module!

[BUG REPORT]

Contact Details

[email protected]

What happened?

OSError: [Errno 28] No space left on device

The assistant bot and the "My Ultroid Logs" group was created and the Assistant bot was added to the group.
Then this error occurred during deployment
deployed using railway.app

Version

0.1

Relevant logs output

09/14/2021, 20:32:11 || pyUltLog [INFO] - 
                -----------------------------------
                        Starting Deployment
                -----------------------------------

09/14/2021, 20:32:11 || pyUltLog [INFO] - py-Ultroid Version - 2021.9.13
09/14/2021, 20:32:11 || pyUltLog [INFO] - Telethon Version - 1.23.0
09/14/2021, 20:32:11 || pyUltLog [INFO] - Ultroid Version - 0.1
09/14/2021, 20:32:11 || pyUltLog [INFO] - Getting Connection With Redis Database
09/14/2021, 20:32:16 || pyUltLog [INFO] - Succesfully Established Connection With Redis DataBase.
09/14/2021, 20:32:18 || telethon.network.mtprotosender [INFO] - Connecting to 91.108.56.194:443/TcpFull...
09/14/2021, 20:32:18 || telethon.network.mtprotosender [INFO] - Connection to 91.108.56.194:443/TcpFull complete!
09/14/2021, 20:32:19 || pyUltLog [INFO] - MAKING A TELEGRAM BOT FOR YOU AT @BotFather, Kindly Wait
09/14/2021, 20:32:30 || pyUltLog [INFO] - DONE YOUR TELEGRAM BOT IS CREATED SUCCESSFULLY @kovinda_thisal_bot
09/14/2021, 20:32:30 || pyUltLog [INFO] - Initialising...
09/14/2021, 20:32:30 || pyUltLog [INFO] - Starting Ultroid...
09/14/2021, 20:32:30 || telethon.network.mtprotosender [INFO] - Connecting to 149.154.167.51:443/TcpFull...
09/14/2021, 20:32:32 || telethon.network.mtprotosender [INFO] - Connection to 149.154.167.51:443/TcpFull complete!
09/14/2021, 20:32:33 || telethon.client.users [INFO] - Phone migrated to 5
09/14/2021, 20:32:33 || telethon.client.telegrambaseclient [INFO] - Reconnecting to new data center 5
09/14/2021, 20:32:33 || telethon.network.mtprotosender [INFO] - Disconnecting from 149.154.167.51:443/TcpFull...
09/14/2021, 20:32:33 || telethon.network.mtprotosender [INFO] - Disconnection from 149.154.167.51:443/TcpFull complete!
09/14/2021, 20:32:33 || telethon.network.mtprotosender [INFO] - Connecting to 91.108.56.181:443/TcpFull...
09/14/2021, 20:32:35 || telethon.network.mtprotosender [INFO] - Connection to 91.108.56.181:443/TcpFull complete!
09/14/2021, 20:32:36 || pyUltLog [INFO] - Done, startup completed
09/14/2021, 20:32:36 || pyUltLog [INFO] - Assistant - Started
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.9/site-packages/pyUltroid/__main__.py", line 88, in <module>
    ultroid_bot.loop.run_until_complete(autopilot())
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.9/site-packages/pyUltroid/startup/funcs.py", line 195, in autopilot
    urllib.request.urlretrieve(
  File "/usr/local/lib/python3.9/urllib/request.py", line 272, in urlretrieve
    tfp.write(block)
OSError: [Errno 28] No space left on device

Acknowledgement

  • I have followed all of the above steps.

reverse command find right sauce but after that will show error

Contact Details

No response

What happened?

if i use .reverse command when sauce found its will throw a error

IMG_20230113_190747

but sauce still can find on deleted message but for me this is annoying

Screenshot_20230113-190008_Nekogram

Version

0.7

Hosted On

Vps

Relevant logs output

--------START ULTROID CRASH LOG--------
Date: 2023-01-13 10:59:42
Group: -1001836609557 My Ultroid Logs
Sender ID: 5366797695
Replied: True

Event Trigger:
.reverse

Traceback info:
Traceback (most recent call last):
  File "/root/workflows/private/userbot/Ultroid/pyUltroid/_misc/_decorators.py", line 113, in wrapp
    await dec(ult)
  File "/root/workflows/private/userbot/Ultroid/plugins/search.py", line 178, in reverse
    pth = await gi.download(args)
  File "/root/workflows/private/userbot/Ultroid/pyUltroid/fns/google_image.py", line 969, in download
    paths, errors = await self.download_executor(arguments)
  File "/root/workflows/private/userbot/Ultroid/pyUltroid/fns/google_image.py", line 1117, in download_executor
    items, errorCount, abs_path = self._get_all_items(
  File "/root/workflows/private/userbot/Ultroid/pyUltroid/fns/google_image.py", line 868, in _get_all_items
    image_objects = self._get_image_objects(page)
  File "/root/workflows/private/userbot/Ultroid/pyUltroid/fns/google_image.py", line 859, in _get_image_objects
    return json.loads(object_decode[:-15])[31][0][12][2]
TypeError: 'NoneType' object is not subscriptable


Error text:
'NoneType' object is not subscriptable

--------END ULTROID CRASH LOG--------


Last 5 commits:
Aditya: feat: fix up session gen
Devesh Pal: chore: fix chatbot and other minor issues.
Aditya: chore: update sessiongen to work with pyrogram 2.0
Aditya: chore: remove dead clone link from termux installer
CyrusXD: Merge pull request #380 from e3ris/patch-3

Acknowledgement

  • I have followed all of the above steps.

TypeError: Cannot cast NoneType to any kind of Peer

Contact Details

No response

What happened?

Happens when I send /start to my assistant bot

Version

0.3

Hosted On

Vps

Relevant logs output

Traceback (most recent call last):
0|Ultroid  |   File "/home/ubuntu/.local/lib/python3.8/site-packages/pyUltroid/_misc/_assistant.py", line 72, in wrapper
0|Ultroid  |     await func(event)
0|Ultroid  |   File "/home/ubuntu/Ultroid/plugins/_inline.py", line 167, in help_func
0|Ultroid  |     await ult.edit(
0|Ultroid  |   File "/home/ubuntu/.local/lib/python3.8/site-packages/telethon/events/callbackquery.py", line 332, in edit
0|Ultroid  |     return await self._client.edit_message(
0|Ultroid  |   File "/home/ubuntu/.local/lib/python3.8/site-packages/telethon/client/messages.py", line 1217, in edit_message
0|Ultroid  |     entity = await self.get_input_entity(entity)
0|Ultroid  |   File "/home/ubuntu/.local/lib/python3.8/site-packages/telethon/client/users.py", line 468, in get_input_entity
0|Ultroid  |     peer = utils.get_peer(peer)
0|Ultroid  |   File "/home/ubuntu/.local/lib/python3.8/site-packages/telethon/utils.py", line 1035, in get_peer
0|Ultroid  |     _raise_cast_fail(peer, "Peer")
0|Ultroid  |   File "/home/ubuntu/.local/lib/python3.8/site-packages/telethon/utils.py", line 134, in _raise_cast_fail
0|Ultroid  |     raise TypeError(
0|Ultroid  | TypeError: Cannot cast NoneType to any kind of Peer.

Acknowledgement

  • I have followed all of the above steps.

[Suggestion] Add warning on the readme

Contact Details

@sawada

What happened?

Add some warning cause users come around asking if the bot is safe/unsafe, what can happen on use and abuse of a bot.
This type of stuff should at least be linked on top the readme somewhere in visibility

Thanks.

PS: Please also add a "suggestions" section on the issues section

Version

0.0.8 (or later)

Relevant logs output

N/A

Acknowledgement

  • I have followed all of the above steps.

[BUG REPORT]

Contact Details

No response

What happened?

Add pyUltroid.dB.database in requirements.txt..
because railway don`t have this module occure each time of updation..
hope you try this..

Logs Here:-

Version

0.0.8 (or later)

Relevant logs output

10/13/2021, 15:33:51 || pyUltLogs [INFO] : • Installing Official's Plugins || Count : 85 •
10/13/2021, 15:33:59 || apscheduler.scheduler [INFO] : Adding job tentatively -- it will be properly scheduled when the scheduler starts
10/13/2021, 15:33:59 || apscheduler.scheduler [INFO] : Adding job tentatively -- it will be properly scheduled when the scheduler starts
10/13/2021, 15:33:59 || apscheduler.scheduler [INFO] : Added job "close_grp" to job store "default"
10/13/2021, 15:33:59 || apscheduler.scheduler [INFO] : Added job "open_grp" to job store "default"
10/13/2021, 15:33:59 || apscheduler.scheduler [INFO] : Scheduler started
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
WARNING: You are using pip version 21.2.4; however, version 21.3 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
10/13/2021, 15:34:08 || pyUltLogs [INFO] : • Installing Addons's Plugins || Count : 44 •
10/13/2021, 15:34:11 || pyUltLogs [INFO] : • Installing VCBot's Plugins || Count : 10 •
10/13/2021, 15:34:22 || pyUltLogs [INFO] : • Loading Plugins from Plugin Channel(s) •
10/13/2021, 15:34:22 || pyUltLogs [INFO] : •••• -480816525
10/13/2021, 15:34:29 || pyUltLogs [INFO] : Cmd('git') failed due to: exit code(128)
  cmdline: git remote add upstream https://github.com/TeamUltroid/Ultroid
  stderr: 'fatal: remote upstream already exists.'
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.9/site-packages/pyUltroid/__main__.py", line 68, in <module>
    cleanup_cache()
  File "/usr/local/lib/python3.9/site-packages/safety/tools/__init__.py", line 26, in cleanup_cache
    from pyUltroid.dB.database import Var
ModuleNotFoundError: No module named 'pyUltroid.dB.database'

Acknowledgement

  • I have followed all of the above steps.

Remove Railway Button

Contact Details

No response

What happened?

The Ultroid project breaks Railway's ToS

We've had this discussion before and sadly nothing has been changed

Please remove it

Version

0.3

Hosted On

Railway

Relevant logs output

No response

Acknowledgement

  • I have followed all of the above steps.

[ Feature Request ] Add option to only forward new media files

Currently as far as I know there is only one way of forwarding stuff from another channel to your channel

.shift t.me/sourcechannel | t.me/destchannel

Current behavior :-
What this does is forward all msgs from that source channel to destination channel starting from beginning

Expected Change :-
Provide an option to only forward media and files
Provide an option to forward from a particular msg ,not from the beginning each time

Benefit:-
Will help to archive and organize backups of important channels for not users without hitting the forward limit each time and Telegram rate limiting message sending

HEROKU ISSUE

Contact Details

No response

What happened?

A bug happened!

Screenshot from 2024-03-31 14-33-23

Thank you,

Version

0.7

Hosted On

Heroku

Relevant logs output

No response

Acknowledgement

  • I have followed all of the above steps.

v0.3 is not deploying

Contact Details

@prophesur

What happened?

v0.3 not deploying

Version

0.3

Hosted On

Vps

Relevant logs output

12/31/2021, 18:56:34 || pyUltLogs [INFO] :
                -----------------------------------
                        Starting Deployment
                -----------------------------------

12/31/2021, 18:56:34 || pyUltLogs [INFO] : Python version - 3.9.7
12/31/2021, 18:56:34 || pyUltLogs [INFO] : py-Ultroid Version - 2022.01.01
12/31/2021, 18:56:34 || pyUltLogs [INFO] : Telethon Version - 1.25.0
12/31/2021, 18:56:34 || pyUltLogs [INFO] : Ultroid Version - 0.3
Traceback (most recent call last):
  File "/usr/lib/python3.9/runpy.py", line 188, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/lib/python3.9/runpy.py", line 147, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/usr/lib/python3.9/runpy.py", line 111, in _get_module_details
    __import__(pkg_name)
  File "/home/ubuntu/Ultroid/venv/lib/python3.9/site-packages/pyUltroid/__init__.py", line 15, in <module>
    from .startup.funcs import _version_changes, autobot
  File "/home/ubuntu/Ultroid/venv/lib/python3.9/site-packages/pyUltroid/startup/funcs.py", line 43, in <module>
    from ..functions.helper import download_file, updater
  File "/home/ubuntu/Ultroid/venv/lib/python3.9/site-packages/pyUltroid/functions/helper.py", line 17, in <module>
    from safety.tools import sys_exit
ImportError: cannot import name 'sys_exit' from 'safety.tools' (/home/ubuntu/Ultroid/venv/lib/python3.9/site-packages/safety/tools/__init__.py)

Acknowledgement

  • I have followed all of the above steps.

instagram [BUG REPORT]

Contact Details

@its_kayden

What happened?

A bug happened! instagram plugin is not working :
it just shows error or sometimes it doesnt reply anything and becomes un-responsive

Version

0.7

Hosted On

Vps

Relevant logs output

'int' object has no attribute 'encode'

Acknowledgement

  • I have followed all of the above steps.

[BUG REPORT]

Contact Details

@UltroidASupport

What happened?

What happened Grup Ultroid banned ?

see

Screenshot_2022-07-03_002138

Version

0.1

Hosted On

Other

Relevant logs output

No response

Acknowledgement

  • I have followed all of the above steps.

[ERROR REPORT]

Contact Details

@loyaltyoveroyalty

What happened?

When I tried to deploy the app after forking the repository

I got error saying app.json file is missing

PLZZ See to this issue

Contact me if you need to tell me privately anything
@loyaltyoveroyalty on telegram

Version

0.3

Hosted On

Heroku

Relevant logs output

No response

Acknowledgement

  • I have followed all of the above steps.

[BUG REPORT] Error while running

Contact Details

No response

What happened?

A bug happened!

Version

0.0.8 (or later)

Relevant logs output

_    _ _ _             _     _
 | |  | | | |           (_)   | |
 | |  | | | |_ _ __ ___  _  __| |
 | |  | | | __| '__/ _ \| |/ _  |
 | |__| | | |_| | | (_) | | (_| |
  \____/|_|\__|_|  \___/|_|\__,_|


Starting Ultroid...
This Package is Reserved By TeamUltroid..
11/25/2021, 12:26:42 || pyUltLogs [INFO] :
                -----------------------------------                                                             Starting Deployment
                -----------------------------------

11/25/2021, 12:26:42 || pyUltLogs [INFO] : py-Ultroid Version - 2021.10.11.1
11/25/2021, 12:26:42 || pyUltLogs [INFO] : Telethon Version - 1.23.0                    11/25/2021, 12:26:42 || pyUltLogs [INFO] : Ultroid Version - 0.2.1                      Traceback (most recent call last):                                                        File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main                      "__main__", mod_spec)                                                                 File "/usr/lib/python3.7/runpy.py", line 85, in _run_code                                 exec(code, run_globals)                                                               File "/usr/local/lib/python3.7/dist-packages/pyUltroid/__main__.py", line 14, in <module>
    from .startup.funcs import autopilot, customize, plug, ready, startup_stuff
  File "/usr/local/lib/python3.7/dist-packages/pyUltroid/startup/funcs.py", line 43
    if CT := udB.get("CUSTOM_THUMBNAIL"):
           ^
SyntaxError: invalid syntax

Acknowledgement

  • I have followed all of the above steps.

[BUG REPORT]

Contact Details

[email protected]

What happened?

Its not a bug its a simple feature request

can you add this to docker-compose.yml
container_name: ultroid

its easier to manager container that way using names

Version

0.7

Hosted On

Other

Relevant logs output

NO error

Acknowledgement

  • I have followed all of the above steps.

[BUG REPORT] Bugs During Local Deploy

Contact Details

@Julie_Kane

What happened?

I Got few bugs when locally deploying ultroid... here have a look...

https://spaceb.in/api/v1/documents/QBpqlVWP/raw

Please Help me fix those

Version

0.5

Hosted On

Vps

Relevant logs output

08/27/2023, 10:10:17 | pyUltLogs [INFO] : 
                    -----------------------------------
                            Starting Deployment
                    -----------------------------------
    
08/27/2023, 10:10:17 | pyUltLogs [INFO] : Python version - 3.11.4
08/27/2023, 10:10:17 | pyUltLogs [INFO] : py-Ultroid Version - 2023.02.20
08/27/2023, 10:10:17 | pyUltLogs [INFO] : Telethon Version - 1.25.1 [Layer: 151]
08/27/2023, 10:10:17 | pyUltLogs [INFO] : Ultroid Version - 0.8 [local]
08/27/2023, 10:10:34 | pyUltLogs [INFO] : Connecting to Redis...
08/27/2023, 10:10:34 | pyUltLogs [INFO] : Connected to Redis Successfully!
08/27/2023, 10:10:36 | pyUltLogs [INFO] : Trying to login.
08/27/2023, 10:10:36 | pyUltLogs [INFO] : Trying to login.
08/27/2023, 10:10:38 | Telethon.client.users [INFO] : Phone migrated to 5
08/27/2023, 10:10:38 | Telethon.client.telegrambaseclient [INFO] : Reconnecting to new data center 5
08/27/2023, 10:10:41 | pyUltLogs [INFO] : Logged in as @Julie_Kane_bot
08/27/2023, 10:10:41 | pyUltLogs [INFO] : Starting up VcClient.
08/27/2023, 10:10:42 | pyUltLogs [CRITICAL] : String session expired.
08/27/2023, 10:10:42 | pyUltLogs [INFO] : While creating Client for VC.
08/27/2023, 10:10:42 | pyUltLogs [ERROR] : 'NoneType' object has no attribute 'bot'
Traceback (most recent call last):
  File "E:\Python\WPy64-31140\scripts\pyUltroid\startup\connections.py", line 83, in vc_connection
    return UltroidClient(
           ^^^^^^^^^^^^^^
  File "E:\Python\WPy64-31140\scripts\pyUltroid\startup\BaseClient.py", line 50, in __init__
    self.run_in_loop(self.start_client(bot_token=bot_token))
  File "E:\Python\WPy64-31140\scripts\pyUltroid\startup\BaseClient.py", line 222, in run_in_loop
    return self.loop.run_until_complete(function)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\Python\WPy64-31140\python-3.11.4.amd64\Lib\asyncio\base_events.py", line 653, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "E:\Python\WPy64-31140\scripts\pyUltroid\startup\BaseClient.py", line 88, in start_client
    if self.me.bot:
       ^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'bot'
08/27/2023, 10:10:47 | pyUltLogs [INFO] : Initialising...
08/27/2023, 10:10:49 | pyUltLogs [INFO] : • Installing Official Plugins || Count : 79 •
08/27/2023, 10:10:59 | apscheduler.scheduler [INFO] : Adding job tentatively -- it will be properly scheduled when the scheduler starts
08/27/2023, 10:10:59 | apscheduler.scheduler [INFO] : Adding job tentatively -- it will be properly scheduled when the scheduler starts
08/27/2023, 10:10:59 | apscheduler.scheduler [INFO] : Added job "close_grp" to job store "default"
08/27/2023, 10:10:59 | apscheduler.scheduler [INFO] : Added job "open_grp" to job store "default"
08/27/2023, 10:10:59 | apscheduler.scheduler [INFO] : Scheduler started
08/27/2023, 10:11:06 | pyUltLogs [ERROR] : 'akinator' not installed.
08/27/2023, 10:11:07 | pyUltLogs [ERROR] : 'pytgcalls' not installed!
Skipping loading of VCBOT.
08/27/2023, 10:11:07 | pyUltLogs [INFO] : • Loading Plugins from Plugin Channel(s) •
08/27/2023, 10:11:07 | pyUltLogs [INFO] : •••• @ultroidplugins
08/27/2023, 10:11:08 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:09 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:09 | Telethon.client.downloads [INFO] : File lives in another DC
08/27/2023, 10:11:10 | Telethon.client.telegrambaseclient [INFO] : Exporting auth for new borrowed sender in DcOption(id=2, ip_address='149.154.167.41', port=443, ipv6=False, media_only=False, tcpo_only=False, cdn=False, static=False, this_port_only=False, secret=None)
08/27/2023, 10:11:11 | pyUltLogs [INFO] : Ultroid - PLUGIN_CHANNEL - ERROR - addons\holi.py
08/27/2023, 10:11:11 | pyUltLogs [ERROR] : No module named 'pyUltroid.functions.google_image'
Traceback (most recent call last):
  File "E:\Python\WPy64-31140\scripts\pyUltroid\startup\funcs.py", line 425, in plug
    load_addons(plugin)
  File "E:\Python\WPy64-31140\scripts\pyUltroid\startup\utils.py", line 86, in load_addons
    spec.loader.exec_module(mod)
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "E:\Python\WPy64-31140\scripts\addons\holi.py", line 15, in <module>
    from pyUltroid.functions.google_image import googleimagesdownload
ModuleNotFoundError: No module named 'pyUltroid.functions.google_image'
08/27/2023, 10:11:12 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:12 | Telethon.client.downloads [INFO] : File lives in another DC
08/27/2023, 10:11:14 | Telethon.client.telegrambaseclient [INFO] : Exporting auth for new borrowed sender in DcOption(id=1, ip_address='149.154.175.59', port=443, ipv6=False, media_only=False, tcpo_only=False, cdn=False, static=False, this_port_only=False, secret=None)
08/27/2023, 10:11:15 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:16 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:17 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:18 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:18 | Telethon.client.downloads [INFO] : File lives in another DC
08/27/2023, 10:11:21 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:22 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:23 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:24 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:25 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:26 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:26 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:26 | Telethon.client.downloads [INFO] : File lives in another DC
08/27/2023, 10:11:27 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:28 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:29 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:30 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:30 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:31 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:32 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:32 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:33 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:34 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:35 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:35 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:36 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:37 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:38 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:38 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:38 | Telethon.client.downloads [INFO] : File lives in another DC
08/27/2023, 10:11:39 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:39 | Telethon.client.downloads [INFO] : File lives in another DC
08/27/2023, 10:11:40 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:41 | Telethon.client.downloads [INFO] : File lives in another DC
08/27/2023, 10:11:41 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:42 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:43 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:44 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:44 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:45 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:46 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:47 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:47 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:48 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:49 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:49 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:50 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:51 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:51 | Telethon.client.downloads [INFO] : File lives in another DC
08/27/2023, 10:11:52 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:53 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:54 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:54 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:55 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:56 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:56 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:57 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:58 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:59 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:11:59 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:00 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:01 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:01 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:02 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:03 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:04 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:04 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:05 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:06 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:07 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:08 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:08 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:09 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:10 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:11 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:12 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:13 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:13 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:14 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:15 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:16 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:17 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:17 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:18 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:19 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:20 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:22 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:22 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:23 | Telethon.client.downloads [INFO] : Starting direct file download in chunks of 131072 at 0, stride 131072
08/27/2023, 10:12:24 | pyUltLogs [ERROR] : list index out of range
Traceback (most recent call last):
  File "E:\Python\WPy64-31140\scripts\pyUltroid\fns\helper.py", line 279, in updater
    off_repo = Repo().remotes[0].config_reader.get("url").replace(".git", "")
               ~~~~~~~~~~~~~~^^^
  File "E:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\git\util.py", line 1090, in __getitem__
    return list.__getitem__(self, index)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: list index out of range
08/27/2023, 10:12:25 | pyUltLogs [ERROR] : Cannot connect to host ultroid-api.vercel.app:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1002)')]
Traceback (most recent call last):
  File "E:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\aiohttp\connector.py", line 980, in _wrap_create_connection
    return await self._loop.create_connection(*args, **kwargs)  # type: ignore[return-value]  # noqa
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\Python\WPy64-31140\python-3.11.4.amd64\Lib\asyncio\base_events.py", line 1112, in create_connection
    transport, protocol = await self._create_connection_transport(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\Python\WPy64-31140\python-3.11.4.amd64\Lib\asyncio\base_events.py", line 1145, in _create_connection_transport
    await waiter
  File "E:\Python\WPy64-31140\python-3.11.4.amd64\Lib\asyncio\sslproto.py", line 575, in _on_handshake_complete
    raise handshake_exc
  File "E:\Python\WPy64-31140\python-3.11.4.amd64\Lib\asyncio\sslproto.py", line 557, in _do_handshake
    self._sslobj.do_handshake()
  File "E:\Python\WPy64-31140\python-3.11.4.amd64\Lib\ssl.py", line 979, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1002)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "E:\Python\WPy64-31140\scripts\pyUltroid\startup\funcs.py", line 445, in fetch_ann
    updts = await async_searcher(
            ^^^^^^^^^^^^^^^^^^^^^
  File "E:\Python\WPy64-31140\scripts\pyUltroid\fns\helper.py", line 369, in async_searcher
    data = await method(url, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\aiohttp\client.py", line 536, in _request
    conn = await self._connector.connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\aiohttp\connector.py", line 540, in connect
    proto = await self._create_connection(req, traces, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\aiohttp\connector.py", line 901, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\aiohttp\connector.py", line 1206, in _create_direct_connection
    raise last_exc
  File "E:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\aiohttp\connector.py", line 1175, in _create_direct_connection
    transp, proto = await self._wrap_create_connection(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\Python\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\aiohttp\connector.py", line 982, in _wrap_create_connection
    raise ClientConnectorCertificateError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host ultroid-api.vercel.app:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1002)')]
08/27/2023, 10:12:25 | apscheduler.scheduler [INFO] : Adding job tentatively -- it will be properly scheduled when the scheduler starts
08/27/2023, 10:12:25 | apscheduler.scheduler [INFO] : Added job "fetch_ann" to job store "default"
08/27/2023, 10:12:25 | apscheduler.scheduler [INFO] : Scheduler started
08/27/2023, 10:12:25 | pyUltLogs [INFO] : Took 2m:6s to start •ULTROID•
08/27/2023, 10:12:25 | pyUltLogs [INFO] : 
            ----------------------------------------------------------------------
                Ultroid has been deployed! Visit @TheUltroid for updates!!
            ----------------------------------------------------------------------
    
08/27/2023, 10:12:28 | Telethon.client.uploads [INFO] : Uploading file of 21105 bytes in 1 chunks of 131072

Acknowledgement

  • I have followed all of the above steps.

[BUG REPORT]

Contact Details

@Dead_insude_m17

What happened?

A bug happened!...it wants username when i am trying to clone

Version

0.5

Hosted On

Vps

Relevant logs output

No response

Acknowledgement

  • I have followed all of the above steps.

[BUG REPORT]

Contact Details

[email protected]

What happened?

Try to deploy it on vps,but when i run it it will throw 2 error.
[error1] string/string/en.yml report that special symbol is not supported
[error2] the negative number group ID become positive in logs and report error

Version

0.7

Hosted On

Vps

Relevant logs output

Telethon.network.mtprotosender [ERROR] : Request caused struct.error: required argument is not an integer: GetFullChatRequest(chat_id=InputPeerChat(chat_id=!!!this one become positive instead of negative!!))
12/12/2023, 17:59:13 | pyUltLogs [ERROR] : required argument is not an integer
Traceback (most recent call last):
  File "/root/Ultroid/pyUltroid/startup/funcs.py", line 273, in autopilot
    await ultroid_bot.get_permissions(int(channel), asst.me.username)
  File "/usr/local/lib/python3.8/dist-packages/telethon/client/chats.py", line 1365, in get_permissions
    chat = await self(functions.messages.GetFullChatRequest(entity))
  File "/usr/local/lib/python3.8/dist-packages/telethon/client/users.py", line 32, in __call__
    return await self._call(self._sender, request, ordered=ordered)
  File "/usr/local/lib/python3.8/dist-packages/telethon/client/users.py", line 71, in _call
    future = sender.send(request, ordered=ordered)
  File "/usr/local/lib/python3.8/dist-packages/telethon/network/mtprotosender.py", line 202, in send
    state = RequestState(request)
  File "/usr/local/lib/python3.8/dist-packages/telethon/network/requeststate.py", line 18, in __init__
    self.data = bytes(request)
  File "/usr/local/lib/python3.8/dist-packages/telethon/tl/tlobject.py", line 190, in __bytes__
    return self._bytes()
  File "/usr/local/lib/python3.8/dist-packages/telethon/tl/functions/messages.py", line 2410, in _bytes
    struct.pack('<q', self.chat_id),
struct.error: required argument is not an integer



symbols like 😂 be reported not supported.

Acknowledgement

  • I have followed all of the above steps.

BUG REPORT

Contact Details

@jefersonbp2801

What happened?

VCBOT not working

Version

0.3

Hosted On

Vps

Relevant logs output

08/08/2022, 15:25:49 | pyUltLogs [ERROR] : pyUltroid - VCBot - ERROR - vcbot.ytplaylist
08/08/2022, 15:25:49 | pyUltLogs [ERROR] : cannot import name 'GroupCallFactory' from 'pytgcalls' (/home/thekillpro/.local/lib/python3.8/site-packages/pytgcalls/__init__.py)
Traceback (most recent call last):
  File "/home/thekillpro/.local/lib/python3.8/site-packages/pyUltroid/loader.py", line 53, in load
    modl = func(plugin)
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 848, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/thekillpro/jhomar/Ultroid/vcbot/__init__.py", line 26, in <module>
    from pytgcalls import GroupCallFactory
ImportError: cannot import name 'GroupCallFactory' from 'pytgcalls' (/home/thekillpro/.local/lib/python3.8/site-packages/pytgcalls/__init__.py)

Acknowledgement

  • I have followed all of the above steps.

[BUG REPORT] Refused to start

Contact Details

@velosofyy

What happened?

Ultroid refused to start
Hosted on a docker container using Dockerfile

I already make sure that I fill the .env properly

Version

0.7

Hosted On

Vps

Relevant logs output

┏┳┓╋┏┓╋╋╋╋┏┓┏┓
            ┃┃┣┓┃┗┳┳┳━╋╋┛┃
            ┃┃┃┗┫┏┫┏┫╋┃┃╋┃
            ┗━┻━┻━┻┛┗━┻┻━┛

      Visit @TheUltroid for updates!!


11/29/2022, 21:11:32 | pyUltLogs [INFO] :
                    -----------------------------------
                            Starting Deployment
                    -----------------------------------

11/29/2022, 21:11:32 | pyUltLogs [INFO] : Python version - 3.10.2
11/29/2022, 21:11:32 | pyUltLogs [INFO] : py-Ultroid Version - 2022.08.30
11/29/2022, 21:11:32 | pyUltLogs [INFO] : Telethon Version - 1.25.1 [Layer: 146]
11/29/2022, 21:11:32 | pyUltLogs [INFO] : Ultroid Version - 0.7.1 [github actions]
11/29/2022, 21:11:32 | pyUltLogs [INFO] : Using local file as database.
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
11/29/2022, 21:11:39 | pyUltLogs [CRITICAL] : No DB requirement fullfilled!
Please install redis, mongo or sql dependencies...
Till then using local file as database.

Acknowledgement

  • I have followed all of the above steps.

[BUG REPORT]:

Contact Details

@malinruwan

What happened?

A bug happened!Traceback (most recent call last):

File "/usr/local/lib/python3.9/runpy.py", line 188, in _run_module_as_main

mod_name, mod_spec, code = _get_module_details(mod_name, _Error)

File "/usr/local/lib/python3.9/runpy.py", line 147, in _get_module_details

return _get_module_details(pkg_main_name, error)

File "/usr/local/lib/python3.9/runpy.py", line 111, in _get_module_details

__import__(pkg_name)

File "/usr/local/lib/python3.9/site-packages/pyUltroid/init.py", line 12, in

udB = redis_connection()

File "/usr/local/lib/python3.9/site-packages/pyUltroid/connections.py", line 100, in redis_connection

our_db = connect_redis()

File "/usr/local/lib/python3.9/site-packages/pyUltroid/connections.py", line 86, in connect_redis

return connect_qovery_redis()

File "/usr/local/lib/python3.9/site-packages/pyUltroid/connections.py", line 201, in connect_qovery_redis

host=endpoint,

UnboundLocalError: local variable 'endpoint' referenced before assignment

Version

0.0.8 (or later)

Relevant logs output

Traceback (most recent call last):

  File "/usr/local/lib/python3.9/runpy.py", line 188, in _run_module_as_main

    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)

  File "/usr/local/lib/python3.9/runpy.py", line 147, in _get_module_details

    return _get_module_details(pkg_main_name, error)

  File "/usr/local/lib/python3.9/runpy.py", line 111, in _get_module_details

    __import__(pkg_name)

  File "/usr/local/lib/python3.9/site-packages/pyUltroid/__init__.py", line 12, in <module>

    udB = redis_connection()

  File "/usr/local/lib/python3.9/site-packages/pyUltroid/connections.py", line 100, in redis_connection

    our_db = connect_redis()

  File "/usr/local/lib/python3.9/site-packages/pyUltroid/connections.py", line 86, in connect_redis

    return connect_qovery_redis()

  File "/usr/local/lib/python3.9/site-packages/pyUltroid/connections.py", line 201, in connect_qovery_redis

    host=endpoint,

UnboundLocalError: local variable 'endpoint' referenced before assignment

Acknowledgement

  • I have followed all of the above steps.

[BUG REPORT] VC BOT

Contact Details

No response

What happened?

VC bot not working.

Version

0.3

Hosted On

Vps

Relevant logs output

VC Error - 2022.01.01.1

.play believer

Traceback (most recent call last):
  File "/home/ubuntu/ultroid/vcbot/__init__.py", line 242, in vc_handler
    await func(e)
  File "/home/ubuntu/ultroid/vcbot/play.py", line 70, in play_music_
    await ultSongs.group_call.start_audio(song)
  File "/home/ubuntu/.local/lib/python3.9/site-packages/pytgcalls/implementation/group_call.py", line 187, in start_audio
    self._audio_stream = AudioStream(
  File "/home/ubuntu/.local/lib/python3.9/site-packages/pytgcalls/utils.py", line 206, in __init__
    self.__input_container = av.open(source)
  File "av/container/core.pyx", line 355, in av.container.core.open
  File "av/container/core.pyx", line 226, in av.container.core.Container.__cinit__
  File "av/container/core.pyx", line 258, in av.container.core.Container.err_check
  File "av/error.pyx", line 336, in av.error.err_check
av.error.FileNotFoundError: [Errno 2] No such file or directory

Acknowledgement

  • I have followed all of the above steps.

Complaint

Contact Details

No response

What happened?

My Telegram 2 Number Has Be Banned This User Bot Deployed

Version

0.3

Hosted On

Heroku

Relevant logs output

Banned My Numbers

Acknowledgement

  • I have followed all of the above steps.

Startup file is giving error

Contact Details

@MrSp4rX

What happened?

first of all i read your manual and download whole code and did the setup of requirements file and .env file and when i was about to run startup file in location Ultroid\resources\startup\startup.sh its started giving me import errors. I solved some of them with pip and some sites but this one isnt being solved by me and i dont know why. error is:
ModuleNotFoundError: No module named 'safety.tools'
after this is installed safety module via pip install safety but still its giving me error and i tried to import module directly like import safety then its not giving any error. i think its .tools section is removed and i tried to find but i didnt get the older version that you guys are using. Plz help.

Version

0.3

Hosted On

Didn't Deployed Yet

Relevant logs output

No response

Acknowledgement

  • #261

[BUG REPORT]: Command Not Working

Contact Details

No response

What happened?

Hey, why .approve this command and disapprove command is not working. ...

I Deployed In Railway 🚂....

Version

0.0.8 (or later)

Relevant logs output

No response

Acknowledgement

  • I have followed all of the above steps.

[BUG REPORT] button not working

Contact Details

No response

What happened?

A bug happened!

Any button on .help command and others command will not working

Bellow i provided instance log from mogenius website

Version

0.7

Hosted On

Other

Relevant logs output

┏┳┓╋┏┓╋╋╋╋┏┓┏┓
            ┃┃┣┓┃┗┳┳┳━╋╋┛┃
            ┃┃┃┗┫┏┫┏┫╋┃┃╋┃
            ┗━┻━┻━┻┛┗━┻┻━┛
      Visit @TheUltroid for updates!!
12/08/2022, 08:33:55 | pyUltLogs [INFO] : 
                    -----------------------------------
                            Starting Deployment
                    -----------------------------------
    
12/08/2022, 08:33:55 | pyUltLogs [INFO] : Python version - 3.10.2
12/08/2022, 08:33:55 | pyUltLogs [INFO] : py-Ultroid Version - 2022.08.30
12/08/2022, 08:33:55 | pyUltLogs [INFO] : Telethon Version - 1.25.1 [Layer: 146]
12/08/2022, 08:33:55 | pyUltLogs [INFO] : Ultroid Version - 0.7.1 [qovery | kubernetes]
12/08/2022, 08:33:55 | pyUltLogs [INFO] : Installing 'redis' for database.
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
12/08/2022, 08:34:15 | pyUltLogs [INFO] : Connecting to Redis...
12/08/2022, 08:34:15 | pyUltLogs [INFO] : Connected to Redis Successfully!
12/08/2022, 08:34:22 | pyUltLogs [INFO] : Trying to login.
12/08/2022, 08:34:22 | pyUltLogs [INFO] : Logged in as ㅤㅤㅤ ㅤㅤㅤ
12/08/2022, 08:34:22 | pyUltLogs [INFO] : Trying to login.
12/08/2022, 08:34:24 | Telethon.client.users [INFO] : Phone migrated to 5
12/08/2022, 08:34:24 | Telethon.client.telegrambaseclient [INFO] : Reconnecting to new data center 5
12/08/2022, 08:34:26 | pyUltLogs [INFO] : Logged in as @DravorLand_Bot
12/08/2022, 08:34:31 | pyUltLogs [INFO] : Initialising...
12/08/2022, 08:34:32 | Telethon.network.mtprotosender [ERROR] : Request caused struct.error: required argument is not an integer: GetFullChatRequest(chat_id=InputPeerChat(chat_id=812146992))
12/08/2022, 08:34:32 | pyUltLogs [ERROR] : required argument is not an integer
Traceback (most recent call last):
  File "/pyUltroid/startup/funcs.py", line 262, in autopilot
    await ultroid_bot.get_permissions(int(channel), asst.me.username)
  File "/usr/local/lib/python3.10/site-packages/telethon/client/chats.py", line 1365, in get_permissions
    chat = await self(functions.messages.GetFullChatRequest(entity))
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 32, in __call__
    return await self._call(self._sender, request, ordered=ordered)
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 71, in _call
    future = sender.send(request, ordered=ordered)
  File "/usr/local/lib/python3.10/site-packages/telethon/network/mtprotosender.py", line 202, in send
    state = RequestState(request)
  File "/usr/local/lib/python3.10/site-packages/telethon/network/requeststate.py", line 18, in __init__
    self.data = bytes(request)
  File "/usr/local/lib/python3.10/site-packages/telethon/tl/tlobject.py", line 190, in __bytes__
    return self._bytes()
  File "/usr/local/lib/python3.10/site-packages/telethon/tl/functions/messages.py", line 2374, in _bytes
    struct.pack('
struct.error: required argument is not an integer
12/08/2022, 08:34:32 | Telethon.client.uploads [INFO] : Uploading file of 235172 bytes in 2 chunks of 131072
12/08/2022, 08:34:33 | pyUltLogs [ERROR] : Cannot cast InputPeerChat to any kind of InputChannel.
Traceback (most recent call last):
  File "/pyUltroid/startup/funcs.py", line 310, in autopilot
    await ultroid_bot(
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 32, in __call__
    return await self._call(self._sender, request, ordered=ordered)
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 47, in _call
    await r.resolve(self, utils)
  File "/usr/local/lib/python3.10/site-packages/telethon/tl/functions/channels.py", line 462, in resolve
    self.channel = utils.get_input_channel(await client.get_input_entity(self.channel))
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 263, in get_input_channel
    _raise_cast_fail(entity, 'InputChannel')
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast InputPeerChat to any kind of InputChannel.
12/08/2022, 08:34:34 | pyUltLogs [INFO] : • Installing Official Plugins || Count : 80 •
12/08/2022, 08:34:57 | pyUltLogs [INFO] : Took 49s to start •ULTROID•
12/08/2022, 08:34:57 | pyUltLogs [INFO] : 
            ----------------------------------------------------------------------
                Ultroid has been deployed! Visit @TheUltroid for updates!!
            ----------------------------------------------------------------------
    
12/08/2022, 08:47:44 | pyUltLogs [ERROR] : Cannot cast NoneType to any kind of Peer.
Traceback (most recent call last):
  File "/pyUltroid/_misc/_assistant.py", line 77, in wrapper
    await func(event)
  File "/plugins/_inline.py", line 138, in setting
    await event.edit(
  File "/usr/local/lib/python3.10/site-packages/telethon/events/callbackquery.py", line 341, in edit
    return await self._client.edit_message(
  File "/usr/local/lib/python3.10/site-packages/telethon/client/messages.py", line 1227, in edit_message
    entity = await self.get_input_entity(entity)
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 470, in get_input_entity
    peer = utils.get_peer(peer)
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast NoneType to any kind of Peer.
12/08/2022, 08:47:45 | pyUltLogs [ERROR] : Cannot cast NoneType to any kind of Peer.
Traceback (most recent call last):
  File "/pyUltroid/_misc/_assistant.py", line 77, in wrapper
    await func(event)
  File "/plugins/_inline.py", line 138, in setting
    await event.edit(
  File "/usr/local/lib/python3.10/site-packages/telethon/events/callbackquery.py", line 341, in edit
    return await self._client.edit_message(
  File "/usr/local/lib/python3.10/site-packages/telethon/client/messages.py", line 1227, in edit_message
    entity = await self.get_input_entity(entity)
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 470, in get_input_entity
    peer = utils.get_peer(peer)
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast NoneType to any kind of Peer.
12/08/2022, 08:47:47 | pyUltLogs [ERROR] : Cannot cast NoneType to any kind of Peer.
Traceback (most recent call last):
  File "/pyUltroid/_misc/_assistant.py", line 77, in wrapper
    await func(event)
  File "/plugins/_inline.py", line 138, in setting
    await event.edit(
  File "/usr/local/lib/python3.10/site-packages/telethon/events/callbackquery.py", line 341, in edit
    return await self._client.edit_message(
  File "/usr/local/lib/python3.10/site-packages/telethon/client/messages.py", line 1227, in edit_message
    entity = await self.get_input_entity(entity)
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 470, in get_input_entity
    peer = utils.get_peer(peer)
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast NoneType to any kind of Peer.
12/08/2022, 08:47:48 | pyUltLogs [ERROR] : Cannot cast NoneType to any kind of Peer.
Traceback (most recent call last):
  File "/pyUltroid/_misc/_assistant.py", line 77, in wrapper
    await func(event)
  File "/plugins/_inline.py", line 138, in setting
    await event.edit(
  File "/usr/local/lib/python3.10/site-packages/telethon/events/callbackquery.py", line 341, in edit
    return await self._client.edit_message(
  File "/usr/local/lib/python3.10/site-packages/telethon/client/messages.py", line 1227, in edit_message
    entity = await self.get_input_entity(entity)
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 470, in get_input_entity
    peer = utils.get_peer(peer)
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast NoneType to any kind of Peer.
12/08/2022, 14:33:51 | pyUltLogs [ERROR] : Cannot cast NoneType to any kind of Peer.
Traceback (most recent call last):
  File "/pyUltroid/_misc/_assistant.py", line 77, in wrapper
    await func(event)
  File "/plugins/_inline.py", line 138, in setting
    await event.edit(
  File "/usr/local/lib/python3.10/site-packages/telethon/events/callbackquery.py", line 341, in edit
    return await self._client.edit_message(
  File "/usr/local/lib/python3.10/site-packages/telethon/client/messages.py", line 1227, in edit_message
    entity = await self.get_input_entity(entity)
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 470, in get_input_entity
    peer = utils.get_peer(peer)
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast NoneType to any kind of Peer.
12/08/2022, 14:33:53 | pyUltLogs [ERROR] : Cannot cast NoneType to any kind of Peer.
Traceback (most recent call last):
  File "/pyUltroid/_misc/_assistant.py", line 77, in wrapper
    await func(event)
  File "/plugins/_inline.py", line 138, in setting
    await event.edit(
  File "/usr/local/lib/python3.10/site-packages/telethon/events/callbackquery.py", line 341, in edit
    return await self._client.edit_message(
  File "/usr/local/lib/python3.10/site-packages/telethon/client/messages.py", line 1227, in edit_message
    entity = await self.get_input_entity(entity)
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 470, in get_input_entity
    peer = utils.get_peer(peer)
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast NoneType to any kind of Peer.
12/08/2022, 14:33:54 | pyUltLogs [ERROR] : Cannot cast NoneType to any kind of Peer.
Traceback (most recent call last):
  File "/pyUltroid/_misc/_assistant.py", line 77, in wrapper
    await func(event)
  File "/plugins/_inline.py", line 138, in setting
    await event.edit(
  File "/usr/local/lib/python3.10/site-packages/telethon/events/callbackquery.py", line 341, in edit
    return await self._client.edit_message(
  File "/usr/local/lib/python3.10/site-packages/telethon/client/messages.py", line 1227, in edit_message
    entity = await self.get_input_entity(entity)
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 470, in get_input_entity
    peer = utils.get_peer(peer)
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast NoneType to any kind of Peer.
12/08/2022, 14:33:55 | pyUltLogs [ERROR] : Cannot cast NoneType to any kind of Peer.
Traceback (most recent call last):
  File "/pyUltroid/_misc/_assistant.py", line 77, in wrapper
    await func(event)
  File "/plugins/_inline.py", line 138, in setting
    await event.edit(
  File "/usr/local/lib/python3.10/site-packages/telethon/events/callbackquery.py", line 341, in edit
    return await self._client.edit_message(
  File "/usr/local/lib/python3.10/site-packages/telethon/client/messages.py", line 1227, in edit_message
    entity = await self.get_input_entity(entity)
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 470, in get_input_entity
    peer = utils.get_peer(peer)
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast NoneType to any kind of Peer.
12/08/2022, 14:34:35 | pyUltLogs [ERROR] : Cannot cast NoneType to any kind of Peer.
Traceback (most recent call last):
  File "/pyUltroid/_misc/_assistant.py", line 77, in wrapper
    await func(event)
  File "/plugins/_inline.py", line 315, in on_plug_in_callback_query_handler
    await event.edit(
  File "/usr/local/lib/python3.10/site-packages/telethon/events/callbackquery.py", line 341, in edit
    return await self._client.edit_message(
  File "/usr/local/lib/python3.10/site-packages/telethon/client/messages.py", line 1227, in edit_message
    entity = await self.get_input_entity(entity)
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 470, in get_input_entity
    peer = utils.get_peer(peer)
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast NoneType to any kind of Peer.
12/08/2022, 14:34:36 | pyUltLogs [ERROR] : Cannot cast NoneType to any kind of Peer.
Traceback (most recent call last):
  File "/pyUltroid/_misc/_assistant.py", line 77, in wrapper
    await func(event)
  File "/plugins/_inline.py", line 315, in on_plug_in_callback_query_handler
    await event.edit(
  File "/usr/local/lib/python3.10/site-packages/telethon/events/callbackquery.py", line 341, in edit
    return await self._client.edit_message(
  File "/usr/local/lib/python3.10/site-packages/telethon/client/messages.py", line 1227, in edit_message
    entity = await self.get_input_entity(entity)
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 470, in get_input_entity
    peer = utils.get_peer(peer)
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast NoneType to any kind of Peer.
12/08/2022, 16:32:50 | pyUltLogs [ERROR] : Cannot cast NoneType to any kind of Peer.
Traceback (most recent call last):
  File "/pyUltroid/_misc/_assistant.py", line 77, in wrapper
    await func(event)
  File "/plugins/_inline.py", line 175, in help_func
    await ult.edit(text, buttons=page_num(count, key), link_preview=False)
  File "/usr/local/lib/python3.10/site-packages/telethon/events/callbackquery.py", line 341, in edit
    return await self._client.edit_message(
  File "/usr/local/lib/python3.10/site-packages/telethon/client/messages.py", line 1227, in edit_message
    entity = await self.get_input_entity(entity)
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 470, in get_input_entity
    peer = utils.get_peer(peer)
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast NoneType to any kind of Peer.
12/08/2022, 16:32:50 | pyUltLogs [ERROR] : Cannot cast NoneType to any kind of Peer.
Traceback (most recent call last):
  File "/pyUltroid/_misc/_assistant.py", line 77, in wrapper
    await func(event)
  File "/plugins/_inline.py", line 175, in help_func
    await ult.edit(text, buttons=page_num(count, key), link_preview=False)
  File "/usr/local/lib/python3.10/site-packages/telethon/events/callbackquery.py", line 341, in edit
    return await self._client.edit_message(
  File "/usr/local/lib/python3.10/site-packages/telethon/client/messages.py", line 1227, in edit_message
    entity = await self.get_input_entity(entity)
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 470, in get_input_entity
    peer = utils.get_peer(peer)
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast NoneType to any kind of Peer.
12/08/2022, 16:32:50 | pyUltLogs [ERROR] : Cannot cast NoneType to any kind of Peer.
Traceback (most recent call last):
  File "/pyUltroid/_misc/_assistant.py", line 77, in wrapper
    await func(event)
  File "/plugins/_inline.py", line 175, in help_func
    await ult.edit(text, buttons=page_num(count, key), link_preview=False)
  File "/usr/local/lib/python3.10/site-packages/telethon/events/callbackquery.py", line 341, in edit
    return await self._client.edit_message(
  File "/usr/local/lib/python3.10/site-packages/telethon/client/messages.py", line 1227, in edit_message
    entity = await self.get_input_entity(entity)
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 470, in get_input_entity
    peer = utils.get_peer(peer)
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast NoneType to any kind of Peer.
12/08/2022, 16:32:50 | pyUltLogs [ERROR] : Cannot cast NoneType to any kind of Peer.
Traceback (most recent call last):
  File "/pyUltroid/_misc/_assistant.py", line 77, in wrapper
    await func(event)
  File "/plugins/_inline.py", line 175, in help_func
    await ult.edit(text, buttons=page_num(count, key), link_preview=False)
  File "/usr/local/lib/python3.10/site-packages/telethon/events/callbackquery.py", line 341, in edit
    return await self._client.edit_message(
  File "/usr/local/lib/python3.10/site-packages/telethon/client/messages.py", line 1227, in edit_message
    entity = await self.get_input_entity(entity)
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 470, in get_input_entity
    peer = utils.get_peer(peer)
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast NoneType to any kind of Peer.
12/08/2022, 22:22:47 | pyUltLogs [ERROR] : Cannot cast NoneType to any kind of Peer.
Traceback (most recent call last):
  File "/pyUltroid/_misc/_assistant.py", line 77, in wrapper
    await func(event)
  File "/plugins/_inline.py", line 138, in setting
    await event.edit(
  File "/usr/local/lib/python3.10/site-packages/telethon/events/callbackquery.py", line 341, in edit
    return await self._client.edit_message(
  File "/usr/local/lib/python3.10/site-packages/telethon/client/messages.py", line 1227, in edit_message
    entity = await self.get_input_entity(entity)
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 470, in get_input_entity
    peer = utils.get_peer(peer)
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast NoneType to any kind of Peer.
12/08/2022, 22:22:48 | pyUltLogs [ERROR] : Cannot cast NoneType to any kind of Peer.
Traceback (most recent call last):
  File "/pyUltroid/_misc/_assistant.py", line 77, in wrapper
    await func(event)
  File "/plugins/_inline.py", line 138, in setting
    await event.edit(
  File "/usr/local/lib/python3.10/site-packages/telethon/events/callbackquery.py", line 341, in edit
    return await self._client.edit_message(
  File "/usr/local/lib/python3.10/site-packages/telethon/client/messages.py", line 1227, in edit_message
    entity = await self.get_input_entity(entity)
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 470, in get_input_entity
    peer = utils.get_peer(peer)
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast NoneType to any kind of Peer.
12/08/2022, 22:22:49 | pyUltLogs [ERROR] : Cannot cast NoneType to any kind of Peer.
Traceback (most recent call last):
  File "/pyUltroid/_misc/_assistant.py", line 77, in wrapper
    await func(event)
  File "/plugins/_inline.py", line 138, in setting
    await event.edit(
  File "/usr/local/lib/python3.10/site-packages/telethon/events/callbackquery.py", line 341, in edit
    return await self._client.edit_message(
  File "/usr/local/lib/python3.10/site-packages/telethon/client/messages.py", line 1227, in edit_message
    entity = await self.get_input_entity(entity)
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 470, in get_input_entity
    peer = utils.get_peer(peer)
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast NoneType to any kind of Peer.
12/08/2022, 22:22:52 | pyUltLogs [ERROR] : Cannot cast NoneType to any kind of Peer.
Traceback (most recent call last):
  File "/pyUltroid/_misc/_assistant.py", line 77, in wrapper
    await func(event)
  File "/plugins/_inline.py", line 293, in _
    await e.edit(buttons=button, link_preview=False)
  File "/usr/local/lib/python3.10/site-packages/telethon/events/callbackquery.py", line 341, in edit
    return await self._client.edit_message(
  File "/usr/local/lib/python3.10/site-packages/telethon/client/messages.py", line 1227, in edit_message
    entity = await self.get_input_entity(entity)
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 470, in get_input_entity
    peer = utils.get_peer(peer)
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast NoneType to any kind of Peer.
12/08/2022, 22:22:54 | pyUltLogs [ERROR] : Cannot cast NoneType to any kind of Peer.
Traceback (most recent call last):
  File "/pyUltroid/_misc/_assistant.py", line 77, in wrapper
    await func(event)
  File "/plugins/_inline.py", line 293, in _
    await e.edit(buttons=button, link_preview=False)
  File "/usr/local/lib/python3.10/site-packages/telethon/events/callbackquery.py", line 341, in edit
    return await self._client.edit_message(
  File "/usr/local/lib/python3.10/site-packages/telethon/client/messages.py", line 1227, in edit_message
    entity = await self.get_input_entity(entity)
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 470, in get_input_entity
    peer = utils.get_peer(peer)
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast NoneType to any kind of Peer.
12/08/2022, 22:22:55 | pyUltLogs [ERROR] : Cannot cast NoneType to any kind of Peer.
Traceback (most recent call last):
  File "/pyUltroid/_misc/_assistant.py", line 77, in wrapper
    await func(event)
  File "/plugins/_inline.py", line 293, in _
    await e.edit(buttons=button, link_preview=False)
  File "/usr/local/lib/python3.10/site-packages/telethon/events/callbackquery.py", line 341, in edit
    return await self._client.edit_message(
  File "/usr/local/lib/python3.10/site-packages/telethon/client/messages.py", line 1227, in edit_message
    entity = await self.get_input_entity(entity)
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 470, in get_input_entity
    peer = utils.get_peer(peer)
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast NoneType to any kind of Peer.
12/08/2022, 22:22:55 | pyUltLogs [ERROR] : Cannot cast NoneType to any kind of Peer.
Traceback (most recent call last):
  File "/pyUltroid/_misc/_assistant.py", line 77, in wrapper
    await func(event)
  File "/plugins/_inline.py", line 293, in _
    await e.edit(buttons=button, link_preview=False)
  File "/usr/local/lib/python3.10/site-packages/telethon/events/callbackquery.py", line 341, in edit
    return await self._client.edit_message(
  File "/usr/local/lib/python3.10/site-packages/telethon/client/messages.py", line 1227, in edit_message
    entity = await self.get_input_entity(entity)
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 470, in get_input_entity
    peer = utils.get_peer(peer)
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast NoneType to any kind of Peer.
12/08/2022, 22:23:07 | pyUltLogs [ERROR] : Cannot cast NoneType to any kind of Peer.
Traceback (most recent call last):
  File "/pyUltroid/_misc/_assistant.py", line 77, in wrapper
    await func(event)
  File "/plugins/_inline.py", line 315, in on_plug_in_callback_query_handler
    await event.edit(
  File "/usr/local/lib/python3.10/site-packages/telethon/events/callbackquery.py", line 341, in edit
    return await self._client.edit_message(
  File "/usr/local/lib/python3.10/site-packages/telethon/client/messages.py", line 1227, in edit_message
    entity = await self.get_input_entity(entity)
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 470, in get_input_entity
    peer = utils.get_peer(peer)
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast NoneType to any kind of Peer.
12/08/2022, 22:23:08 | pyUltLogs [ERROR] : Cannot cast NoneType to any kind of Peer.
Traceback (most recent call last):
  File "/pyUltroid/_misc/_assistant.py", line 77, in wrapper
    await func(event)
  File "/plugins/_inline.py", line 315, in on_plug_in_callback_query_handler
    await event.edit(
  File "/usr/local/lib/python3.10/site-packages/telethon/events/callbackquery.py", line 341, in edit
    return await self._client.edit_message(
  File "/usr/local/lib/python3.10/site-packages/telethon/client/messages.py", line 1227, in edit_message
    entity = await self.get_input_entity(entity)
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 470, in get_input_entity
    peer = utils.get_peer(peer)
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast NoneType to any kind of Peer.
12/08/2022, 22:28:41 | pyUltLogs [ERROR] : Cannot cast NoneType to any kind of Peer.
Traceback (most recent call last):
  File "/pyUltroid/_misc/_assistant.py", line 77, in wrapper
    await func(event)
  File "/plugins/_inline.py", line 175, in help_func
    await ult.edit(text, buttons=page_num(count, key), link_preview=False)
  File "/usr/local/lib/python3.10/site-packages/telethon/events/callbackquery.py", line 341, in edit
    return await self._client.edit_message(
  File "/usr/local/lib/python3.10/site-packages/telethon/client/messages.py", line 1227, in edit_message
    entity = await self.get_input_entity(entity)
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 470, in get_input_entity
    peer = utils.get_peer(peer)
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast NoneType to any kind of Peer.
12/08/2022, 22:28:42 | pyUltLogs [ERROR] : Cannot cast NoneType to any kind of Peer.
Traceback (most recent call last):
  File "/pyUltroid/_misc/_assistant.py", line 77, in wrapper
    await func(event)
  File "/plugins/_inline.py", line 175, in help_func
    await ult.edit(text, buttons=page_num(count, key), link_preview=False)
  File "/usr/local/lib/python3.10/site-packages/telethon/events/callbackquery.py", line 341, in edit
    return await self._client.edit_message(
  File "/usr/local/lib/python3.10/site-packages/telethon/client/messages.py", line 1227, in edit_message
    entity = await self.get_input_entity(entity)
  File "/usr/local/lib/python3.10/site-packages/telethon/client/users.py", line 470, in get_input_entity
    peer = utils.get_peer(peer)
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/usr/local/lib/python3.10/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast NoneType to any kind of Peer.

Acknowledgement

  • I have followed all of the above steps.

[REQUEST] Docker support?

Contact Details

@velosofyy

What happened?

Is there a chance for a docker support?
A simple Dockerfile would suffice I feel like.

Version

0.7

Hosted On

Didn't Deployed Yet

Relevant logs output

No response

Acknowledgement

  • I have followed all of the above steps.

[BUG REPORT]

Contact Details

https://t.me/HeyImAngeel, [email protected]

What happened?

When i start the bot, after 5/10 seconds from the deploy it starts to spam/write this error:
image
Thanks for the help

Other info:

✵ Owner - **
✵ Ultroid - 0.7.2 [local]
✵ Py-Ultroid - 2022.12.18
✵ UpTime - 3m:13s
✵ Python - 3.8.10
✵ Telethon - 1.26.1
✵ Branch - main (https://github.com/TeamUltroid/Ultroid/tree/main)

Version

0.7

Hosted On

Vps

Relevant logs output

01/13/2023, 21:05:51 | pyUltLogs [INFO] : 
                    -----------------------------------
                            Starting Deployment
                    -----------------------------------
    
01/13/2023, 21:05:51 | pyUltLogs [INFO] : Python version - 3.8.10
01/13/2023, 21:05:51 | pyUltLogs [INFO] : py-Ultroid Version - 2022.12.18
01/13/2023, 21:05:51 | pyUltLogs [INFO] : Telethon Version - 1.26.1 [Layer: 149]
01/13/2023, 21:05:51 | pyUltLogs [INFO] : Ultroid Version - 0.7.2 [local]
01/13/2023, 21:05:52 | pyUltLogs [INFO] : Connecting to Redis...
01/13/2023, 21:05:52 | pyUltLogs [INFO] : Connected to Redis Successfully!
01/13/2023, 21:05:53 | pyUltLogs [INFO] : Trying to login.
01/13/2023, 21:05:53 | Telethon.network.mtprotosender [INFO] : Connecting to 149.154.167.92:443/TcpFull...
01/13/2023, 21:05:53 | Telethon.network.mtprotosender [INFO] : Connection to 149.154.167.92:443/TcpFull complete!
01/13/2023, 21:05:53 | pyUltLogs [INFO] : Logged in as Milo
01/13/2023, 21:05:53 | pyUltLogs [INFO] : Trying to login.
01/13/2023, 21:05:53 | Telethon.network.mtprotosender [INFO] : Connecting to 149.154.167.51:443/TcpFull...
01/13/2023, 21:05:54 | Telethon.network.mtprotosender [INFO] : Connection to 149.154.167.51:443/TcpFull complete!
01/13/2023, 21:05:54 | Telethon.client.users [INFO] : Phone migrated to 4
01/13/2023, 21:05:54 | Telethon.client.telegrambaseclient [INFO] : Reconnecting to new data center 4
01/13/2023, 21:05:54 | Telethon.network.mtprotosender [INFO] : Disconnecting from 149.154.167.51:443/TcpFull...
01/13/2023, 21:05:54 | Telethon.network.mtprotosender [INFO] : Disconnection from 149.154.167.51:443/TcpFull complete!
01/13/2023, 21:05:54 | Telethon.network.mtprotosender [INFO] : Connecting to 149.154.167.92:443/TcpFull...
01/13/2023, 21:05:55 | Telethon.network.mtprotosender [INFO] : Connection to 149.154.167.92:443/TcpFull complete!
01/13/2023, 21:05:55 | pyUltLogs [INFO] : Logged in as @milotld_bot
01/13/2023, 21:05:56 | pyUltLogs [INFO] : Initialising...
01/13/2023, 21:05:57 | pyUltLogs [INFO] : • Installing Official Plugins || Count : 80 •
01/13/2023, 21:06:05 | pyUltLogs [INFO] : Took 13s to start •ULTROID•
01/13/2023, 21:06:05 | pyUltLogs [INFO] : 
            ----------------------------------------------------------------------
                Ultroid has been deployed! Visit @TheUltroid for updates!!
            ----------------------------------------------------------------------
    
01/13/2023, 21:06:14 | asyncio [ERROR] : Task exception was never retrieved
future: <Task finished name='Task-66' coro=<UpdateMethods._dispatch_update() done, defined at /root/Ultroid/venv/lib/python3.8/site-packages/telethon/client/updates.py:448> exception=TypeError('Cannot cast method to any kind of Peer.')>
Traceback (most recent call last):
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/client/updates.py", line 488, in _dispatch_update
    await builder.resolve(self)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/events/common.py", line 99, in resolve
    await self._resolve(client)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/events/newmessage.py", line 94, in _resolve
    self.from_users = await _into_id_set(client, self.from_users)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/events/common.py", line 33, in _into_id_set
    chat = await client.get_input_entity(chat)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/client/users.py", line 443, in get_input_entity
    peer = utils.get_peer(peer)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast method to any kind of Peer.
01/13/2023, 21:07:00 | asyncio [ERROR] : Task exception was never retrieved
future: <Task finished name='Task-72' coro=<UpdateMethods._dispatch_update() done, defined at /root/Ultroid/venv/lib/python3.8/site-packages/telethon/client/updates.py:448> exception=TypeError('Cannot cast method to any kind of Peer.')>
Traceback (most recent call last):
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/client/updates.py", line 488, in _dispatch_update
    await builder.resolve(self)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/events/common.py", line 99, in resolve
    await self._resolve(client)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/events/newmessage.py", line 94, in _resolve
    self.from_users = await _into_id_set(client, self.from_users)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/events/common.py", line 33, in _into_id_set
    chat = await client.get_input_entity(chat)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/client/users.py", line 443, in get_input_entity
    peer = utils.get_peer(peer)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast method to any kind of Peer.
01/13/2023, 21:07:43 | asyncio [ERROR] : Task exception was never retrieved
future: <Task finished name='Task-97' coro=<UpdateMethods._dispatch_update() done, defined at /root/Ultroid/venv/lib/python3.8/site-packages/telethon/client/updates.py:448> exception=TypeError('Cannot cast method to any kind of Peer.')>
Traceback (most recent call last):
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/client/updates.py", line 488, in _dispatch_update
    await builder.resolve(self)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/events/common.py", line 99, in resolve
    await self._resolve(client)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/events/newmessage.py", line 94, in _resolve
    self.from_users = await _into_id_set(client, self.from_users)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/events/common.py", line 33, in _into_id_set
    chat = await client.get_input_entity(chat)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/client/users.py", line 443, in get_input_entity
    peer = utils.get_peer(peer)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast method to any kind of Peer.
01/13/2023, 21:07:43 | asyncio [ERROR] : Task exception was never retrieved
future: <Task finished name='Task-105' coro=<UpdateMethods._dispatch_update() done, defined at /root/Ultroid/venv/lib/python3.8/site-packages/telethon/client/updates.py:448> exception=TypeError('Cannot cast method to any kind of Peer.')>
Traceback (most recent call last):
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/client/updates.py", line 488, in _dispatch_update
    await builder.resolve(self)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/events/common.py", line 99, in resolve
    await self._resolve(client)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/events/newmessage.py", line 94, in _resolve
    self.from_users = await _into_id_set(client, self.from_users)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/events/common.py", line 33, in _into_id_set
    chat = await client.get_input_entity(chat)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/client/users.py", line 443, in get_input_entity
    peer = utils.get_peer(peer)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast method to any kind of Peer.
01/13/2023, 21:07:54 | asyncio [ERROR] : Task exception was never retrieved
future: <Task finished name='Task-111' coro=<UpdateMethods._dispatch_update() done, defined at /root/Ultroid/venv/lib/python3.8/site-packages/telethon/client/updates.py:448> exception=TypeError('Cannot cast method to any kind of Peer.')>
Traceback (most recent call last):
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/client/updates.py", line 488, in _dispatch_update
    await builder.resolve(self)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/events/common.py", line 99, in resolve
    await self._resolve(client)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/events/newmessage.py", line 94, in _resolve
    self.from_users = await _into_id_set(client, self.from_users)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/events/common.py", line 33, in _into_id_set
    chat = await client.get_input_entity(chat)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/client/users.py", line 443, in get_input_entity
    peer = utils.get_peer(peer)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast method to any kind of Peer.
01/13/2023, 21:07:56 | asyncio [ERROR] : Task exception was never retrieved
future: <Task finished name='Task-122' coro=<UpdateMethods._dispatch_update() done, defined at /root/Ultroid/venv/lib/python3.8/site-packages/telethon/client/updates.py:448> exception=TypeError('Cannot cast method to any kind of Peer.')>
Traceback (most recent call last):
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/client/updates.py", line 488, in _dispatch_update
    await builder.resolve(self)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/events/common.py", line 99, in resolve
    await self._resolve(client)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/events/newmessage.py", line 94, in _resolve
    self.from_users = await _into_id_set(client, self.from_users)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/events/common.py", line 33, in _into_id_set
    chat = await client.get_input_entity(chat)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/client/users.py", line 443, in get_input_entity
    peer = utils.get_peer(peer)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast method to any kind of Peer.
01/13/2023, 21:08:00 | asyncio [ERROR] : Task exception was never retrieved
future: <Task finished name='Task-127' coro=<UpdateMethods._dispatch_update() done, defined at /root/Ultroid/venv/lib/python3.8/site-packages/telethon/client/updates.py:448> exception=TypeError('Cannot cast method to any kind of Peer.')>
Traceback (most recent call last):
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/client/updates.py", line 488, in _dispatch_update
    await builder.resolve(self)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/events/common.py", line 99, in resolve
    await self._resolve(client)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/events/newmessage.py", line 94, in _resolve
    self.from_users = await _into_id_set(client, self.from_users)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/events/common.py", line 33, in _into_id_set
    chat = await client.get_input_entity(chat)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/client/users.py", line 443, in get_input_entity
    peer = utils.get_peer(peer)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast method to any kind of Peer.
01/13/2023, 21:08:03 | asyncio [ERROR] : Task exception was never retrieved
future: <Task finished name='Task-132' coro=<UpdateMethods._dispatch_update() done, defined at /root/Ultroid/venv/lib/python3.8/site-packages/telethon/client/updates.py:448> exception=TypeError('Cannot cast method to any kind of Peer.')>
Traceback (most recent call last):
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/client/updates.py", line 488, in _dispatch_update
    await builder.resolve(self)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/events/common.py", line 99, in resolve
    await self._resolve(client)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/events/newmessage.py", line 94, in _resolve
    self.from_users = await _into_id_set(client, self.from_users)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/events/common.py", line 33, in _into_id_set
    chat = await client.get_input_entity(chat)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/client/users.py", line 443, in get_input_entity
    peer = utils.get_peer(peer)
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/utils.py", line 997, in get_peer
    _raise_cast_fail(peer, 'Peer')
  File "/root/Ultroid/venv/lib/python3.8/site-packages/telethon/utils.py", line 138, in _raise_cast_fail
    raise TypeError('Cannot cast {} to any kind of {}.'.format(
TypeError: Cannot cast method to any kind of Peer.

Acknowledgement

  • I have followed all of the above steps.

[BUG REPORT]: Deploying to Heroku

Contact Details

No response

What happened?

A bug happened! while deploying to Heroku

Version

0.0.8 (or later)

Relevant logs output

2021-08-03T11:09:15.536365+00:00 app[ultroid.1]:                 -----------------------------------
2021-08-03T11:09:15.536366+00:00 app[ultroid.1]: 
2021-08-03T11:09:15.536673+00:00 app[ultroid.1]: 08/03/2021, 16:39:15 || pyUltroid [INFO] - py-Ultroid Version - 2021.07.19
2021-08-03T11:09:15.536918+00:00 app[ultroid.1]: 08/03/2021, 16:39:15 || pyUltroid [INFO] - Telethon Version - 1.23.0
2021-08-03T11:09:15.537216+00:00 app[ultroid.1]: 08/03/2021, 16:39:15 || pyUltroid [INFO] - Ultroid Version - 0.0.9
2021-08-03T11:09:15.537761+00:00 app[ultroid.1]: 08/03/2021, 16:39:15 || pyUltroid [INFO] - Getting Connection With Redis Database
2021-08-03T11:09:24.783711+00:00 app[ultroid.1]: 08/03/2021, 16:39:24 || pyUltroid [INFO] - Succesfully Established Connection With Redis DataBase.
2021-08-03T11:09:24.784200+00:00 app[ultroid.1]: 08/03/2021, 16:39:24 || pyUltroid [INFO] - ERROR - Not a valid string
2021-08-03T11:09:25.672757+00:00 heroku[ultroid.1]: Process exited with status 1
2021-08-03T11:09:25.801553+00:00 heroku[ultroid.1]: State changed from up to crashed

Acknowledgement

  • I have followed all of the above steps.

[BUG REPORT] Expecting value: line 1 column 1 (char 0)

Contact Details

t.me/UltroidSupportChat/126348

What happened?

Ultroid Client Error: Forward this to @UltroidSupportChat

Py-Ultroid Version: 2023.02.20
Ultroid Version: 0.8
Telethon Version: 1.25.1
Hosted At: local

--------START ULTROID CRASH LOG--------
Date: 2023-04-03 05:44:06
Group: -1001953544474 My Ultroid Logs
Sender ID: 6105156610
Replied: False

Event Trigger:
.ytv https://youtu.be/mAFMJ1LnQu8

Traceback info:
Traceback (most recent call last):
  File "/home/gmanka/Desktop/Ultroid/pyUltroid/_misc/_decorators.py", line 112, in wrapp
    await dec(ult)
  File "/home/gmanka/Desktop/Ultroid/plugins/youtube.py", line 85, in download_from_youtube_
    await download_yt(xx, url, ytd)
  File "/home/gmanka/Desktop/Ultroid/pyUltroid/fns/ytdl.py", line 144, in download_yt
    attributes = await set_attributes(file)
  File "/home/gmanka/Desktop/Ultroid/pyUltroid/fns/tools.py", line 145, in set_attributes
    data = await metadata(file)
  File "/home/gmanka/Desktop/Ultroid/pyUltroid/fns/tools.py", line 122, in metadata
    _info = json.loads(out)["media"]["track"]
  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)

Error text:
Expecting value: line 1 column 1 (char 0)

--------END ULTROID CRASH LOG--------

Last 5 commits:
Devesh Pal: Update Ultroid v0.8
Aditya: feat: fix up session gen
Devesh Pal: chore: fix chatbot and other minor issues.
Aditya: chore: update sessiongen to work with pyrogram 2.0
Aditya: chore: remove dead clone link from termux installer

hosted on my computer

neofetch

image

Version

0.7

Hosted On

Other

Relevant logs output

No response

Acknowledgement

  • I have followed all of the above steps.

[BUG REPORT]

Contact Details

@ACCESS_HACKER

What happened?

Traceback (most recent call last):
File "/root/TeamUltroid/vcbot/init.py", line 229, in vc_handler
await func(e)
File "vcbot/videoplay.py", line 60, in video_c
song, thumb, title, link, duration = await file_download(xx, reply)
File "/root/TeamUltroid/vcbot/init.py", line 381, in file_download
"vcbot/downloads/" + reply.file.name,
TypeError: can only concatenate str (not "NoneType") to str

Version

0.0.8 (or later)

Relevant logs output

Traceback (most recent call last):
  File "/root/TeamUltroid/vcbot/__init__.py", line 229, in vc_handler
    await func(e)
  File "vcbot/videoplay.py", line 60, in video_c
    song, thumb, title, link, duration = await file_download(xx, reply)
  File "/root/TeamUltroid/vcbot/__init__.py", line 381, in file_download
    "vcbot/downloads/" + reply.file.name,
TypeError: can only concatenate str (not "NoneType") to str

Acknowledgement

  • I have followed all of the above steps.

[BUG REPORT]

Contact Details

No response

What happened?

A bug happened!

Version

0.5

Hosted On

Heroku

Relevant logs output

No response

Acknowledgement

  • I have followed all of the above steps.

Help us Translate Ultroid in other languages.

Ultroid has Multi Language Support.
We are looking for some help, to complete translation work.

Your language strings must be added to the folder strings/strings/.

You can download English strings, translate it to your desired language and put it to the path in format languagecode.yml.
or you can fix any mistakes done in language strings...

Note : Some Strings are still present in source, which needs to be seperated out for translation purpose. Doing that too, will be appreciated.

After doing your changes, you can create a Pull Request and mention this Issue in that.

[BUG REPORT] welcome Message

Contact Details

No response

What happened?

A bug happened!

The welcome message does not work in groups that have hidden members. even if you are an administrator of the page
Screenshot_20240110_182251_TurboTel

Version

0.7

Hosted On

Termux

Relevant logs output

No response

Acknowledgement

  • I have followed all of the above steps.

Function Carbon Not Working

Py-Ultroid Version: 2023.02.20
Ultroid Version: 0.8
Telethon Version: 1.25.1
Hosted At: local

Event Trigger:
.carbon

Traceback info:
Traceback (most recent call last):
File "/root/Ubot/Ultroid3/Ultroid/pyUltroid/_misc/_decorators.py", line 112, in wrapp
await dec(ult)
File "/root/Ubot/Ultroid3/Ultroid/plugins/beautify.py", line 41, in cr_bn
code = a.read()
File "/usr/lib/python3.10/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte

Error text:
'utf-8' codec can't decode byte 0xff in position 0: invalid start byte

[BUG REPORT]

Describe the bug
As i see in package.json the version of typegram is outdated, and because of that, the deployment can't working.

To Reproduce
Steps to reproduce the behavior:
Update typegram version to 3.4.0 (based on npmjs )

Expected behavior
Deployment now will working again

Versions (please complete the following information):

  • Ultroid Version: 0.0.8
  • pyUltroid Version: 2021.6.18.1
    (these can be found in the first line of your logs.)

Client Used (please complete the following information):

  • Device: Phone
  • Client: Telegram Official, Nekogram X

Additional context
None

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.