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

Cobalt2 theme breaks 'Python Interactive' window #3367

Closed
rchiodo opened this issue Jun 7, 2019 · 1 comment
Closed

Cobalt2 theme breaks 'Python Interactive' window #3367

rchiodo opened this issue Jun 7, 2019 · 1 comment
Assignees

Comments

@rchiodo
Copy link
Contributor

rchiodo commented Jun 7, 2019

Install the cobalt2 theme:

image

Run a cell.

Errors occur in the monaco editor.

Callstack:

webpack-internal:///./node_modules/monaco-editor/esm/vs/editor/common/modes/supports/tokenization.js:126 Uncaught Error: Illegal value for token color: #ccc
    at ColorMap.getId (webpack-internal:///./node_modules/monaco-editor/esm/vs/editor/common/modes/supports/tokenization.js:126)
    at resolveParsedTokenThemeRules (webpack-internal:///./node_modules/monaco-editor/esm/vs/editor/common/modes/supports/tokenization.js:109)
    at Function.TokenTheme.createFromParsedTokenTheme (webpack-internal:///./node_modules/monaco-editor/esm/vs/editor/common/modes/supports/tokenization.js:154)
    at Function.TokenTheme.createFromRawTokenTheme (webpack-internal:///./node_modules/monaco-editor/esm/vs/editor/common/modes/supports/tokenization.js:151)
    at StandaloneTheme.get [as tokenTheme] (webpack-internal:///./node_modules/monaco-editor/esm/vs/editor/standalone/browser/standaloneThemeServiceImpl.js:126)
    at StandaloneThemeServiceImpl.setTheme (webpack-internal:///./node_modules/monaco-editor/esm/vs/editor/standalone/browser/standaloneThemeServiceImpl.js:222)
    at Object.setTheme (webpack-internal:///./node_modules/monaco-editor/esm/vs/editor/standalone/browser/standaloneEditor.js:284)
    at MonacoEditor._this.componentDidMount (webpack-internal:///./src/datascience-ui/react-common/monacoEditor.tsx:72)
    at commitLifeCycles (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:14685)
    at commitAllLifeCycles (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:15905)
webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:14550 The above error occurred in the <MonacoEditor> component:
    in MonacoEditor (created by Code)
    in div (created by Code)
    in Code (created by Cell)
    in div (created by Cell)
    in div (created by Cell)
    in div (created by Cell)
    in div (created by Cell)
    in div (created by Cell)
    in Cell (created by MainPanel)
    in ErrorBoundary (created by MainPanel)
    in div (created by MainPanel)
    in div (created by MainPanel)
    in div (created by MainPanel)
    in MainPanel
@rchiodo rchiodo changed the title Cobalt2 theme breaks monaco editor Cobalt2 theme breaks 'Python Interactive' window Jun 7, 2019
@rchiodo rchiodo self-assigned this Jun 10, 2019
@rchiodo
Copy link
Contributor Author

rchiodo commented Jun 12, 2019

This bug has been fixed in our insider's build.

image

@rchiodo rchiodo closed this as completed Aug 6, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Aug 14, 2019
@microsoft microsoft unlocked this conversation Nov 14, 2020
@DonJayamanne DonJayamanne transferred this issue from microsoft/vscode-python Nov 14, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant