Hello,
I am trying to install HRMS using following command
bench get-app --resolve-deps hrms
But it is failing. Here is the output.
ERROR: Invalid frappe path: erpnext
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/bench/utils/__init__.py", line 73, in is_valid_frappe_branch
res = g.ls_remote("--heads", "--tags", frappe_path, frappe_branch)
File "/usr/local/lib/python3.10/dist-packages/git/cmd.py", line 545, in <lambda>
return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/git/cmd.py", line 1014, in _call_process
return self.execute(call, **exec_kwargs)
File "/usr/local/lib/python3.10/dist-packages/git/cmd.py", line 825, in execute
raise GitCommandError(command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
cmdline: git ls-remote --heads --tags erpnext version-14
stderr: 'fatal: 'erpnext' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/bin/bench", line 8, in <module>
sys.exit(cli())
File "/usr/local/lib/python3.10/dist-packages/bench/cli.py", line 127, in cli
bench_command()
File "/usr/lib/python3/dist-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/bench/commands/make.py", line 159, in get_app
get_app(
File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 360, in get_app
resolution = make_resolution_plan(app, bench)
File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 285, in make_resolution_plan
is_valid_frappe_branch(dep_app.url, dep_app.branch)
File "/usr/local/lib/python3.10/dist-packages/bench/utils/__init__.py", line 79, in is_valid_frappe_branch
raise InvalidRemoteException(f"Invalid frappe path: {frappe_path}") from e
bench.exceptions.InvalidRemoteException: Invalid frappe path: erpnext
I tried this on two separate PC with same result.
How to solve this?
TIA
Yogi Yang