Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZADD requires an equal number of values and scores #31

Open
darkpixel opened this issue Jan 4, 2019 · 1 comment
Open

ZADD requires an equal number of values and scores #31

darkpixel opened this issue Jan 4, 2019 · 1 comment
Labels

Comments

@darkpixel
Copy link

When attempting to schedule a job through Django's admin site, I get the following traceback:

File "/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
  34.             response = get_response(request)

File "/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
  126.                 response = self.process_exception_by_middleware(e, request)

File "/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
  124.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/local/lib/python3.6/site-packages/django/contrib/admin/options.py" in wrapper
  604.                 return self.admin_site.admin_view(view)(*args, **kwargs)

File "/local/lib/python3.6/site-packages/django/utils/decorators.py" in _wrapped_view
  142.                     response = view_func(request, *args, **kwargs)

File "/local/lib/python3.6/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
  44.         response = view_func(request, *args, **kwargs)

File "/local/lib/python3.6/site-packages/django/contrib/admin/sites.py" in inner
  223.             return view(request, *args, **kwargs)

File "/local/lib/python3.6/site-packages/django/contrib/admin/options.py" in add_view
  1636.         return self.changeform_view(request, None, form_url, extra_context)

File "/local/lib/python3.6/site-packages/django/utils/decorators.py" in _wrapper
  45.         return bound_method(*args, **kwargs)

File "/local/lib/python3.6/site-packages/django/utils/decorators.py" in _wrapped_view
  142.                     response = view_func(request, *args, **kwargs)

File "/local/lib/python3.6/site-packages/django/contrib/admin/options.py" in changeform_view
  1525.             return self._changeform_view(request, object_id, form_url, extra_context)

File "/local/lib/python3.6/site-packages/django/contrib/admin/options.py" in _changeform_view
  1564.                 self.save_model(request, new_object, form, not add)

File "/local/lib/python3.6/site-packages/django/contrib/admin/options.py" in save_model
  1091.         obj.save()

File "/local/lib/python3.6/site-packages/scheduler/models.py" in save
  77.             self.schedule()

File "/local/lib/python3.6/site-packages/scheduler/models.py" in schedule
  157.         job = self.scheduler().schedule(**kwargs)

File "/local/lib/python3.6/site-packages/rq_scheduler/scheduler.py" in schedule
  214.                               {job.id: to_unix(scheduled_time)})

File "/local/lib/python3.6/site-packages/redis/client.py" in zadd
  2051.                 raise RedisError("ZADD requires an equal number of "

Exception Type: RedisError at /admin/scheduler/repeatablejob/add/
Exception Value: ZADD requires an equal number of values and scores

Note: I shortened the paths because in the traceback because they were about nine miles long.

@hellosteadman
Copy link

This could use someone's eyeballs as it's still an issue.

@g3rd g3rd added the bug label Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants