Server error on every login (developer branch)


I’m using developer branch with latest updates, and every time a user log in a message that there was a server error pops up, the console shows this error:

“Failed to load resource: the server responded with a status of 500 (INTERNAL SERVER ERROR)
desk.min.js?ver=1505763207.0:1565 Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 57, in application
response = frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 22, in handle
data = execute_cmd(cmd)
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 53, in execute_cmd
return, **frappe.form_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 923, in call
return fn(*args, **newargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/desk/”, line 17, in get_user_progress_slides
slides += frappe.get_attr(fn)()
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/utilities/”, line 262, in get_user_progress_slides
s.done = get_action_completed_state(s.action_name) or 0
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/doctype/setup_progress/”, line 20, in get_action_completed_state
if d.action_name == action_name][0]
IndexError: list index out of range”

I’ve already tried to rerun the patch (add_setup_progress_actions) deleting it from tabPatch Log, migrating, none of this had any error, but the message is still there.

Any ideas?

This was reported on github on Server error on every login · Issue #10835 · frappe/erpnext · GitHub