Traceback (most recent call last):


 "/home/frappe/prod/apps/frappe/frappe/app.py", line 61, in application

response = frappe.handler.handle()


 "/home/frappe/prod/apps/frappe/frappe/handler.py", line 21, in handle

data = execute_cmd(cmd)


 "/home/frappe/prod/apps/frappe/frappe/handler.py", line 56, in execute_cmd

return frappe.call(method, **frappe.form_dict)


 "/home/frappe/prod/apps/frappe/frappe/__init__.py", line 1007, in call

return fn(*args, **newargs)


 "/home/frappe/prod/apps/frappe/frappe/model/rename_doc.py", line 47, in rename_doc

update_link_field_values(link_fields, old, new, doctype)


 "/home/frappe/prod/apps/frappe/frappe/model/rename_doc.py", line 205, in update_link_field_values

single_doc.save(ignore_permissions=True)


 "/home/frappe/prod/apps/frappe/frappe/model/document.py", line 260, in save

return self._save(*args, **kwargs)


 "/home/frappe/prod/apps/frappe/frappe/model/document.py", line 313, in _save

self.run_post_save_methods()


 "/home/frappe/prod/apps/frappe/frappe/model/document.py", line 905, in run_post_save_methods

self.run_method("on_update")


 "/home/frappe/prod/apps/frappe/frappe/model/document.py", line 772, in run_method

out = Document.hook(fn)(self, *args, **kwargs)


 "/home/frappe/prod/apps/frappe/frappe/model/document.py", line 1048, in composer

return composed(self, method, *args, **kwargs)


 "/home/frappe/prod/apps/frappe/frappe/model/document.py", line 1031, in runner

add_to_return_value(self, fn(self, *args, **kwargs))


 "/home/frappe/prod/apps/frappe/frappe/model/document.py", line 766, in <lambda>

fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)


 "/home/frappe/prod/apps/erpnext/erpnext/erpnext_integrations/doctype/quickbooks_migrator/quickbooks_migrator.py", line 49, in on_update

self.default_warehouse = frappe.get_all('Warehouse', filters={"company": self.company, "is_group": 0})[0]["name"]
IndexError: list index out of range

Traceback (most recent call last):


 "/ihome/ssattert/.local/lib/python3.6/site-packages/pandas/io/pickle.py", line 57, in try_read

return pc.load(fh, encoding=encoding, compat=False)


 "/ihome/ssattert/.local/lib/python3.6/site-packages/pandas/compat/pickle_compat.py", line 117, in load

return up.load()


 "/opt/python/3.6-GPU/lib/python3.6/pickle.py", line 1050, in load

dispatch[key[0]](self)


 "/ihome/ssattert/.local/lib/python3.6/site-packages/pandas/compat/pickle_compat.py", line 17, in load_reduce

if type(args[0]) is type:
IndexError: tuple index out of range
