frappe_base_vat

Hi

I had tried to install base_vat GitHub - saguas/frappe_base_vat: Repository for frappe base vat application

and i get the following error.

Also i cannot access the ERPnext

Can you tell me how to fix or remove this app? So i can access the erpnext?

Please help me because is URGENT

File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench==0.1’, ‘console_scripts’, ‘bench’)()
File “/home/frappe/bench-repo/bench/cli.py”, line 29, in cli
return bench()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 610, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 590, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 936, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 782, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 416, in invoke
return callback(*args, **kwargs)
File “/home/frappe/bench-repo/bench/cli.py”, line 77, in get_app
_get_app(name, git_url, branch=branch)
File “/home/frappe/bench-repo/bench/app.py”, line 39, in get_app
restart_supervisor_on_update(bench=bench)
NameError: global name ‘restart_supervisor_on_update’ is not defined

Hi. I made frappe_base_vat and i have it installed in erpnext v4 and erpnext v5 and everything is ok.
The problem seems with get_app and not with the installation.
You have to do:

bench get-app base_vat GitHub - saguas/frappe_base_vat: Repository for frappe base vat application and then
bench frappe --install_app base_vat your_site_name.
ex: bench frappe --install_app base_vat site1.local

Update Bench repo first and then try again.

Thank you for information

Just run bench update and it should be fine. We’ve fixed this issue.

after i had ran you instruction i have notified that i don’t receive notifications, also our support mail doesn’t convert mails to tickets. I can send email with out any issue. everything working fine except to that. any advice?

if a lock file exists in sites/{sitename}/locks dir, remove it.

Thank you for your help

just for confirmation…

on this path: /home/erpnext/frappe-bench/sites/live.site/locks

there is empty file

scheduler.lock

should i remove this file? with which user? root? or erpnext?

thank you