I found this error this morning.
erpnext.accounts.doctype.asset.depreciation.post_depreciation_entries
{'retry': 0, 'log': <function log at 0x7fda14a2c050>, 'site': u'erp.roboclubusa.com', 'event': u'daily', 'method_name': u'erpnext.accounts.doctype.asset.depreciation.post_depreciation_entries', 'method': <function post_depreciation_entries at 0x7fda14a2c9b0>, 'user': u'Administrator', 'kwargs': {}, 'async': True, 'job_name': u'erpnext.accounts.doctype.asset.depreciation.post_depreciation_entries'}
Traceback (most recent call last):
File "/home/erpnext/frappe-bench/apps/frappe/frappe/utils/background_jobs.py", line 61, in execute_job
method(**kwargs)
File "/home/erpnext/frappe-bench/apps/erpnext/erpnext/accounts/doctype/asset/depreciation.py", line 14, in post_depreciation_entries
make_depreciation_entry(asset, date)
File "/home/erpnext/frappe-bench/apps/erpnext/erpnext/accounts/doctype/asset/depreciation.py", line 61, in make_depreciation_entry
je.submit()
File "/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py", line 723, in submit
self._submit()
File "/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py", line 712, in _submit
self.save()
File "/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py", line 223, in save
return self._save(*args, **kwargs)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py", line 242, in _save
self.insert()
File "/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
self.run_before_save_methods()
File "/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py", line 753, in run_before_save_methods
self.run_method("validate")
File "/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
return composed(self, method, *args, **kwargs)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File "/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File "/home/erpnext/frappe-bench/apps/erpnext/erpnext/accounts/doctype/journal_entry/journal_entry.py", line 42, in validate
self.title = self.get_title()
File "/home/erpnext/frappe-bench/apps/erpnext/erpnext/accounts/doctype/journal_entry/journal_entry.py", line 55, in get_title
return self.pay_to_recd_from or self.accounts[0].account
IndexError: list index out of range
I have 8 asset items that were to have depreciation entries made yesterday 3/9. I have 12 coming up on 3/13. Any idea what caused this error?