Jump to content

Exception with Latest version of Pretrodactyl

Pending 1.0.0

MyCodeflingAccount
MyCodeflingAccount

Posted

Exception in thread Thread-9 (run_command):
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.11/threading.py", line 982, in run
    self._target(*self._args, **self._kwargs)
  File "/home/container/main.py", line 293, in run_command
    self.message_command(config_file, message)
  File "/home/container/main.py", line 102, in message_command
    server = self.api.client.servers.get_server_utilization(config["server_id"])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/container/.local/lib/python3.11/site-packages/pydactyl/api/client/servers/base.py", line 60, in get_server_utilization
    return base.parse_response(response, detail)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/container/.local/lib/python3.11/site-packages/pydactyl/api/base.py", line 24, in parse_response
    if response['object'] == 'list':
       ~~~~~~~~^^^^^^^^^^
TypeError: 'Response' object is not subscriptable

2.3m

Downloads

Total number of downloads.

10.6k

Customers

Total customers served.

154k

Files Sold

Total number of files sold.

3.3m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.