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

Insights installation no module error (fixed after uninstall, install) #360

Open
P-Godfroid opened this issue Nov 20, 2024 · 0 comments
Open

Comments

@P-Godfroid
Copy link

P-Godfroid commented Nov 20, 2024

Hello,

I have this error when trying to install insights on a site:
bench --site sitename install-app insights

Installing insights...
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'
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'
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'
Updating Dashboard for insights

The installation is failed as Insights doctypes are not created.

Strangely, after doing
bench --site sitename uninstall-app insights
then again
bench --site sitename install-app insights
this time it works properly

Tested with a freshly downloaded develop Branch Insights

@P-Godfroid P-Godfroid changed the title Insights installation no module error Insights installation --site all failure Nov 25, 2024
@P-Godfroid P-Godfroid changed the title Insights installation --site all failure Insights installation no module error (fixed after uninstall, install) Nov 25, 2024
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

1 participant