mayurnewase opened a new issue #14523:
URL: https://github.com/apache/superset/issues/14523


   A clear and concise description of what the bug is.
   When clicked on sqllab blank page appears
   
   ### Expected results
   Should open sql editor
   
   ### Actual results
   For admin user
   
![image](https://user-images.githubusercontent.com/12967587/117452959-ff02e380-af61-11eb-8cf4-ccbbf7fcb598.png)
   
   
   #### Screenshots
   
   If applicable, add screenshots to help explain your problem.
   
   #### How to reproduce the bug
   
   1. login with admin
   2. Click on sqllab
   
   ## Logs from browser console
   ```
   Unexpected key "requestedQuery" found in previous state received by the 
reducer. Expected to find one of the known reducer keys instead: "sqlLab", 
"localStorageUsageInKilobytes", "messageToasts", "common". Unexpected keys will 
be ignored. redux.js:319
   ```
   ```
   Uncaught TypeError: theme.colors is undefined
       css index.tsx:43
       handleInterpolation emotion-serialize.browser.esm.js:137
       serializeStyles emotion-serialize.browser.esm.js:251
       Emotion emotion-element-4fbd89c5.browser.esm.js:150
       withEmotionCache emotion-element-4fbd89c5.browser.esm.js:27
       renderWithHooks react-dom.development.js:14826
       updateForwardRef react-dom.development.js:16841
       beginWork react-dom.development.js:18679
       callCallback react-dom.development.js:189
       invokeGuardedCallbackDev react-dom.development.js:238
       invokeGuardedCallback react-dom.development.js:293
       beginWork$1 react-dom.development.js:23235
       performUnitOfWork react-dom.development.js:22186
       workLoopSync react-dom.development.js:22162
       performSyncWorkOnRoot react-dom.development.js:21788
       scheduleUpdateOnFiber react-dom.development.js:21220
       updateContainer react-dom.development.js:24408
       legacyRenderSubtreeIntoContainer react-dom.development.js:24793
       unbatchedUpdates react-dom.development.js:21935
       legacyRenderSubtreeIntoContainer react-dom.development.js:24792
       render react-dom.development.js:24875
       <anonymous> index.tsx:23
       tsx sqllab.2a7335f4.entry.js:5243
       __webpack_require__ sqllab.2a7335f4.entry.js:854
       fn sqllab.2a7335f4.entry.js:151
       19 sqllab.2a7335f4.entry.js:5962
       __webpack_require__ sqllab.2a7335f4.entry.js:854
       checkDeferredModules sqllab.2a7335f4.entry.js:46
       <anonymous> sqllab.2a7335f4.entry.js:994
       <anonymous> sqllab.2a7335f4.entry.js:997
   index.tsx:43
   ```
   
   ```
   The above error occurred in the <EmotionCssPropInternal> component:
       in EmotionCssPropInternal (at SqlEditorLeftBar.jsx:160)
       in div (created by Styled(div))
       in Styled(div) (at SqlEditorLeftBar.jsx:159)
       in div (created by Styled(div))
       in Styled(div) (at SqlEditorLeftBar.jsx:158)
       in div (at SqlEditorLeftBar.jsx:142)
       in SqlEditorLeftBar (at SqlEditor.jsx:698)
       in div (created by SqlEditor)
       in Transition (created by CSSTransition)
       in CSSTransition (at SqlEditor.jsx:692)
       in div (at SqlEditor.jsx:691)
       in SqlEditor (created by ConnectFunction)
       in ConnectFunction (at TabbedSqlEditors.jsx:387)
       in div (created by TabPane)
       in TabPane (created by Styled(TabPane))
       in Styled(TabPane) (at TabbedSqlEditors.jsx:381)
       in div (created by TabPanelList)
       in div (created by TabPanelList)
       in TabPanelList (created by ForwardRef(Tabs))
       in div (created by ForwardRef(Tabs))
       in ForwardRef(Tabs) (created by Tabs)
       in Tabs (created by Styled(Tabs))
       in Styled(Tabs) (at TabbedSqlEditors.jsx:407)
       in TabbedSqlEditors (created by ConnectFunction)
       in ConnectFunction (at App.jsx:104)
       in div (at App.jsx:110)
       in ThemeProvider (at App.jsx:109)
       in App (created by ConnectFunction)
       in ConnectFunction (at App.jsx:114)
       in ThemeProvider (at App.jsx:113)
       in Provider (at App.jsx:112)
       in Application (created by HotExportedApplication)
       in AppContainer (created by HotExportedApplication)
       in HotExportedApplication (at SqlLab/index.tsx:22)
   
   React will try to recreate this component tree from scratch using the error 
boundary you provided, AppContainer. react-dom.development.js:19561
   
   ```
   
   ### Environment
   Latest master
   
   (please complete the following information):
   
   - superset version: latest master
   - python version: 3.8
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [ ] I have checked the superset logs for python stacktraces and included 
it here as text if there are any.
   - [ ] I have reproduced the issue with at least the latest released version 
of superset.
   - [ ] I have checked the issue tracker for the same issue and I haven't 
found one similar.
   
   ### Additional context
   
   Add any other context about the problem here.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to