Issue: frappe.exceptions.DoesNotExistError: Company None not found

Hello Guys

I have faced issue “frappe.exceptions.DoesNotExistError: Company None not found” while performed below command. used develop branch

bench --site test1 install-app erpnext

Please help me.

Thanks.

Pushed a fix, please try again.

1 Like

Thanks for quick reply. :slight_smile:

waiting for the fix

The problem is fixed, but from setup-wizard in last step, it shows

Duplicate name Domain Retail
Duplicate name Domain Education
Duplicate name Domain Healthcare
Duplicate name Domain Agriculture
Duplicate name Domain Non Profit
Setting this Address Template as default as there is no other default
Company trademode trimmint not found

I have faced same issue.

Duplicate name Domain Retail
Duplicate name Domain Education
Duplicate name Domain Healthcare
Duplicate name Domain Agriculture
Duplicate name Domain Non Profit
Setting this Address Template as default as there is no other default
Company softetch not found

The issue still occurs with version ERPNext: v11.x.x-develop (ddbf3aa) (develop)

Please take latest pull ERPNext and Frappe from git hub and created new environment setup.

I am getting the same error : Company None not found.
Followed the Steps taken latest pulls from github. still no good.

Have anyone found the solutions?

Go to Global Defaults DocType. Set the Default Company. This occurs mostly due to an installation failure.

1 Like

To set the default company under global defaults does not resolve the issue. Same error after change of email password. With more than 60 projects and 5000 emails on this installation there is very limited options to rebuild a fresh installation. :frowning:

1 Like

Please can someone help??? i am facing this issue while updating my instance and now i cannot log back in to check global defaults as i see your system is being updated error.

My issue was resolved here:

Getting: “frappe.exceptions.DoesNotExistError: DocType Web Page Block not found” when updating develop.

Just a headsup :slight_smile: