Open KiranmaiMachavarapu opened 6 months ago
@Vigneshsekar @karthikeyan5 @KaviyaPeriyasamy Any update? Please let me know.
Can u pls share the steps??
On Sun, Jun 9, 2024 at 11:13 PM Pradip21sp @.***> wrote:
Finally I got it solution
— Reply to this email directly, view it on GitHub https://github.com/aerele/bank_api_integration/issues/16#issuecomment-2156714347, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGJK47VHEJKP3HTA2S5YFCDZGSH2JAVCNFSM6AAAAABIOZPNROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWG4YTIMZUG4 . You are receiving this because you authored the thread.Message ID: @.***>
Please share the error logs
On Mon, 10 Jun 2024 at 2:17 PM, KiranmaiMachavarapu < @.***> wrote:
Can u pls share the steps??
On Sun, Jun 9, 2024 at 11:13 PM Pradip21sp @.***> wrote:
Finally I got it solution
— Reply to this email directly, view it on GitHub < https://github.com/aerele/bank_api_integration/issues/16#issuecomment-2156714347>,
or unsubscribe < https://github.com/notifications/unsubscribe-auth/BGJK47VHEJKP3HTA2S5YFCDZGSH2JAVCNFSM6AAAAABIOZPNROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWG4YTIMZUG4>
. You are receiving this because you authored the thread.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/aerele/bank_api_integration/issues/16#issuecomment-2157736736, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACWQQ7R3VH3YTHD3REAL4ULZGVR3FAVCNFSM6AAAAABIOZPNROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJXG4ZTMNZTGY . You are receiving this because you were mentioned.Message ID: @.***>
bench --site hilltop install-app bank_api_integration
Installing bank_api_integration...
An error occurred while installing bank_api_integration: Could not find
Document Type: Outward Bank Payment
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': ['hilltop'], 'force': False, 'verbose': False,
'profile': False}
apps = ('bank_api_integration',)
force = False
_install_app = <function install_app at 0x793f41725a80>
filelock = <function filelock at 0x793f41716a20>
exit_code = 0
site = 'hilltop'
app = 'bank_api_integration'
err = LinkValidationError('Could not find Document Type: Outward Bank
Payment')
File "apps/frappe/frappe/installer.py", line 311, in install_app
frappe.get_attr(after_install)()
name = 'bank_api_integration'
verbose = False
set_as_patched = True
force = False
sync_jobs = <function sync_jobs at 0x793f3fd16f20>
sync_for = <function sync_for at 0x793f3fd17ec0>
sync_customizations = <function sync_customizations at 0x793f418aaf20>
sync_fixtures = <function sync_fixtures at 0x793f3fd1c2c0>
app_hooks = {'after_install':
['bank_api_integration.bank_api_integration.doctype.bank_api_integration.bank_api_integration.create_defaults'],
'app_color': ['grey'], 'app_description': ['Implementation of bank api
integration'], 'app_email': @.'], 'app_icon': ['octicon
octicon-file-directory'], 'app_license': ['MIT'], 'app_name':
['bank_api_integration'], 'app_publisher': ['Aerele'], 'app_title': ['Bank
Api Integration'], 'app_version': ['0.0.1'], 'doctype_js': {'Bank Account':
['bank_api_integration/utils/js/bank_account.js'], 'Purchase Invoice':
['bank_api_integration/custom/js/purchase_invoice.js'], 'Purchase Order':
['bank_api_integration/custom/js/purchase_order.js']}, 'scheduler_events':
{'cron': {'0/30 ':
['bank_api_integration.bank_api_integration.doctype.bank_api_integration.bank_api_integration.update_transaction_status',
'bank_api_integration.bank_api_integration.doctype.bank_api_integration.bank_api_integration.fetch_balance',
'bank_api_integration.bank_api_integr...
installed_apps = ['frappe', 'erpnext', 'payments', 'pdf_on_submit',
'hrms', 'india_compliance', 'frappe_whatsapp', 'lenovo', 'easygateentry',
'erpnext_gate_pass', 'm11', 'rilerpnext', 'mdvl', 'insights', 'builder',
'bpplerpnext', 'hilltop', 'bank_connector_erpnext', 'appointments_app']
after_install =
'bank_api_integration.bank_api_integration.doctype.bank_api_integration.bank_api_integration.create_defaults'
File
"apps/bank_api_integration/bank_api_integration/bank_api_integration/doctype/bank_api_integration/bank_api_integration.py",
line 456, in create_defaults
create_workflow('Outward Bank Payment')
roles = ['Bank Maker', 'Bank Checker']
role = 'Bank Checker'
custom_fields = {'Bank Account': [{'fieldname': 'ifsc_code',
'fieldtype': 'Data', 'label': 'IFSC Code', 'insert_after': 'iban'},
{'fieldname': 'account_statemnt_and_balance_details', 'fieldtype': 'Section
Break', 'label': 'Account Statement and Balance Details', 'insert_after':
'mask', 'depends_on': 'eval: doc.is_company_account == 1 &&
!doc.__islocal'}, {'fieldname': 'fetch_balance', 'fieldtype': 'Button',
'label': 'Fetch Balance', 'insert_after':
'account_statemnt_and_balance_details'}, {'fieldname': 'balance_amount',
'fieldtype': 'Float', 'label': 'Balance Amount', 'insert_after':
'fetch_balance', 'read_only': 1}, {'fieldname': 'balance_last_synced_on',
'fieldtype': 'Datetime', 'label': 'Balance Last Synced On', 'insert_after':
'balance_amount', 'read_only': 1}, {'fieldname': 'column_break_30',
'fieldtype': 'Column Break', 'insert_after': 'balance_last_synced_on'},
{'fieldname': 'fetch_account_statement', 'fieldtype': 'Button', 'label':
'Fetch Account Statement', 'insert_after': 'column_break_30'},...
states_with_style = {'Success': ['Verified', 'Initiated',
'Transaction Completed', 'Completed'], 'Danger': ['Verification Failed',
'Initiation Error', 'Initiation Failed', 'Transaction Failed', 'Transaction
Error', 'Failed'], 'Primary': ['Transaction Pending', 'Initiation Pending',
'Processing', 'Partially Completed']}
style = 'Primary'
state = 'Partially Completed'
File
"apps/bank_api_integration/bank_api_integration/bank_api_integration/doctype/bank_api_integration/bank_api_integration.py",
line 504, in create_workflow
workflow_doc.save()
document_name = 'Outward Bank Payment'
workflow_doc =
On Mon, Jun 10, 2024 at 2:23 PM Vignesh S @.***> wrote:
Please share the error logs
On Mon, 10 Jun 2024 at 2:17 PM, KiranmaiMachavarapu < @.***> wrote:
Can u pls share the steps??
On Sun, Jun 9, 2024 at 11:13 PM Pradip21sp @.***> wrote:
Finally I got it solution
— Reply to this email directly, view it on GitHub <
https://github.com/aerele/bank_api_integration/issues/16#issuecomment-2156714347>,
or unsubscribe <
. You are receiving this because you authored the thread.Message ID: @.***>
— Reply to this email directly, view it on GitHub < https://github.com/aerele/bank_api_integration/issues/16#issuecomment-2157736736>,
or unsubscribe < https://github.com/notifications/unsubscribe-auth/ACWQQ7R3VH3YTHD3REAL4ULZGVR3FAVCNFSM6AAAAABIOZPNROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJXG4ZTMNZTGY>
. You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/aerele/bank_api_integration/issues/16#issuecomment-2157747521, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGJK47TS32A6A6UYDJBIRZDZGVSPTAVCNFSM6AAAAABIOZPNROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJXG42DONJSGE . You are receiving this because you authored the thread.Message ID: @.***>
bench --site mis install-app bank_api_integration
Installing bank_api_integration...
Updating DocTypes for bank_api_integration: [========================== ] 66%An error occurred while installing bank_api_integration: Module import failed for Bulk Outward Bank Payment, the DocType you're trying to open might be deleted.
Error: No module named 'frappe.core.page.background_jobs.background_jobs'
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': ['mis'], 'force': False, 'verbose': False, 'profile': False}
apps = ('bank_api_integration',)
force = True
_install_app = <function install_app at 0x7f920438da20>
filelock = <function filelock at 0x7f920438d6c0>
exit_code = 0
site = 'mis'
app = 'bank_api_integration'
err = ImportError("Module import failed for Bulk Outward Bank Payment, the DocType you're trying to open might be deleted.
Error: No module named 'frappe.core.page.background_jobs.background_jobs'")
File "apps/frappe/frappe/installer.py", line 301, in install_app
sync_for(name, force=force, reset_permissions=True)
name = 'bank_api_integration'
verbose = False
set_as_patched = True
force = True
sync_jobs = <function sync_jobs at 0x7f9203326ef0>
sync_for = <function sync_for at 0x7f92033279a0>
sync_customizations = <function sync_customizations at 0x7f9204330310>
sync_fixtures = <function sync_fixtures at 0x7f9203327be0>
app_hooks = {'after_install': ['bank_api_integration.bank_api_integration.doctype.bank_api_integration.bank_api_integration.create_defaults'], 'app_color': ['grey'], 'app_description': ['Implementation of bank api integration'], 'app_email': ['admin@aerele.in'], 'app_icon': ['octicon octicon-file-directory'], 'app_license': ['MIT'], 'app_name': ['bank_api_integration'], 'app_publisher': ['Aerele'], 'app_title': ['Bank Api Integration'], 'app_version': ['0.0.1'], 'doctype_js': {'Bank Account': ['bank_api_integration/utils/js/bank_account.js'], 'Purchase Invoice': ['bank_api_integration/custom/js/purchase_invoice.js'], 'Purchase Order': ['bank_api_integration/custom/js/purchase_order.js']}, 'scheduler_events': {'cron': {'0/30 ': ['bank_api_integration.bank_api_integration.doctype.bank_api_integration.bank_api_integration.update_transaction_status', 'bank_api_integration.bank_api_integration.doctype.bank_api_integration.bank_api_integration.fetch_balance', 'bank_api_integration.bank_api_integr...
installed_apps = ['frappe', 'payments', 'erpnext', 'hrms', 'sundae_theme', 'goyalapp']
File "apps/frappe/frappe/model/sync.py", line 111, in sync_for
import_file_by_path(
app_name = 'bank_api_integration'
force = True
reset_permissions = True
files = ['apps/bank_api_integration/bank_api_integration/bank_api_integration/doctype/payment_references/payment_references.json', 'apps/bank_api_integration/bank_api_integration/bank_api_integration/doctype/outward_bank_payment_details/outward_bank_payment_details.json', 'apps/bank_api_integration/bank_api_integration/bank_api_integration/doctype/bank_api_integration/bank_api_integration.json', 'apps/bank_api_integration/bank_api_integration/bank_api_integration/doctype/bank_api_request_log/bank_api_request_log.json', 'apps/bank_api_integration/bank_api_integration/bank_api_integration/doctype/bulk_outward_bank_payment/bulk_outward_bank_payment.json', 'apps/bank_api_integration/bank_api_integration/bank_api_integration/doctype/outward_bank_payment/outward_bank_payment.json']
module_name = 'bank_api_integration'
folder = 'apps/bank_api_integration/bank_api_integration/bank_api_integration'
l = 6
i = 4
doc_path = 'apps/bank_api_integration/bank_api_integration/bank_api_integration/doctype/bulk_outward_bank_payment/bulk_outward_bank_payment.json'
File "apps/frappe/frappe/modules/import_file.py", line 146, in import_file_by_path
import_doc(
path = 'apps/bank_api_integration/bank_api_integration/bank_api_integration/doctype/bulk_outward_bank_payment/bulk_outward_bank_payment.json'
force = True
data_import = False
pre_process = None
ignore_version = True
reset_permissions = True
docs = [{'actions': [], 'autoname': 'format:BOBP{YYYY}{MM}{####}', 'creation': '2021-03-11 15:59:34.364295', 'doctype': 'DocType', 'editable_grid': 1, 'engine': 'InnoDB', 'fields': [{'fieldname': 'company', 'fieldtype': 'Link', 'label': 'Company', 'options': 'Company', 'reqd': 1, 'doctype': 'DocField'}, {'default': 'Auto Reconcile Oldest First Invoice', 'fieldname': 'reconcile_action', 'fieldtype': 'Select', 'in_list_view': 1, 'label': 'Reconcile Action', 'options': '\nAuto Reconcile Oldest First Invoice\nSkip Reconcile', 'reqd': 1, 'doctype': 'DocField'}, {'fieldname': 'column_break_7', 'fieldtype': 'Column Break', 'doctype': 'DocField'}, {'fieldname': 'company_bank_account', 'fieldtype': 'Link', 'label': 'Company Bank Account', 'options': 'Bank Account', 'reqd': 1, 'doctype': 'DocField'}, {'fieldname': 'transaction_type', 'fieldtype': 'Select', 'label': 'Transaction Type', 'reqd': 1, 'doctype': 'DocField'}, {'default': '0', 'fieldname': 'retry_count', 'fieldtype': 'Int', 'hidden': 1, 'label...
calculated_hash = '3abb80e88e28d3251be034b168b1007d'
doc = {'actions': [], 'autoname': 'format:BOBP{YYYY}{MM}{####}', 'creation': '2021-03-11 15:59:34.364295', 'doctype': 'DocType', 'editable_grid': 1, 'engine': 'InnoDB', 'fields': [{'fieldname': 'company', 'fieldtype': 'Link', 'label': 'Company', 'options': 'Company', 'reqd': 1, 'doctype': 'DocField'}, {'default': 'Auto Reconcile Oldest First Invoice', 'fieldname': 'reconcile_action', 'fieldtype': 'Select', 'in_list_view': 1, 'label': 'Reconcile Action', 'options': '\nAuto Reconcile Oldest First Invoice\nSkip Reconcile', 'reqd': 1, 'doctype': 'DocField'}, {'fieldname': 'column_break_7', 'fieldtype': 'Column Break', 'doctype': 'DocField'}, {'fieldname': 'company_bank_account', 'fieldtype': 'Link', 'label': 'Company Bank Account', 'options': 'Bank Account', 'reqd': 1, 'doctype': 'DocField'}, {'fieldname': 'transaction_type', 'fieldtype': 'Select', 'label': 'Transaction Type', 'reqd': 1, 'doctype': 'DocField'}, {'default': '0', 'fieldname': 'retry_count', 'fieldtype': 'Int', 'hidden': 1, 'label'...
db_modified_timestamp = None
is_db_timestamp_latest = None
File "apps/frappe/frappe/modules/import_file.py", line 239, in import_doc
doc.insert()
docdict = {'actions': [], 'autoname': 'format:BOBP{YYYY}{MM}{####}', 'creation': '2021-03-11 15:59:34.364295', 'doctype': 'DocType', 'editable_grid': 1, 'engine': 'InnoDB', 'fields': [{'fieldname': 'company', 'fieldtype': 'Link', 'label': 'Company', 'options': 'Company', 'reqd': 1, 'doctype': 'DocField'}, {'default': 'Auto Reconcile Oldest First Invoice', 'fieldname': 'reconcile_action', 'fieldtype': 'Select', 'in_list_view': 1, 'label': 'Reconcile Action', 'options': '\nAuto Reconcile Oldest First Invoice\nSkip Reconcile', 'reqd': 1, 'doctype': 'DocField'}, {'fieldname': 'column_break_7', 'fieldtype': 'Column Break', 'doctype': 'DocField'}, {'fieldname': 'company_bank_account', 'fieldtype': 'Link', 'label': 'Company Bank Account', 'options': 'Bank Account', 'reqd': 1, 'doctype': 'DocField'}, {'fieldname': 'transaction_type', 'fieldtype': 'Select', 'label': 'Transaction Type', 'reqd': 1, 'doctype': 'DocField'}, {'default': '0', 'fieldname': 'retry_count', 'fieldtype': 'Int', 'hidden': 1, 'label'...
data_import = False
pre_process = None
ignore_version = True
reset_permissions = True
path = 'apps/bank_api_integration/bank_api_integration/bank_api_integration/doctype/bulk_outward_bank_payment/bulk_outward_bank_payment.json'
controller = <class 'frappe.core.doctype.doctype.doctype.DocType'>
doc =
Error: No module named 'frappe.core.page.background_jobs.background_jobs'"
builtins.ImportError: Module import failed for Bulk Outward Bank Payment, the DocType you're trying to open might be deleted.
Error: No module named 'frappe.core.page.background_jobs.background_jobs'
Did you resolve this?
Hello !!
It is throwing errors while installation of this app in ERPNext v15. Is there any update to install this app in version-15??