KryptedGaming / django-eveonline-connector

Django extension that adds entity models, SSO views, and celery tasks to interact with the #1 sci-fi sandbox MMO.
https://pypi.org/project/django-eveonline-connector/
MIT License
1 stars 1 forks source link

EveClient returning none #53

Closed porowns closed 3 years ago

porowns commented 3 years ago
Task django_eveonline_connector.tasks.update_character_contracts[1c555451-0ed0-4f4d-adbc-0e55054a5410] raised unexpected: AttributeError("'NoneType' object has no attribute 'op'",)

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 385, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 648, in __protected_call__
    return self.run(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/django_eveonline_connector/tasks.py", line 275, in update_character_contracts
    op, *args, delete=False, **kwargs, character_id=character_id, data_model=data_model)
  File "/usr/local/lib/python3.6/site-packages/django_eveonline_connector/tasks.py", line 218, in update_character_eveentitydata
    response = EveClient.call(op, character_id=character.external_id)
  File "/usr/local/lib/python3.6/site-packages/django_eveonline_connector/models.py", line 91, in call
    operation = EveClient.get_esi_app().op[op]
AttributeError: 'NoneType' object has no attribute 'op'