Open fergbrain opened 4 years ago
I'm getting a similar error.
Traceback (most recent call last): File "YNAB/main.py", line 55, in
budget = ynab.get_budget_by_id_detailed(ynab_budget_id) File "/home/pi/YNAB/ynab_client.py", line 78, in get_budget_by_id budget = ynab_resources.Budget(json_data["budget"],details=True) File "/home/pi/YNAB/ynab_resources.py", line 35, in init self.get_details(json_data) File "/home/pi/YNAB/ynab_resources.py", line 53, in get_details t.payee_name = [p.name for p in self.payees if p.id == t.payee_id][0] IndexError: list index out of range
Does this dashboard still work? Or have there been API updates to YNAB that break the dashboard?
If the dashboard still works, can you please write up detailed step-by-step instructions? It's currently a bit vague how to install/set up everything.
I'm getting the following error when I run main.py:
Note: using a try/except makes the error go away, though I'm not sure if it fixes the root cause.