Hi @kolate_sambhaji
When I add “Custom Field” in Fixtures it shows the following Error!
Exporting Custom Script app erpnext filters None
Exporting Property Setter app erpnext filters None
Exporting Custom Fields app erpnext filters None
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/amitha/frappe-erpnext/apps/frappe/frappe/utils/bench_helper.py", line 79, in <module>
main()
File "/home/amitha/frappe-erpnext/apps/frappe/frappe/utils/bench_helper.py", line 16, in main
click.Group(commands=commands)(prog_name='bench')
File "/home/amitha/frappe-erpnext/env/local/lib/python2.7/site-packages/click/core.py", line 716, in __call__
return self.main(*args, **kwargs)
File "/home/amitha/frappe-erpnext/env/local/lib/python2.7/site-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/home/amitha/frappe-erpnext/env/local/lib/python2.7/site-packages/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/amitha/frappe-erpnext/env/local/lib/python2.7/site-packages/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/amitha/frappe-erpnext/env/local/lib/python2.7/site-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/amitha/frappe-erpnext/env/local/lib/python2.7/site-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/home/amitha/frappe-erpnext/env/local/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/amitha/frappe-erpnext/apps/frappe/frappe/commands/__init__.py", line 24, in _func
File "/home/amitha/frappe-erpnext/apps/frappe/frappe/commands/utils.py", line 204, in export_fixtures
File "/home/amitha/frappe-erpnext/apps/frappe/frappe/utils/fixtures.py", line 64, in export_fixtures
export_json(fixture, frappe.get_app_path(app, "fixtures", frappe.scrub(fixture) + ".json"), filters=filters)
File "/home/amitha/frappe-erpnext/apps/frappe/frappe/core/page/data_import_tool/data_import_tool.py", line 63, in export_json
for doc in frappe.get_all(doctype, fields=["name"], filters=filters, limit_page_length=0, order_by="creation asc"):
File "/home/amitha/frappe-erpnext/apps/frappe/frappe/__init__.py", line 960, in get_all
return get_list(doctype, *args, **kwargs)
File "/home/amitha/frappe-erpnext/apps/frappe/frappe/__init__.py", line 933, in get_list
return frappe.model.db_query.DatabaseQuery(doctype).execute(None, *args, **kwargs)
File "/home/amitha/frappe-erpnext/apps/frappe/frappe/model/db_query.py", line 66, in execute
result = self.build_and_run()
File "/home/amitha/frappe-erpnext/apps/frappe/frappe/model/db_query.py", line 74, in build_and_run
args = self.prepare_args()
File "/home/amitha/frappe-erpnext/apps/frappe/frappe/model/db_query.py", line 88, in prepare_args
self.remove_user_tags()
File "/home/amitha/frappe-erpnext/apps/frappe/frappe/model/db_query.py", line 181, in remove_user_tags
columns = frappe.db.get_table_columns(self.doctype)
File "/home/amitha/frappe-erpnext/apps/frappe/frappe/database.py", line 754, in get_table_columns
return [r[0] for r in self.sql("DESC `tab%s`" % doctype)]
File "/home/amitha/frappe-erpnext/apps/frappe/frappe/database.py", line 147, in sql
self._cursor.execute(query)
File "/home/amitha/frappe-erpnext/env/local/lib/python2.7/site-packages/MySQLdb/cursors.py", line 205, in execute
self.errorhandler(self, exc, value)
File "/home/amitha/frappe-erpnext/env/local/lib/python2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
raise errorclass, errorvalue
_mysql_exceptions.ProgrammingError: (1146, "Table '50e397e7e0.tabCustom Fields' doesn't exist")