bench new-app lbs
App Title [Lbs]:
App Description: l
App Publisher: l
App Email: l@gmail.com
App License [MIT]:
Create GitHub Workflow action for unittests [y/N]: y
‘lbs’ created at /Users/ramki/frappe-bench/apps/lbs
Installing lbs
$ /Users/ramki/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /Users/ramki/frappe-bench/apps/lbs
$ bench build --app lbs
Linking /Users/ramki/frappe-bench/apps/frappe/node_modules to ./assets/frappe/node_modules Linking /Users/ramki/frappe-bench/apps/hackathonchennai2023/hackathonchennai2023/public to ./assets/hackathonchennai2023 Linking /Users/ramki/frappe-bench/apps/meeting/meeting/public to ./assets/meeting Linking /Users/ramki/frappe-bench/apps/demo_app/demo_app/public to ./assets/demo_app
Application Assets Linked
yarn run v1.22.18
$ node esbuild --apps lbs --run-build-command
File Size
DONE Total Build Time: 294.101ms
WARN Cannot connect to redis_cache to update assets_json
WARN Cannot connect to redis_cache to update assets_json
WARN Cannot connect to redis_cache to update assets_json
Done in 4.14s.
Password:
ERROR: Command ‘sudo supervisorctl status’ returned non-zero exit status 2.
Traceback (most recent call last):
File “/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bench/utils/bench.py”, line 287, in restart_supervisor_processes
supervisor_status = get_cmd_output(“supervisorctl status”, cwd=bench_path)
File “/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bench/utils/init.py”, line 212, in get_cmd_output
output = subprocess.check_output(cmd, cwd=cwd, shell=True, stderr=subprocess.PIPE, encoding=“utf-8”).strip()
File “/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py”, line 420, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File “/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py”, line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command ‘supervisorctl status’ returned non-zero exit status 2.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/Library/Frameworks/Python.framework/Versions/3.10/bin/bench”, line 8, in
sys.exit(cli())
File “/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bench/cli.py”, line 121, in cli
raise e
File “/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bench/cli.py”, line 111, in cli
bench_command()
File “/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py”, line 1130, in call
return self.main(*args, **kwargs)
File “/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py”, line 1055, in main
rv = self.invoke(ctx)
File “/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py”, line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py”, line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py”, line 760, in invoke
return __callback(*args, **kwargs)
File “/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bench/commands/make.py”, line 177, in new_app
new_app(app_name, no_git)
File “/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bench/app.py”, line 524, in new_app
install_app(app, bench_path=bench_path)
File “/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bench/app.py”, line 567, in install_app
bench.reload()
File “/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bench/utils/render.py”, line 110, in wrapper_fn
return fn(*args, **kwargs)
File “/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bench/bench.py”, line 151, in reload
restart_supervisor_processes(bench_path=self.name, web_workers=web)
File “/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bench/utils/bench.py”, line 293, in restart_supervisor_processes
supervisor_status = get_cmd_output(“sudo supervisorctl status”, cwd=bench_path)
File “/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bench/utils/init.py”, line 212, in get_cmd_output
output = subprocess.check_output(cmd, cwd=cwd, shell=True, stderr=subprocess.PIPE, encoding=“utf-8”).strip()
File “/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py”, line 420, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File “/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py”, line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command ‘sudo supervisorctl status’ returned non-zero exit status 2.