wooyek / django-tasker

Dead simple async task queue. Stores tasks in database.
MIT License
1 stars 1 forks source link

Getting unexpected keyword argument error when trying to open admin TaskInfos item #5

Open calcutec opened 5 years ago

calcutec commented 5 years ago

Environment:

Request Method: GET Request URL: http://localhost:8005/admin/django_tasker/taskinfo/

Django Version: 2.1.7 Python Version: 3.6.8 Installed Applications: ['blog', 'home', 'notes', 'releases', 'standard_page', 'utils', 'wagtail.contrib.forms', 'wagtail.contrib.redirects', 'wagtail.embeds', 'wagtail.sites', 'wagtail.users', 'wagtail.snippets', 'wagtail.documents', 'wagtail.images', 'wagtail.search', 'wagtail.admin', 'wagtail.core', 'modelcluster', 'taggit', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'storages', 'srcproducts.apps.SrcProductsConfig', 'dpm.apps.ProductsConfig', 'publishing.apps.PublishingConfig', 'django.contrib.admin', 's3direct', 'nested_admin', 'inline_actions', 'django_tasker', 'wagtail.contrib.settings'] Installed Middleware: ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'wagtail.core.middleware.SiteMiddleware', 'wagtail.contrib.redirects.middleware.RedirectMiddleware', 'django_currentuser.middleware.ThreadLocalUserMiddleware']

Traceback:

File "C:\Users\burton\Projects\djangodigital\dpmvenv\lib\site-packages\django\core\handlers\exception.py" in inner

  1. response = get_response(request)

File "C:\Users\burton\Projects\djangodigital\dpmvenv\lib\site-packages\django\core\handlers\base.py" in _get_response

  1. response = self.process_exception_by_middleware(e, request)

File "C:\Users\burton\Projects\djangodigital\dpmvenv\lib\site-packages\django\core\handlers\base.py" in _get_response

  1. response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "C:\Users\burton\Projects\djangodigital\dpmvenv\lib\site-packages\django\contrib\admin\options.py" in wrapper

  1. return self.admin_site.admin_view(view)(*args, **kwargs)

File "C:\Users\burton\Projects\djangodigital\dpmvenv\lib\site-packages\django\utils\decorators.py" in _wrapped_view

  1. response = view_func(request, *args, **kwargs)

File "C:\Users\burton\Projects\djangodigital\dpmvenv\lib\site-packages\django\views\decorators\cache.py" in _wrapped_view_func

  1. response = view_func(request, *args, **kwargs)

File "C:\Users\burton\Projects\djangodigital\dpmvenv\lib\site-packages\django\contrib\admin\sites.py" in inner

  1. return view(request, *args, **kwargs)

File "C:\Users\burton\Projects\djangodigital\dpmvenv\lib\site-packages\django\utils\decorators.py" in _wrapper

  1. return bound_method(*args, **kwargs)

File "C:\Users\burton\Projects\djangodigital\dpmvenv\lib\site-packages\django\utils\decorators.py" in _wrapped_view

  1. response = view_func(request, *args, **kwargs)

File "C:\Users\burton\Projects\djangodigital\dpmvenv\lib\site-packages\django\contrib\admin\options.py" in changelist_view

  1. cl = self.get_changelist_instance(request)

File "C:\Users\burton\Projects\djangodigital\dpmvenv\lib\site-packages\django\contrib\admin\options.py" in get_changelist_instance

  1. sortable_by,

File "C:\Users\burton\Projects\djangodigital\dpmvenv\lib\site-packages\django\contrib\admin\views\main.py" in init

  1. self.root_queryset = model_admin.get_queryset(request)

File "C:\Users\burton\Projects\djangodigital\dpmvenv\lib\site-packages\django_tasker\admin.py" in get_queryset

  1. return TableStatusQuerySet.wrap_query(qs)

File "C:\Users\burton\Projects\djangodigital\dpmvenv\lib\site-packages\django_tasker\admin.py" in wrap_query

  1. return qry._clone(klass=cls)

Exception Type: TypeError at /admin/django_tasker/taskinfo/ Exception Value: _clone() got an unexpected keyword argument 'klass'