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

KeyError: 'commands' from ACTIVATION_URL #12

Open
damascene opened this issue Nov 22, 2024 · 0 comments
Open

KeyError: 'commands' from ACTIVATION_URL #12

damascene opened this issue Nov 22, 2024 · 0 comments

Comments

@damascene
Copy link

# ./makerbot.py 

Traceback (most recent call last):
  File "/app/pytomicDEX_makerbot/const.py", line 66, in <module>
    ACTIVATE_COMMANDS = requests.get(ACTIVATION_URL).json()["commands"]
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
KeyError: 'commands'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/pytomicDEX_makerbot/./makerbot.py", line 4, in <module>
    from helpers import (
  File "/app/pytomicDEX_makerbot/helpers.py", line 10, in <module>
    from const import ACTIVATE_COMMANDS, PRICES_URL, OP_SYS, SCRIPT_PATH
  File "/app/pytomicDEX_makerbot/const.py", line 76, in <module>
    f"Unable to load {ACTIVATE_COMMANDS}, please check your internet connection, or report this to smk on Discord."

Is that the Activation URL doesn't provide commadns anymore?

ACTIVATION_URL = "http://stats.kmd.io/api/atomicdex/activation_commands/"

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

1 participant