Hi Guys,
I’m facing the below error while I’m trying to open GST Setting. And the version is ERP Next 14.
Hi Guys,
I’m facing the below error while I’m trying to open GST Setting. And the version is ERP Next 14.
Starting v14, you must install a separate app for India Specific Features.
However, your error seems to be because of your custom app.
You may need to fix your custom app to be compatible with v14.
Hi @Smit_Vora , Thanks for your reply🙏
I’m getting this error
frappe@server:~/frappe-bench$ bench get-app https://github.com/resilient-tech/india-compliance.git
Getting india-compliance
$ git clone https://github.com/resilient-tech/india-compliance.git --depth 1 --origin upstream
Cloning into 'india-compliance'...
remote: Enumerating objects: 279, done.
remote: Counting objects: 100% (279/279), done.
remote: Compressing objects: 100% (254/254), done.
remote: Total 279 (delta 24), reused 143 (delta 14), pack-reused 0
Receiving objects: 100% (279/279), 597.81 KiB | 5.20 MiB/s, done.
Resolving deltas: 100% (24/24), done.
Ignoring dependencies of https://github.com/resilient-tech/india-compliance.git. To install dependencies use --resolve-deps
Installing india_compliance
$ /home/frappe/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe/frappe-bench/apps/india_compliance
$ bench build --app india_compliance
✔ Application Assets Linked
yarn run v1.22.19
$ node esbuild --production --apps india_compliance --run-build-command
clean: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
clean: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
clean: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
clean: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
File Size
india_compliance/dist/js/
├─ gst_india.bundle.PQO6OMFD.js 8.83 Kb
└─ india_compliance_account.bundle.NFIF2EGX.js 221.57 Kb
india_compliance/dist/css/
└─ india_compliance_account.bundle.5AR4ODQW.css 3.10 Kb
india_compliance/dist/css-rtl/
└─ india_compliance_account.bundle.JXHJAGWI.css 3.10 Kb
DONE Total Build Time: 1.756s
Done in 2.51s.
$ supervisorctl restart frappe:
error: <class 'PermissionError'>, [Errno 13] Permission denied: file: /usr/lib/python3/dist-packages/supervisor/xmlrpc.py line: 560
ERROR:
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 432, in get_app
app.install(verbose=verbose, skip_assets=skip_assets, restart_bench=restart_bench)
File "/usr/local/lib/python3.10/dist-packages/bench/utils/render.py", line 126, in wrapper_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 230, in install
install_app(
File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 577, in install_app
bench.reload()
File "/usr/local/lib/python3.10/dist-packages/bench/utils/render.py", line 126, in wrapper_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/bench/bench.py", line 150, in reload
restart_supervisor_processes(bench_path=self.name, web_workers=web)
File "/usr/local/lib/python3.10/dist-packages/bench/utils/bench.py", line 304, in restart_supervisor_processes
bench.run(f"{sudo}supervisorctl restart {group}")
File "/usr/local/lib/python3.10/dist-packages/bench/bench.py", line 47, in run
return exec_cmd(cmd, cwd=cwd or self.cwd)
File "/usr/local/lib/python3.10/dist-packages/bench/utils/__init__.py", line 155, in exec_cmd
raise CommandFailedError
bench.exceptions.CommandFailedError
You’ll need to fix it by adding following lines under [unix_http_server]
in /etc/supervisor/supervisord.conf
:
chmod=0760
chown=frappe:frappe
After making above change, just restart supervisor:
sudo systemctl restart supervisor
Hi @snv, Thanks for your reply
This is production environment
I did this. But, In app folder india_compliance folder is Present. Do I need to run below command again?
bench get-app https://github.com/resilient-tech/india-compliance.git
No. Just install the app on the required site(s). That should be it.