Setup wizard has been ended with the following and DOES NOT respond to “Report this issue” button.
v7.1.1 ERPNext
v7.1.2 Frappe
//
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 55, in application
response = frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 19, in handle
execute_cmd(cmd)
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 36, in execute_cmd
**ret = frappe.call(method, frappe.form_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 890, in call
**return fn(*args, newargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/desk/page/setup_wizard/setup_wizard.py”, line 36, in setup_complete
frappe.get_attr(method)(args)
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/setup_wizard/setup_wizard.py”, line 27, in setup_complete
create_sales_tax(args)
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/setup_wizard/setup_wizard.py”, line 250, in create_sales_tax
if len(country_wise_tax)>0:
TypeError: object of type ‘NoneType’ has no len()
//
It has been found that, same copy is doing fine upon choosing USA as country during the initial setup wizard which indicates that, the above reported errors were encountered upon choosing UAE i.e. Tax Free
Please advice on what to do and how to correct this issue?
I have been tried to fool the system by launching USA company to bypass the above errors and changing to UAE later, but it has been found that, all sales order items, quotation items etc. lists still showing USD currency even after redefining company to UAE and AED as currency.
@vCentre @mayar as a fix for now, do this.
Go to
frappe-bench->apps->erpnext->erpnext->setup->setup_wizard->data->country_wise_tax.json
Add the tax structure for the missing countries. This will solve the above issue
Looks like we have fixed this. Can you please update to the latest version and retry. ( run bench update)
Yessss, it’s solved now by update