Skip to content

KeyError: 'commands' from ACTIVATION_URL #12

Description

@damascene
# ./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/"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions