Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Problems with start #8

Open
PabloRodMen opened this issue Sep 3, 2024 · 1 comment
Open

Problems with start #8

PabloRodMen opened this issue Sep 3, 2024 · 1 comment

Comments

@PabloRodMen
Copy link

Hello,
I have configured the file and I have checked that I can connect with that user, but it is not working.

Pyromod is working! If you like pyromod, please star it at https://github.com/usernein/pyromod
Traceback (most recent call last):
File "/ChannelBot/channelbot.py", line 23, in
app.start()
File "/usr/local/lib/python3.9/site-packages/pyrogram/sync.py", line 66, in async_to_sync_wrap
return loop.run_until_complete(coroutine)
File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete
return future.result()
File "/usr/local/lib/python3.9/site-packages/pyrogram/methods/utilities/start.py", line 74, in start
await self.initialize()
File "/usr/local/lib/python3.9/site-packages/pyrogram/methods/auth/initialize.py", line 46, in initialize
self.load_plugins()
File "/usr/local/lib/python3.9/site-packages/pyrogram/client.py", line 689, in load_plugins
module = import_module(module_path)
File "/usr/lib64/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/ChannelBot/ChannelBot/add_channels.py", line 8, in
from ChannelBot.database.users_sql import add_channel as uac, remove_channel
File "/ChannelBot/ChannelBot/database/users_sql.py", line 17, in
Users.table.create(checkfirst=True)
TypeError: create() missing 1 required positional argument: 'bind'

Thanks

@ShivangKakkar
Copy link
Owner

ShivangKakkar commented Sep 15, 2024

This is a really outdated repository. I would suggest you find another one. Pyrogram, Pyromod and SQLAlchemy versions used here are old and the code hasn't been updated to meet the new changes

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

No branches or pull requests

2 participants