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

Corporation alliance update should not require CEO token #29

Closed porowns closed 3 years ago

porowns commented 3 years ago
Task django_eveonline_connector.tasks.update_corporation_alliance[fa90b708-8ba2-437a-bbfc-41637d81408d] raised unexpected: EveMissingScopeException('CEO missing the requested scopes to enable corporation tracking. Please update token for {removed}.',)

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 366, in update_corporation_alliance
    eve_corporation.save()
  File "/usr/local/lib/python3.6/site-packages/django_eveonline_connector/models.py", line 427, in save
    raise EveMissingScopeException(f"CEO missing the requested scopes to enable corporation tracking. Please update token for {self.ceo}.")
django_eveonline_connector.exceptions.EveMissingScopeException: CEO missing the requested scopes to enable corporation tracking. Please update token for {removed}.