ImportError: Module import failed for GST Settings, the DocType you're trying to open might be deleted

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
Getting india-compliance
$ git clone  --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 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:
clean: postcss.plugin was deprecated. Migration guide:
clean: postcss.plugin was deprecated. Migration guide:
clean: postcss.plugin was deprecated. Migration guide:
Browserslist: caniuse-lite is outdated. Please run:
  npx browserslist@latest --update-db
  Why you should do it regularly:
File                                                        Size

├─ gst_india.bundle.PQO6OMFD.js                             8.83 Kb
└─ india_compliance_account.bundle.NFIF2EGX.js              221.57 Kb

└─ india_compliance_account.bundle.5AR4ODQW.css             3.10 Kb

└─ 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/ line: 560
Traceback (most recent call last):
  File "/usr/local/bin/bench", line 8, in <module>
  File "/usr/local/lib/python3.10/dist-packages/bench/", line 127, in cli
  File "/usr/lib/python3/dist-packages/click/", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/", line 1053, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3/dist-packages/click/", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3/dist-packages/click/", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/bench/commands/", line 159, in get_app
  File "/usr/local/lib/python3.10/dist-packages/bench/", 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/", line 126, in wrapper_fn
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/bench/", line 230, in install
  File "/usr/local/lib/python3.10/dist-packages/bench/", line 577, in install_app
  File "/usr/local/lib/python3.10/dist-packages/bench/utils/", line 126, in wrapper_fn
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/bench/", line 150, in reload
    restart_supervisor_processes(, web_workers=web)
  File "/usr/local/lib/python3.10/dist-packages/bench/utils/", line 304, in restart_supervisor_processes"{sudo}supervisorctl restart {group}")
  File "/usr/local/lib/python3.10/dist-packages/bench/", line 47, in run
    return exec_cmd(cmd, cwd=cwd or self.cwd)
  File "/usr/local/lib/python3.10/dist-packages/bench/utils/", line 155, in exec_cmd
    raise CommandFailedError

You’ll need to fix it by adding following lines under [unix_http_server] in /etc/supervisor/supervisord.conf:


After making above change, just restart supervisor:

sudo systemctl restart supervisor

Ref: Error: <class ‘PermissionError’>, [Errno 13] Permission denied: file: /usr/lib/python3/dist-packages/supervisor/ line: 560 - #5 by ERP_Implementer1


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

No. Just install the app on the required site(s). That should be it.

Hi @snv,

  It is working good now. Thanks for your support 🙏

Hi @Smit_Vora ,

Thank you for your support :pray:

1 Like