Hi @flexy2ky,
I have been able at last to try to install your connector.
I am using:
ERPNext: v13.27.0 (version-13)
Frappe Framework: v13.26.1 (version-13)
WooCommerce Connector: v1.7.0 (master)
Trying to install it I got:
Installing woocommerceconnector...
Updating DocTypes for woocommerceconnector: [====================] 100%
An error occurred while installing woocommerceconnector: Module import failed for Test Runner (frappe.core.doctype.test_runner.test_runner Error: No module named 'frappe.core.doctype.test_runner')
Traceback (most recent call last):
File "apps/frappe/frappe/modules/utils.py", line 238, in load_doctype_module
doctype_python_modules[key] = frappe.get_module(module_name)
File "apps/frappe/frappe/__init__.py", line 1190, in get_module
return importlib.import_module(modulename)
File "env/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'frappe.core.doctype.test_runner'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "apps/frappe/frappe/commands/site.py", line 293, in install_app
_install_app(app, verbose=context.verbose)
File "apps/frappe/frappe/installer.py", line 188, in install_app
add_to_installed_apps(name)
File "apps/frappe/frappe/installer.py", line 215, in add_to_installed_apps
post_install(rebuild_website)
File "apps/frappe/frappe/installer.py", line 369, in post_install
init_singles()
File "apps/frappe/frappe/installer.py", line 386, in init_singles
doc = frappe.new_doc(single)
File "apps/frappe/frappe/__init__.py", line 993, in new_doc
return get_new_doc(doctype, parent_doc, parentfield, as_dict=as_dict)
File "apps/frappe/frappe/model/create_new.py", line 24, in get_new_doc
frappe.local.new_doc_templates[doctype] = make_new_doc(doctype)
File "apps/frappe/frappe/model/create_new.py", line 39, in make_new_doc
doc = frappe.get_doc(
File "apps/frappe/frappe/__init__.py", line 1067, in get_doc
doc = frappe.model.document.get_doc(*args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 77, in get_doc
controller = get_controller(doctype)
File "apps/frappe/frappe/model/base_document.py", line 82, in get_controller
site_controllers[doctype] = _get_controller()
File "apps/frappe/frappe/model/base_document.py", line 64, in _get_controller
module = load_doctype_module(doctype, module_name)
File "apps/frappe/frappe/modules/utils.py", line 240, in load_doctype_module
raise ImportError(
ImportError: Module import failed for Test Runner (frappe.core.doctype.test_runner.test_runner Error: No module named 'frappe.core.doctype.test_runner')
Should I do anything about the error?
I can see About says the connector is installed but I am not sure it is installed or not. I see the same I was seeing with ERPNext native connector.
Thanks and kind regards,
Alb