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

frappe.utils.background_jobs.run_doc_method (Error Importing from Tally) #19332

Open
shreerangamvinay opened this issue Oct 16, 2019 · 1 comment
Labels
to-validate Old issues pending validation traceback For issues which have "traceback" error as body content

Comments

@shreerangamvinay
Copy link

{'event': None, 'retry': 0, 'log': <function log at 0x7faa5d72d050>, 'site': u'testinterio.profezzo.com', 'job_name': u'frappe.utils.background_jobs.run_doc_method', 'method_name': u'frappe.utils.background_jobs.run_doc_method', 'method': <function run_doc_method at 0x7faa5e35f7d0>, 'user': u'interionation@yahoo.com', 'kwargs': {'doc_method': u'_process_master_data', 'name': u'Tally Migration on 16-10-2019 18:01:48', 'doctype': u'Tally Migration'}, 'is_async': True}
Traceback (most recent call last):
File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/background_jobs.py", line 99, in execute_job
method(**kwargs)
File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/background_jobs.py", line 78, in run_doc_method
getattr(frappe.get_doc(doctype, name), doc_method)(**kwargs)
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/erpnext_integrations/doctype/tally_migration/tally_migration.py", line 214, in _process_master_data
items, uoms = get_stock_items_uoms(collection)
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/erpnext_integrations/doctype/tally_migration/tally_migration.py", line 194, in get_stock_items_uoms
"stock_uom": item.BASEUNITS.string,
AttributeError: 'NoneType' object has no attribute 'string'

@clarkejj
Copy link
Contributor

Thanks for this report - please post this too on discuss.erpnext.com to inform and enlist help from the community

@crescent28 crescent28 added the traceback For issues which have "traceback" error as body content label Jan 21, 2020
@ankush ankush added the to-validate Old issues pending validation label Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to-validate Old issues pending validation traceback For issues which have "traceback" error as body content
Projects
None yet
Development

No branches or pull requests

4 participants