You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there!
I have and issue creating and export job using celery.
Each time I'm getting this error: TypeError: str() argument 'encoding' must be str, not tuple
Stack Trace:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/celery/app/trace.py", line 453, in trace_task
R = retval = fun(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py", line 1730, in runner
return sentry_patched_function(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/celery/__init__.py", line 406, in _inner
reraise(*exc_info)
File "/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py", line 1659, in reraise
raise value
File "/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/celery/__init__.py", line 401, in _inner
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/celery/app/trace.py", line 736, in __protected_call__
return self.run(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/import_export_celery/tasks.py", line 220, in run_export_job
class Resource(resource_class):
TypeError: str() argument 'encoding' must be str, not tuple
Hi there!
I have and issue creating and export job using celery.
Each time I'm getting this error:
TypeError: str() argument 'encoding' must be str, not tuple
Stack Trace:
Here is my configurations for ModelResource:
This is a classmethod:
And this is creation of export job:
The text was updated successfully, but these errors were encountered: