libracore / WooCommerceConnector

Integration App for ERPNext to connect to WooCommerce
Other
88 stars 149 forks source link

Installation steps question / ERPNext V13 compatible ? #48

Open no6una9a opened 3 years ago

no6una9a commented 3 years ago

I have the following question about how to install the WooCommerce Connector App. In the Readme.md the install is documented like that:

$ cd /home/frappe/frappe-bench $ bench get-app https://github.com/libracore/woocommerceconnector.git $ bench install-app woocommerceconnector

When I do the first bench command, from my point of view, the install is also done?!? This is the result of the first bench command:

erpnext@shop:/srv/bench/frappe-bench$ bench get-app https://github.com/libracore/woocommerceconnector.git WARN: bench is installed in editable mode!

This is not the recommended mode of installation for production. Instead, install the package from PyPI with: pip install frappe-bench

Getting woocommerceconnector $ git clone https://github.com/libracore/woocommerceconnector.git --depth 1 --origin upstream Cloning into 'woocommerceconnector'... remote: Enumerating objects: 80, done. remote: Counting objects: 100% (80/80), done. remote: Compressing objects: 100% (65/65), done. remote: Total 80 (delta 10), reused 49 (delta 4), pack-reused 0 Unpacking objects: 100% (80/80), done.

Installing woocommerceconnector $ ./env/bin/python -m pip install -q -U -e ./apps/woocommerceconnector $ bench build --app woocommerceconnector WARN: bench is installed in editable mode!

This is not the recommended mode of installation for production. Instead, install the package from PyPI with: pip install frappe-bench

Linking /srv/bench/frappe-bench/apps/frappe/node_modules to ./assets/frappe/nodeLinking /srv/bench/frappe-bench/apps/erpnext/node_modules to ./assets/erpnext/no✔ Application Assets Linked

yarn run v1.22.10 $ FRAPPE_ENV=production node rollup/build.js --app woocommerceconnector Production mode ✔ Built js/moment-bundle.min.js ✔ Built js/libs.min.js Done in 1.00s. $ supervisorctl restart frappe-bench-workers: frappe-bench-web: frappe-bench-workers:frappe-bench-frappe-schedule: stopped frappe-bench-workers:frappe-bench-frappe-long-worker-0: stopped frappe-bench-workers:frappe-bench-frappe-default-worker-0: stopped frappe-bench-workers:frappe-bench-frappe-short-worker-0: stopped frappe-bench-web:frappe-bench-node-socketio: stopped frappe-bench-web:frappe-bench-frappe-web: stopped frappe-bench-workers:frappe-bench-frappe-schedule: started frappe-bench-workers:frappe-bench-frappe-default-worker-0: started frappe-bench-workers:frappe-bench-frappe-long-worker-0: started frappe-bench-workers:frappe-bench-frappe-short-worker-0: started frappe-bench-web:frappe-bench-frappe-web: started frappe-bench-web:frappe-bench-node-socketio: started erpnext@shop:/srv/bench/frappe-bench$

When I issue the second bench command I get the following error:

erpnext@shop:/srv/bench/frappe-bench$ bench install-app woocommerceconnector WARN: bench is installed in editable mode!

This is not the recommended mode of installation for production. Instead, install the package from PyPI with: pip install frappe-bench

Installing woocommerceconnector... An error occurred while installing woocommerceconnector: ('Module Def', 'WooCommerceConnector', IntegrityError(1062, "Duplicate entry 'WooCommerceConnector' for key 'PRIMARY'")) erpnext@shop:/srv/bench/frappe-bench$

Unfortunately when I go to the WooCommerce Connector config section I get the following error message:

App woocommerceconnector is not installed Invalid Method

Did I do anything wrong there? Did anybody manage to get the WooCommerce Connector successfully installed on a ERPNext Version 13 system?

Kind regards, Nobunaga

sptechcue commented 1 year ago

Functional in version 14