You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this is what i see in the frontend terminal when I write the get-app cmd
" Getting non_profit
$ git clone https://github.com/frappe/non_profit.git --origin upstream
Cloning into 'non_profit'...
remote: Enumerating objects: 2480, done.
remote: Counting objects: 100% (2470/2470), done.
remote: Compressing objects: 100% (751/751), done.
remote: Total 2480 (delta 1144), reused 2378 (delta 1086), pack-reused 10 (from 1)
Receiving objects: 100% (2480/2480), 381.88 KiB | 370.00 KiB/s, done.
Resolving deltas: 100% (1144/1144), done.
Ignoring dependencies of non_profit. To install dependencies use --resolve-deps
Installing non_profit
$ /home/frappe/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe/frappe-bench/apps/non_profit
DEPRECATION: Legacy editable install of non-profit==0.0.1 from file:///home/frappe/frappe-bench/apps/non_profit (setup.py develop) is deprecated. pip 25.0 will enforce this behaviour change. A possible replacement is to add a pyproject.toml or enable --use-pep517, and use setuptools >= 64. If the resulting installation is not behaving as expected, try using --config-settings editable_mode=compat. Please consult the setuptools documentation for more information. Discussion can be found at pypa/pip#11457
$ bench build --app non_profit
✔ Application Assets Linked
Installing non_profit...
Updating DocTypes for non_profit : [= ] 4%An error occurred while installing non_profit: Module import failed for Donation, the DocType you're trying to open might be deleted.
Error: No module named 'payments'
Traceback (most recent call last):
File "apps/frappe/frappe/modules/utils.py", line 261, in load_doctype_module
doctype_python_modules[key] = frappe.get_module(module_name)
File "apps/frappe/frappe/init.py", line 1343, in get_module
return importlib.import_module(modulename)
File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "apps/non_profit/non_profit/non_profit/doctype/donation/donation.py", line 13, in
from non_profit.non_profit.doctype.membership.membership import verify_signature
File "apps/non_profit/non_profit/non_profit/doctype/membership/membership.py", line 14, in
from non_profit.non_profit.doctype.member.member import create_member
File "apps/non_profit/non_profit/non_profit/doctype/member/member.py", line 11, in
from payments.utils import get_payment_gateway_controller
ModuleNotFoundError: No module named 'payments'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "apps/frappe/frappe/commands/site.py", line 400, in install_app
_install_app(app, verbose=context.verbose, force=force)
File "apps/frappe/frappe/installer.py", line 295, in install_app
sync_for(name, force=force, reset_permissions=True)
File "apps/frappe/frappe/model/sync.py", line 109, in sync_for
import_file_by_path(
File "apps/frappe/frappe/modules/import_file.py", line 148, in import_file_by_path
import_doc(
File "apps/frappe/frappe/modules/import_file.py", line 241, in import_doc
doc.insert()
File "apps/frappe/frappe/model/document.py", line 292, in insert
self.run_post_save_methods()
File "apps/frappe/frappe/model/document.py", line 1098, in run_post_save_methods
self.run_method("on_update")
File "apps/frappe/frappe/model/document.py", line 931, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 1283, in composer
return composed(self, method, *args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 1265, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File "apps/frappe/frappe/model/document.py", line 928, in fn
return method_object(*args, **kwargs)
File "apps/frappe/frappe/core/doctype/doctype/doctype.py", line 410, in on_update
self.run_module_method("on_doctype_update")
File "apps/frappe/frappe/core/doctype/doctype/doctype.py", line 508, in run_module_method
module = load_doctype_module(self.name, self.module)
File "apps/frappe/frappe/modules/utils.py", line 265, in load_doctype_module
raise ImportError(msg) from e
ImportError: Module import failed for Donation, the DocType you're trying to open might be deleted.
Error: No module named 'payments' "
The text was updated successfully, but these errors were encountered:
this is what i see in the frontend terminal when I write the get-app cmd
" Getting non_profit
$ git clone https://github.com/frappe/non_profit.git --origin upstream
Cloning into 'non_profit'...
remote: Enumerating objects: 2480, done.
remote: Counting objects: 100% (2470/2470), done.
remote: Compressing objects: 100% (751/751), done.
remote: Total 2480 (delta 1144), reused 2378 (delta 1086), pack-reused 10 (from 1)
Receiving objects: 100% (2480/2480), 381.88 KiB | 370.00 KiB/s, done.
Resolving deltas: 100% (1144/1144), done.
Ignoring dependencies of non_profit. To install dependencies use --resolve-deps
Installing non_profit
$ /home/frappe/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe/frappe-bench/apps/non_profit
DEPRECATION: Legacy editable install of non-profit==0.0.1 from file:///home/frappe/frappe-bench/apps/non_profit (setup.py develop) is deprecated. pip 25.0 will enforce this behaviour change. A possible replacement is to add a pyproject.toml or enable --use-pep517, and use setuptools >= 64. If the resulting installation is not behaving as expected, try using --config-settings editable_mode=compat. Please consult the setuptools documentation for more information. Discussion can be found at pypa/pip#11457
$ bench build --app non_profit
✔ Application Assets Linked
yarn run v1.22.22
$ node esbuild --production --apps non_profit --run-build-command
File Size
DONE Total Build Time: 628.594ms
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
Done in 1.23s.
WARN: restart failed: Couldn't find supervisorctl in PATH
$ bench --site frontend install-app non_profit
App erpnext already installed
Installing non_profit...
Updating DocTypes for non_profit : [= ] 4%An error occurred while installing non_profit: Module import failed for Donation, the DocType you're trying to open might be deleted.
Error: No module named 'payments'
Traceback (most recent call last):
File "apps/frappe/frappe/modules/utils.py", line 261, in load_doctype_module
doctype_python_modules[key] = frappe.get_module(module_name)
File "apps/frappe/frappe/init.py", line 1343, in get_module
return importlib.import_module(modulename)
File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "apps/non_profit/non_profit/non_profit/doctype/donation/donation.py", line 13, in
from non_profit.non_profit.doctype.membership.membership import verify_signature
File "apps/non_profit/non_profit/non_profit/doctype/membership/membership.py", line 14, in
from non_profit.non_profit.doctype.member.member import create_member
File "apps/non_profit/non_profit/non_profit/doctype/member/member.py", line 11, in
from payments.utils import get_payment_gateway_controller
ModuleNotFoundError: No module named 'payments'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "apps/frappe/frappe/commands/site.py", line 400, in install_app
_install_app(app, verbose=context.verbose, force=force)
File "apps/frappe/frappe/installer.py", line 295, in install_app
sync_for(name, force=force, reset_permissions=True)
File "apps/frappe/frappe/model/sync.py", line 109, in sync_for
import_file_by_path(
File "apps/frappe/frappe/modules/import_file.py", line 148, in import_file_by_path
import_doc(
File "apps/frappe/frappe/modules/import_file.py", line 241, in import_doc
doc.insert()
File "apps/frappe/frappe/model/document.py", line 292, in insert
self.run_post_save_methods()
File "apps/frappe/frappe/model/document.py", line 1098, in run_post_save_methods
self.run_method("on_update")
File "apps/frappe/frappe/model/document.py", line 931, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 1283, in composer
return composed(self, method, *args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 1265, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File "apps/frappe/frappe/model/document.py", line 928, in fn
return method_object(*args, **kwargs)
File "apps/frappe/frappe/core/doctype/doctype/doctype.py", line 410, in on_update
self.run_module_method("on_doctype_update")
File "apps/frappe/frappe/core/doctype/doctype/doctype.py", line 508, in run_module_method
module = load_doctype_module(self.name, self.module)
File "apps/frappe/frappe/modules/utils.py", line 265, in load_doctype_module
raise ImportError(msg) from e
ImportError: Module import failed for Donation, the DocType you're trying to open might be deleted.
Error: No module named 'payments' "
The text was updated successfully, but these errors were encountered: