Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

India_compliance Installation Error #43251

Open
RajPW opened this issue Sep 17, 2024 · 1 comment
Open

India_compliance Installation Error #43251

RajPW opened this issue Sep 17, 2024 · 1 comment
Labels

Comments

@RajPW
Copy link

RajPW commented Sep 17, 2024

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.

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.

Traceback (most recent call last):
2024-09-17 12:42:06   File "/home/frappe/frappe-bench/env/lib/python3.11/site-packages/gunicorn/workers/gthread.py", line 282, in handle
2024-09-17 12:42:06     keepalive = self.handle_request(req, conn)
2024-09-17 12:42:06                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-09-17 12:42:06   File "/home/frappe/frappe-bench/env/lib/python3.11/site-packages/gunicorn/workers/gthread.py", line 334, in handle_request
2024-09-17 12:42:06     respiter = self.wsgi(environ, resp.start_response)
2024-09-17 12:42:06                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-09-17 12:42:06   File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 79, in application
2024-09-17 12:42:06     app(environ, start_response),
2024-09-17 12:42:06     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-09-17 12:42:06   File "/home/frappe/frappe-bench/env/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 190, in application
2024-09-17 12:42:06     resp = f(*args[:-2] + (request,))
2024-09-17 12:42:06            ^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-09-17 12:42:06   File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 132, in application
2024-09-17 12:42:06     response = handle_exception(e)
2024-09-17 12:42:06                ^^^^^^^^^^^^^^^^^^^
2024-09-17 12:42:06   File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 395, in handle_exception
2024-09-17 12:42:06     response = get_response("message", http_status_code=http_status_code)
2024-09-17 12:42:06                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-09-17 12:42:06   File "/home/frappe/frappe-bench/apps/frappe/frappe/website/serve.py", line 28, in get_response
2024-09-17 12:42:06     response = ErrorPage(exception=e).render()
2024-09-17 12:42:06                ^^^^^^^^^^^^^^^^^^^^^^
2024-09-17 12:42:06   File "/home/frappe/frappe-bench/apps/frappe/frappe/website/page_renderers/error_page.py", line 7, in __init__
2024-09-17 12:42:06     super().__init__(path=path, http_status_code=http_status_code)
2024-09-17 12:42:06   File "/home/frappe/frappe-bench/apps/frappe/frappe/website/page_renderers/template_page.py", line 45, in __init__
2024-09-17 12:42:06     self.set_template_path()
2024-09-17 12:42:06   File "/home/frappe/frappe-bench/apps/frappe/frappe/website/page_renderers/template_page.py", line 54, in set_template_path
2024-09-17 12:42:06     app_path = frappe.get_app_path(app)
2024-09-17 12:42:06                ^^^^^^^^^^^^^^^^^^^^^^^^
2024-09-17 12:42:06   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1512, in get_app_path
2024-09-17 12:42:06     return get_pymodule_path(app_name, *joins)
2024-09-17 12:42:06            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-09-17 12:42:06   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1542, in get_pymodule_path
2024-09-17 12:42:06     return abspath(join(dirname(get_module(scrub(modulename)).__file__ or ""), *joins))
2024-09-17 12:42:06                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-09-17 12:42:06   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1483, in get_module
2024-09-17 12:42:06     return importlib.import_module(modulename)
2024-09-17 12:42:06            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-09-17 12:42:06   File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
2024-09-17 12:42:06     return _bootstrap._gcd_import(name[level:], package, level)
2024-09-17 12:42:06            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-09-17 12:42:06   File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
2024-09-17 12:42:06   File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
2024-09-17 12:42:06   File "<frozen importlib._bootstrap>", line 1140, in _find_and_load_unlocked
@RajPW RajPW added the bug label Sep 17, 2024
@Nihantra-Patel
Copy link
Contributor

apply command and check it.

bench build --force

CC: @sagarvora

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants