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 is connected to the DB but it not loading the UI #288

Open
kitunzit opened this issue Jul 31, 2024 · 2 comments
Open

Insights is connected to the DB but it not loading the UI #288

kitunzit opened this issue Jul 31, 2024 · 2 comments
Labels
bug Something isn't working v3

Comments

@kitunzit
Copy link

Good day.
Insight app has connected to the MariaDB, on the second step/window showing " Help Us improve" i press skip & two messages are displayed " internal server error" & "Syncing Data source. This may take a while. Please wait....". See attached image.
Am running ERPNext 15 hosted on cloud clusters.
Any help will be appreciated.
Thanks
Image 31-07-2024 at 12 07 PM

@nextchamp-saqib
Copy link
Member

Please share the traceback from the browser console. To do that open the browser console after you get "Internal Sever Error" and send the last error message

@sunil-mel
Copy link

sunil-mel commented Sep 2, 2024

I was also getting same error with postgresdb. Attached screenshot of the error message from the logs. I modified the code in the file insights_data_source_v3.py line 62 as below to make it work.

self.db_set("is_frappe_db", 0)

image

Next it was failing in the file ibis_utils.py line 388. I replaced with below code to make it work.

res = res.replace({pd.NaT: None, np.nan: None})

@nextchamp-saqib nextchamp-saqib added bug Something isn't working v3 labels Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v3
Projects
None yet
Development

No branches or pull requests

3 participants