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

Error while installing on site the version-3 #378

Closed
dineshpanchal93 opened this issue Dec 5, 2024 · 1 comment
Closed

Error while installing on site the version-3 #378

dineshpanchal93 opened this issue Dec 5, 2024 · 1 comment

Comments

@dineshpanchal93
Copy link

bench install-app insights

Installing insights...
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 114, in
main()
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
click.Group(commands=commands)(prog_name="bench")
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/env/lib/python3.11/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/env/lib/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/env/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/env/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/env/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/env/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/env/lib/python3.11/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/commands/init.py", line 29, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/commands/site.py", line 478, in install_app
_install_app(app, verbose=context.verbose, force=force)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/installer.py", line 332, in install_app
sync_fixtures(name)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/utils/fixtures.py", line 22, in sync_fixtures
import_fixtures(app)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/utils/fixtures.py", line 41, in import_fixtures
import_doc(file_path)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/core/doctype/data_import/data_import.py", line 265, in import_doc
import_file_by_path(
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/modules/import_file.py", line 125, in import_file_by_path
db_modified_timestamp = frappe.db.get_value(doc["doctype"], doc["name"], "modified")
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/database/database.py", line 514, in get_value
result = self.get_values(
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/database/database.py", line 618, in get_values
out = self._get_values_from_table(
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/database/database.py", line 891, in _get_values_from_table
return query.run(as_dict=as_dict, debug=debug, update=update, run=run, pluck=pluck)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/query_builder/utils.py", line 87, in execute_query
result = frappe.db.sql(query, params, *args, **kwargs) # nosemgrep
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/database/database.py", line 257, in sql
traceback.print_stack()
"Error in query:\n('SELECT modified FROM tabInsights Data Source WHERE name=%(param1)s ORDER BY modified DESC LIMIT 1', {'param1': 'Site DB'})"
Skipping fixture syncing from the file insights_data_source.json. Reason: Module import failed for Insights Data Source, the DocType you're trying to open might be deleted.
Error: No module named 'frappe.core.doctype.insights_data_source'
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 114, in
main()
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
click.Group(commands=commands)(prog_name="bench")
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/env/lib/python3.11/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/env/lib/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/env/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/env/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/env/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/env/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/env/lib/python3.11/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/commands/init.py", line 29, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/commands/site.py", line 478, in install_app
_install_app(app, verbose=context.verbose, force=force)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/installer.py", line 332, in install_app
sync_fixtures(name)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/utils/fixtures.py", line 22, in sync_fixtures
import_fixtures(app)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/utils/fixtures.py", line 41, in import_fixtures
import_doc(file_path)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/core/doctype/data_import/data_import.py", line 265, in import_doc
import_file_by_path(
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/modules/import_file.py", line 125, in import_file_by_path
db_modified_timestamp = frappe.db.get_value(doc["doctype"], doc["name"], "modified")
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/database/database.py", line 514, in get_value
result = self.get_values(
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/database/database.py", line 618, in get_values
out = self._get_values_from_table(
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/database/database.py", line 891, in _get_values_from_table
return query.run(as_dict=as_dict, debug=debug, update=update, run=run, pluck=pluck)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/query_builder/utils.py", line 87, in execute_query
result = frappe.db.sql(query, params, *args, **kwargs) # nosemgrep
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/database/database.py", line 257, in sql
traceback.print_stack()
"Error in query:\n('SELECT modified FROM tabInsights Notebook WHERE name=%(param1)s ORDER BY modified DESC LIMIT 1', {'param1': 'Uncategorized'})"
Skipping fixture syncing from the file insights_notebook.json. Reason: Module import failed for Insights Notebook, the DocType you're trying to open might be deleted.
Error: No module named 'frappe.core.doctype.insights_notebook'
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 114, in
main()
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
click.Group(commands=commands)(prog_name="bench")
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/env/lib/python3.11/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/env/lib/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/env/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/env/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/env/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/env/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/env/lib/python3.11/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/commands/init.py", line 29, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/commands/site.py", line 478, in install_app
_install_app(app, verbose=context.verbose, force=force)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/installer.py", line 332, in install_app
sync_fixtures(name)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/utils/fixtures.py", line 22, in sync_fixtures
import_fixtures(app)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/utils/fixtures.py", line 41, in import_fixtures
import_doc(file_path)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/core/doctype/data_import/data_import.py", line 265, in import_doc
import_file_by_path(
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/modules/import_file.py", line 125, in import_file_by_path
db_modified_timestamp = frappe.db.get_value(doc["doctype"], doc["name"], "modified")
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/database/database.py", line 514, in get_value
result = self.get_values(
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/database/database.py", line 618, in get_values
out = self._get_values_from_table(
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/database/database.py", line 891, in _get_values_from_table
return query.run(as_dict=as_dict, debug=debug, update=update, run=run, pluck=pluck)
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/query_builder/utils.py", line 87, in execute_query
result = frappe.db.sql(query, params, *args, **kwargs) # nosemgrep
File "/Users/dineshpanchal/bench/v15-1/frappe-bench/apps/frappe/frappe/database/database.py", line 257, in sql
traceback.print_stack()
"Error in query:\n('SELECT modified FROM tabInsights Data Source v3 WHERE name=%(param1)s ORDER BY modified DESC LIMIT 1', {'param1': 'Site DB'})"
Skipping fixture syncing from the file insights_data_source_v3.json. Reason: Module import failed for Insights Data Source v3, the DocType you're trying to open might be deleted.
Error: No module named 'frappe.core.doctype.insights_data_source_v3'
Updating Dashboard for insights

@nextchamp-saqib
Copy link
Member

duplicate of #360

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

No branches or pull requests

2 participants