Im working in version 13 can’t i use hrms in version 13 itself
bench get-app --resolve-deps hrms
Following apps will be installed
1. frappe/erpnext (required by hrms)
2. hrms
fatal: ref refs/remotes/upstream/HEAD is not a symbolic ref
Incompatible version of erpnext is already installed
ERROR: sync() got an unexpected keyword argument 'required_list'
Traceback (most recent call last):
File "/usr/local/bin/bench", line 8, in <module>
sys.exit(cli())
File "/usr/local/lib/python3.8/dist-packages/bench/cli.py", line 121, in cli
raise e
File "/usr/local/lib/python3.8/dist-packages/bench/cli.py", line 111, in cli
bench_command()
File "/home/prerana/.local/lib/python3.8/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
File "/home/prerana/.local/lib/python3.8/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/home/prerana/.local/lib/python3.8/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/prerana/.local/lib/python3.8/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/prerana/.local/lib/python3.8/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/bench/commands/make.py", line 156, in get_app
get_app(
File "/usr/local/lib/python3.8/dist-packages/bench/app.py", line 388, in get_app
install_resolved_deps(
File "/usr/local/lib/python3.8/dist-packages/bench/app.py", line 477, in install_resolved_deps
app.update_app_state()
File "/usr/local/lib/python3.8/dist-packages/bench/app.py", line 261, in update_app_state
bench.apps.sync(app_dir=self.app_name, app_name=self.name,
TypeError: sync() got an unexpected keyword argument 'required_list'
If i try just
bench get-app hrms https://github.com/frappe/hrms.git
A directory for the application 'hrms' already exists. Do you want to continue and overwrite it? [y/N]: y
Getting hrms
$ git clone https://github.com/frappe/hrms.git --depth 1 --origin upstream
Cloning into 'hrms'...
remote: Enumerating objects: 1327, done.
remote: Counting objects: 100% (1327/1327), done.
remote: Compressing objects: 100% (1087/1087), done.
remote: Total 1327 (delta 327), reused 769 (delta 176), pack-reused 0
Receiving objects: 100% (1327/1327), 2.84 MiB | 9.61 MiB/s, done.
Resolving deltas: 100% (327/327), done.
ERROR: [Errno 2] No such file or directory: '/home/prerana/Desktop/hrms/apps/hrms/setup.py'
Traceback (most recent call last):
File "/usr/local/bin/bench", line 8, in <module>
sys.exit(cli())
File "/usr/local/lib/python3.8/dist-packages/bench/cli.py", line 121, in cli
raise e
File "/usr/local/lib/python3.8/dist-packages/bench/cli.py", line 111, in cli
bench_command()
File "/home/prerana/.local/lib/python3.8/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
File "/home/prerana/.local/lib/python3.8/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/home/prerana/.local/lib/python3.8/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/prerana/.local/lib/python3.8/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/prerana/.local/lib/python3.8/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/bench/commands/make.py", line 156, in get_app
get_app(
File "/usr/local/lib/python3.8/dist-packages/bench/app.py", line 420, in get_app
app.install(verbose=verbose, skip_assets=skip_assets, restart_bench=restart_bench)
File "/usr/local/lib/python3.8/dist-packages/bench/utils/render.py", line 110, in wrapper_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/bench/app.py", line 217, in install
app_name = get_app_name(self.bench.name, self.app_name)
File "/usr/local/lib/python3.8/dist-packages/bench/utils/app.py", line 224, in get_app_name
with open(app_path, "rb") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/prerana/Desktop/hrms/apps/hrms/setup.py'
I am getting this error, please anyone help me