Good day to all of you. I’m trying to install ERP - Opencart integration.
The Opencart api is displayed in installer, in my ERP, but when i push
install, it says, that it’s Not permitted. Also i have next error:
Cloning into ‘opencart_api’…
remote: Counting objects: 189, done.
remote: Total 189 (delta 0), reused 0 (delta 0), pack-reused 189
Receiving objects: 100% (189/189), 50.69 KiB, done.
Resolving deltas: 100% (106/106), done.
installing opencart_api
Usage: bench_helper.py [OPTIONS] COMMAND [ARGS]…
Error: No such command “frappe”.
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench==0.1’, ‘console_scripts’, ‘bench’)()
File “/home/frappe/bench-repo/bench/cli.py”, line 55, in cli
bench()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 664, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 644, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 991, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 837, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 464, in invoke
return callback(*args, **kwargs)
File “/home/frappe/bench-repo/bench/cli.py”, line 167, in get_app
_get_app(name, git_url, branch=branch)
File “/home/frappe/bench-repo/bench/app.py”, line 56, in get_app
build_assets(bench=bench)
File “/home/frappe/bench-repo/bench/utils.py”, line 124, in build_assets
run_frappe_cmd(‘build’, bench=bench)
File “/home/frappe/bench-repo/bench/utils.py”, line 427, in run_frappe_cmd
subprocess.check_call((f, ‘-m’, ‘frappe.utils.bench_helper’, ‘frappe’) + args, cwd=sites_dir)
File “/usr/lib/python2.7/subprocess.py”, line 511, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError:
Command ‘(’/home/frappe/frappe-bench/env/bin/python’, ‘-m’,
‘frappe.utils.bench_helper’, ‘frappe’, ‘build’)’ returned non-zero exit
status 2
May be u can help me with this? Thank you.