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

[BUG REPORT] #461

Open
1 task done
Adisdzaky1 opened this issue Oct 26, 2024 · 1 comment
Open
1 task done

[BUG REPORT] #461

Adisdzaky1 opened this issue Oct 26, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Adisdzaky1
Copy link

Contact Details

@Oficiallz

What happened?

I am getting an error when running the script. I have set everything correctly but an error occurs.

Screenshot_2024-10-26-20-43-11-22

Version

0.7

Hosted On

Vps

Relevant logs output

Using Telethon-Patch (v0.04b0) [188]
Traceback (most recent call last):
  File "/usr/lib64/python3.9/runpy.py", line 188, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/lib64/python3.9/runpy.py", line 147, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/usr/lib64/python3.9/runpy.py", line 111, in _get_module_details
    __import__(pkg_name)
  File "/home/businezzrl/public_html/Ultroid/pyUltroid/__init__.py", line 24, in <module>
    from .configs import Var
  File "/home/businezzrl/public_html/Ultroid/pyUltroid/configs.py", line 20, in <module>
    class Var:
  File "/home/businezzrl/public_html/Ultroid/pyUltroid/configs.py", line 41, in Var
    LOG_CHANNEL = config("LOG_CHANNEL", default=0, cast=int)
  File "/home/businezzrl/public_html/Ultroid/venv/lib/python3.9/site-packages/decouple.py", line 248, in __call__
    return self.config(*args, **kwargs)
  File "/home/businezzrl/public_html/Ultroid/venv/lib/python3.9/site-packages/decouple.py", line 107, in __call__
    return self.get(*args, **kwargs)
  File "/home/businezzrl/public_html/Ultroid/venv/lib/python3.9/site-packages/decouple.py", line 101, in get
    return cast(value)
ValueError: invalid literal for int() with base 10: ''

Acknowledgement

  • I have followed all of the above steps.
@Adisdzaky1 Adisdzaky1 added the bug Something isn't working label Oct 26, 2024
@buddhhu
Copy link
Member

buddhhu commented Oct 26, 2024

@Adisdzaky1 Check value of LOG_CHANNEL in your env file, it's not integer type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants