Hi,
I am trying to create new app using bench new-app custom_app command. But failed with following error.
Command “python setup.py egg_info” failed with error code 1 in /home/pirate/frappe-bench/apps/custom_app/
Traceback (most recent call last):
File “/home/pirate/.local/bin/bench”, line 9, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/home/pirate/bench-repo/bench/cli.py”, line 40, in cli
bench_command()
File “/home/pirate/.local/lib/python2.7/site-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/home/pirate/.local/lib/python2.7/site-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/home/pirate/.local/lib/python2.7/site-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/pirate/.local/lib/python2.7/site-packages/click/core.py”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/pirate/.local/lib/python2.7/site-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/home/pirate/bench-repo/bench/commands/make.py”, line 48, in new_app
new_app(app_name)
File “/home/pirate/bench-repo/bench/app.py”, line 156, in new_app
install_app(app, bench_path=bench_path)
File “/home/pirate/bench-repo/bench/app.py”, line 167, in install_app
find_links=find_links))
File “/home/pirate/bench-repo/bench/utils.py”, line 153, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: ./env/bin/pip install -q -e ./apps/custom_app --no-cache-dir
But bench get-app command works properly.
I also updated bench also.