HI all! I have problems when import articles in erpnext.
I use the downloaded template for import.
But when start import i receive for each raw the error : " local variable ‘doctype’ referenced before assignment "
Here the traceback, this is identical for each row:
Traceback (most recent call last):
File "/home/frappe/benches/bench-2018-07-31/apps/frappe/frappe/core/doctype/data_import/importer.py", line 392, in upload
doc = frappe.get_doc(doc)
File "/home/frappe/benches/bench-2018-07-31/apps/frappe/frappe/__init__.py", line 638, in get_doc
return frappe.model.document.get_doc(*args, **kwargs)
File "/home/frappe/benches/bench-2018-07-31/apps/frappe/frappe/model/document.py", line 66, in get_doc
controller = get_controller(doctype)
UnboundLocalError: local variable 'doctype' referenced before assignment
Someone could help me?