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]: #132

Closed
1 task done
MalinrRuwan opened this issue Aug 24, 2021 · 8 comments
Closed
1 task done

[BUG REPORT]: #132

MalinrRuwan opened this issue Aug 24, 2021 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@MalinrRuwan
Copy link

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.
@MalinrRuwan MalinrRuwan added the bug Something isn't working label Aug 24, 2021
@New-dev0
Copy link
Member

Fill Env Variables

@buddhhu
Copy link
Member

buddhhu commented Aug 24, 2021

@MalinrRuwan Is it vps?

@MalinrRuwan
Copy link
Author

Yes its a vps

@buddhhu
Copy link
Member

buddhhu commented Aug 24, 2021

@MalinrRuwan nano .env

Fill ur variables in that and save

Then

python -m pyUltroid

@MalinrRuwan
Copy link
Author

I ran it in a docker container by saving the env variables in .env file. But this is the result.

@buddhhu
Copy link
Member

buddhhu commented Aug 24, 2021

@MalinrRuwan Move .env file in /root/TeamUltroid

@MalinrRuwan
Copy link
Author

I the container or in linux machine.

@xditya
Copy link
Member

xditya commented Aug 24, 2021

Please re-check if your .env file exists in the root of the cloned repository, then build the docker and run it.

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

5 participants