Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation steps question / ERPNext V13 compatible ? #48

Open
no6una9a opened this issue Jun 19, 2021 · 1 comment
Open

Installation steps question / ERPNext V13 compatible ? #48

no6una9a opened this issue Jun 19, 2021 · 1 comment

Comments

@no6una9a
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants