brutasse / django-rq-dashboard

A dashboard for managing RQ in the Django admin
BSD 3-Clause "New" or "Revised" License
86 stars 28 forks source link

cond() missing 1 required positional argument: 'next_run' #11

Open ActionScripted opened 8 years ago

ActionScripted commented 8 years ago
TypeError at /admin/rq/scheduler/default/

cond() missing 1 required positional argument: 'next_run'

Request Method:     GET
Request URL:    http://192.168.99.100:8000/admin/rq/scheduler/default/
Django Version:     1.8
Exception Type:     TypeError
Exception Value:    

cond() missing 1 required positional argument: 'next_run'

Exception Location:     /usr/local/lib/python3.5/site-packages/django_rq_dashboard/views.py in <listcomp>, line 239
Python Executable:  /usr/local/bin/python
Python Version:     3.5.1
Python Path:    

['/django-rq',
 '/usr/local/lib/python35.zip',
 '/usr/local/lib/python3.5',
 '/usr/local/lib/python3.5/plat-linux',
 '/usr/local/lib/python3.5/lib-dynload',
 '/usr/local/lib/python3.5/site-packages']

Server time:    Fri, 5 Feb 2016 19:16:28 +0000

When going to Django RQ Dashboard > Scheduler (title) > [some queue]

brutasse commented 8 years ago

This has been fixed in master: 428a6d1c7f71a64911576a772d82b7faf3c16dcc

I'll make a release with the url fix.