in my frappe custom application.
while installing i am getting error as:
Getting audit
$ git clone git_repo_link --depth 1 --origin upstream
Cloning into 'audit'...
remote: Enumerating objects: 46, done.
remote: Counting objects: 100% (46/46), done.
remote: Compressing objects: 100% (37/37), done.
remote: Total 46 (delta 16), reused 25 (delta 3), pack-reused 0 (from 0)
Receiving objects: 100% (46/46), 10.94 KiB | 266.00 KiB/s, done.
Resolving deltas: 100% (16/16), done.
ERROR: [Errno 2] No such file or directory: '/home/nagesh09/frappe-bench/apps/audit/setup.py'
Traceback (most recent call last):
File "/usr/local/bin/bench", line 8, in <module>
sys.exit(cli())
^^^^^
File "/usr/local/lib/python3.12/dist-packages/bench/cli.py", line 132, in cli
bench_command()
File "/usr/lib/python3/dist-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/bench/commands/make.py", line 181, in get_app
get_app(
File "/usr/local/lib/python3.12/dist-packages/bench/app.py", line 777, in get_app
app.install(verbose=verbose, skip_assets=skip_assets, restart_bench=restart_bench)
File "/usr/local/lib/python3.12/dist-packages/bench/utils/render.py", line 126, in wrapper_fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/bench/app.py", line 247, in install
app_name = get_app_name(self.bench.name, self.app_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/bench/utils/app.py", line 249, in get_app_name
with open(setup_py_path, "rb") as f:
^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/nagesh09/frappe-bench/apps/audit/setup.py'
there is not setup file for other custom apps, but why is this issue occuring
how to solve it?