GitHub user Wetbikeboy2500 edited a discussion: Rough Edges Setting Up Trino

I am not too sure exactly how to break down the issues being ran into, so I am 
going to put together what I am doing and noticing.

When I am setting up my trino database connection for both the first time and 
editing it, I run into the following:
>  When clicking finish, the button changes to a spinner and never stops. When 
> I click close, I see an error logged in the console:
> <img width="747" height="278" alt="image" 
> src="https://github.com/user-attachments/assets/cde1b03e-7f50-4664-8098-cb78ad4c81b9";
>  />
>  
>  When I reopen the edit modal, I first get another console error:
>  <img width="649" height="75" alt="image" 
> src="https://github.com/user-attachments/assets/a4a3a44f-b85f-4db7-a316-018c43e4f2a3";
>  />
>  
>  And the modal itself is empty:
> <img width="629" height="955" alt="image" 
> src="https://github.com/user-attachments/assets/b9efa4a7-45a2-4f0b-b160-10d77f2d5b42";
>  />

Within the database logs, I see the following two errors ({catalog} is a 
placeholder):
> WARNING:superset.commands.database.sync_permissions:Error processing catalog 
> {catalog}

>ERROR:flask_appbuilder.security.sqla.manager:Add View Menu Error: 
>(psycopg2.errors.UniqueViolation) duplicate key value violates >unique 
>constraint "ab_view_menu_name_key"
>
>DETAIL: Key (name)=([Trino].[{catalog}].[util]) already exists.

This warning is not unexpected as a portion of the catalogs are not fully 
configured and will error when trying to use them, so this is a good warning. 
The part that stands out is I continue to see these errors slowly come in over 
20-30 minutes. Makes me believe that maybe the reason the modal is stuck 
spinning is superset is processing all the catalogs, but there are hundreds of 
those to go through.

Superset version
6.0.0
Python version
3.12
Node version
20
Browser
Chrome

GitHub link: https://github.com/apache/superset/discussions/37447

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to