Closed RajPW closed 1 month ago
apply command and check it.
bench build --force
CC: @sagarvora
@Nihantra-Patel i tried..error not clear.. give one video for india compliance installation step by step
Please check this.
@Nihantra-Patel
I already this website refered to india_complaince install successfully ..
bench get-app https://github.com/resilient-tech/india-compliance.git bench --site [site name] install-app india_compliance
frappe@f12aae146fd6:~/frappe-bench$ bench get-app https://github.com/resilient-tech/india-compliance.git --branch version-15 Getting india-compliance $ git clone https://github.com/resilient-tech/india-compliance.git --branch version-15 --origin upstream Cloning into 'india-compliance'... remote: Enumerating objects: 33311, done. remote: Counting objects: 100% (3160/3160), done. remote: Compressing objects: 100% (1159/1159), done. remote: Total 33311 (delta 2386), reused 2482 (delta 1970), pack-reused 30151 (from 1) Receiving objects: 100% (33311/33311), 7.69 MiB | 6.47 MiB/s, done. Resolving deltas: 100% (23584/23584), 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.22 $ node esbuild --production --apps india_compliance --run-build-command Browserslist: caniuse-lite is outdated. Please run: npx update-browserslist-db@latest Why you should do it regularly: https://github.com/browserslist/update-db#readme File Size
india_compliance/dist/js/ ├─ gstr1.bundle.K2EDK2GL.js 6.97 Kb ├─ india_compliance.bundle.RDJWGSGZ.js 33.14 Kb ├─ purchase_reconciliation_tool.bundle.KYAT73KU.js 5.66 Kb ├─ india_compliance_account.bundle.KB2LZBYY.js 140.59 Kb └─ india_compliance_account.bundle.Y33L76RA.css 7.44 Kb
india_compliance/dist/css/ ├─ india_compliance.bundle.F3CU5POB.css 0.10 Kb └─ india_compliance_account.bundle.NLKWFOIN.css 3.08 Kb
india_compliance/dist/css-rtl/ ├─ india_compliance.bundle.Y7WJDPVS.css 0.10 Kb └─ india_compliance_account.bundle.3FAO2MPH.css 3.08 Kb
DONE Total Build Time: 988.065ms
Done in 2.76s. Compiling translations for india_compliance WARN: restart failed: Couldn't find supervisorctl in PATH frappe@f12aae146fd6:~/frappe-bench$ bench --site frontend migrate Migrating frontend Updating DocTypes for frappe : [========================================] 100% Updating DocTypes for erpnext : [========================================] 100% Updating Dashboard for frappe Updating Dashboard for erpnext Updating customizations for Address Updating customizations for Contact Queued rebuilding of search index for frontend
frappe@f12aae146fd6:~/frappe-bench$ bench --site frontend install-app india_compliance App erpnext already installed
Installing india_compliance... Updating DocTypes for india_compliance: [========================================] 100% Setting up Income Tax... Setting up GST... Patching Existing Data... Thank you for installing India Compliance! Updating Dashboard for india_compliance
After install India_comp;liance css and js broken
We installed it locally and also on the frappe cloud side, but we haven't found the issue. If have an issue then raise it on the india-compliance github.
After install India_comp;liance css and js broken
after install the india-compliance you have to run the
bench build --app india_compliance
// OR
bench build --app india_compliance --force
An error occurred while installing india_compliance: Could not find DocType: Bill of Entry
Traceback with variables (most recent call last):
File "apps/frappe/frappe/commands/site.py", line 445, in install_app
_install_app(app, verbose=context.verbose, force=force)
context = {'sites': ['idemo.info-chain.in'], 'force': False, 'verbose': False, 'profile': False}
apps = ('india_compliance',)
force = False
_install_app = <function install_app at 0x743f7bd3d580>
filelock = <function filelock at 0x743f7becb1a0>
exit_code = 0
site = 'idemo.info-chain.in'
app = 'india_compliance'
err = LinkValidationError('Could not find DocType: Bill of Entry')
File "apps/frappe/frappe/installer.py", line 311, in install_app
frappe.get_attr(after_install)()
name = 'india_compliance'
verbose = False
set_as_patched = True
force = False
sync_jobs = <function sync_jobs at 0x743f7b21dda0>
sync_for = <function sync_for at 0x743f7b21eb60>
sync_customizations = <function sync_customizations at 0x743f7cad18a0>
sync_fixtures = <function sync_fixtures at 0x743f7b21ee80>
app_hooks = {'accounting_dimension_doctypes': ['Bill of Entry', 'Bill of Entry Item'], 'after_app_install': ['india_compliance.install.after_app_install'], 'after_install': ['india_compliance.install.after_install'], 'after_migrate': ['india_compliance.audit_trail.setup.after_migrate'], 'app_color': ['grey'], 'app_description': ['ERPNext app to simplify compliance with Indian Rules and Regulations'], 'app_email': ['hello@indiacompliance.app'], 'app_icon': ['octicon octicon-file-directory'], 'app_include_css': ['india_compliance.bundle.css'], 'app_include_js': ['india_compliance.bundle.js'], 'app_license': ['GNU General Public License (v3)'], 'app_name': ['india_compliance'], 'app_publisher': ['Resilient Tech'], 'app_title': ['India Compliance'], 'audit_trail_doctypes': ['Accounts Settings', 'Dunning', 'Invoice Discounting', 'Journal Entry', 'Payment Entry', 'Period Closing Voucher', 'Process Deferred Accounting', 'Purchase Invoice', 'Sales Invoice', 'Asset', 'Asset Capitalization', 'Asset Repair',...
installed_apps = ['frappe', 'erpnext']
app = 'frappe/erpnext'
required_app = 'erpnext'
before_install = 'india_compliance.patches.check_version_compatibility.execute'
out = None
after_install = 'india_compliance.install.after_install'
File "apps/india_compliance/india_compliance/install.py", line 75, in after_install
raise e
File "apps/india_compliance/india_compliance/install.py", line 54, in after_install
setup_audit_trail()
File "apps/india_compliance/india_compliance/audit_trail/setup.py", line 15, in setup_fixtures
create_property_setters_for_versioning()
File "apps/india_compliance/india_compliance/audit_trail/setup.py", line 35, in create_property_setters_for_versioning
property_setter.insert()
doctype = 'Bill of Entry'
property_setter_data = {'doctype_or_field': 'DocType', 'doc_type': 'Bill of Entry', 'property': 'track_changes', 'value': '1', 'property_type': 'Check', 'is_system_generated': 1}
property_setter =
Any idea how to resolve this issue?
@Infochain2024 i am not facing this issue.. no idea..... You which type installation method used? I am using docker installation method and locally hosted in my windows server...
I am using manual installation.
@Infochain2024 sorry i am new user for erpnext. no idea this type of errors.... i am also stuck some errors, only manual installation lot of errors showing, Frappe cloud only is smooth running. but its paid platform....
Did you try installation with the docker guide given here?
You need to first build a custom image of India Compliance App with apps you need, and then use it in docker.
Did you try installation with the docker guide given here?
You need to first build a custom image of India Compliance App with apps you need, and then use it in docker.
The India compliance app has some issues with installation. Even I am getting the same error.
@vinodjp21 yes... only manual installation lot of issues. This is india_compliance error or erpnext error so i am confused.....
you solve this errors.. i need help
Information about bug
Docker using Success full installation erpnext and frappe version-15 in my windows server. pwd.yml.
And India compliance install my backend bench site successfull run but some modules are broken attach frappe forum discussion for this error invalid-depends-on-expression.
bench get-app --branch version-15 https://github.com/resilient-tech/india-compliance.git;
bench --site frontend install-app india_compliance;
Next i try to install india_compliance my frontend bench sit show all css an js files are broken ref: [#40054 ]
Module
other
Version
frappe 15.40.6 erpnext 15.35.1 india_compliance 15.13.2 version-15
Installation method
manual install
Relevant log output / Stack trace / Full Error Message.