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

Bad svg image #2683

Closed
YuanshengZhao opened this issue Nov 15, 2019 · 3 comments
Closed

Bad svg image #2683

YuanshengZhao opened this issue Nov 15, 2019 · 3 comments
Assignees

Comments

@YuanshengZhao
Copy link

Bug: Notebook Editor, Interactive Window, Python Editor cells

Steps to cause the bug to occur

Please refer to this issue I erroneously reported to vs code:
microsoft/vscode#84709

Your Jupyter and/or Python environment

Please provide as much info as you readily know

  • Jupyter server running: Local
  • Extension version: 2019.10.44104
  • VS Code version: 1.40
  • Setting python.jediEnabled: true
  • Python and/or Anaconda version: 3.7.0
  • OS: Windows 10
  • Virtual environment: N/A

Developer Tools Console Output

[Extension Host] Info Python Extension: 2019-11-16 00:29:37: Cached data exists getEnvironmentVariables, c:\Users\yuans\Desktop
workbench.desktop.main.js:sourcemap:250 [Extension Host] Info Python Extension: 2019-11-16 00:29:38: Loading web panel. Panel is notset
workbench.desktop.main.js:sourcemap:250 [Extension Host] Info Python Extension: 2019-11-16 00:29:38: Loading web view...
workbench.desktop.main.js:sourcemap:250 [Extension Host] Info Python Extension: 2019-11-16 00:29:38: Web view created.
workbench.desktop.main.js:sourcemap:250 [Extension Host] Info Python Extension: 2019-11-16 00:29:38: Adding sys info for 2d0f9e1f-b99c-4920-81d4-79d8de9dc876 0
workbench.desktop.main.js:sourcemap:250 [Extension Host] Info Python Extension: 2019-11-16 00:29:38: Sys info for 2d0f9e1f-b99c-4920-81d4-79d8de9dc876 0 complete
workbench.desktop.main.js:sourcemap:250 [Extension Host] Info Python Extension: 2019-11-16 00:29:39: Request for onigasm file at c:\Users\yuans.vscode\extensions\ms-python.python-2019.10.44104\out\client\node_modules\onigasm\lib\onigasm.wasm
workbench.desktop.main.js:sourcemap:250 [Extension Host] Info Python Extension: 2019-11-16 00:29:39: Searching for token colors ...
workbench.desktop.main.js:sourcemap:250 [Extension Host] Info Python Extension: 2019-11-16 00:29:39: Attempting search for colors ...
workbench.desktop.main.js:sourcemap:250 [Extension Host] Info Python Extension: 2019-11-16 00:29:39: Searching for token colors ...
workbench.desktop.main.js:sourcemap:250 [Extension Host] Info Python Extension: 2019-11-16 00:29:39: Attempting search for colors ...
2workbench.desktop.main.js:sourcemap:250 [Extension Host] Info Python Extension: 2019-11-16 00:29:39: Loading colors from c:\Users\yuans\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\light_plus.json ...
workbench.desktop.main.js:sourcemap:250 [Extension Host] Info Python Extension: 2019-11-16 00:29:39: Wait for sys info for 2d0f9e1f-b99c-4920-81d4-79d8de9dc876 0
workbench.desktop.main.js:sourcemap:250 [Extension Host] Info Python Extension: 2019-11-16 00:29:39: Attempting search for colors ...
workbench.desktop.main.js:sourcemap:250 [Extension Host] Info Python Extension: 2019-11-16 00:29:39: Loading base colors from c:\Users\yuans\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\light_plus.json ...
workbench.desktop.main.js:sourcemap:250 [Extension Host] Info Python Extension: 2019-11-16 00:29:39: Attempting search for colors ...
workbench.desktop.main.js:sourcemap:250 [Extension Host] Info Python Extension: 2019-11-16 00:29:39: Loading base colors from c:\Users\yuans\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\light_plus.json ...
2workbench.desktop.main.js:sourcemap:250 [Extension Host] Info Python Extension: 2019-11-16 00:29:39: Using colors to generate CSS ...
workbench.desktop.main.js:sourcemap:250 [Extension Host] Info Python Extension: 2019-11-16 00:29:40: Request for tmlanguage file.
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…5 0 \n,L 0 0 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…20.5625 7.2 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…5 27.203125 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…75 8.296875 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…L 10.6875 0 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…25 66.40625 \n,z\n,M 31.78125 74.2…".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "… 12.40625 0 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…75 36.28125 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…125 39.3125 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…5 25.390625 \n,z\n,M 35.203125 72.…".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…5625 40.375 \n,z\n,M 52.59375 71.2…".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…25 64.59375 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…5 29.878125 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…5 32.171875 \n,z\n,M 55.90625 25.2…".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…125 54.6875 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…125 39.3125 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "… 12.40625 0 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…5 27.203125 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…25 66.40625 \n,z\n,M 31.78125 74.2…".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…L 10.6875 0 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "… 12.40625 0 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…5625 40.375 \n,z\n,M 52.59375 71.2…".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…L 10.6875 0 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…75 8.296875 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…5 25.390625 \n,z\n,M 35.203125 72.…".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…5 27.203125 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "… 12.40625 0 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…75 8.296875 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…75 36.28125 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…25 66.40625 \n,z\n,M 31.78125 74.2…".
2workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "… 12.40625 0 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…25 66.40625 \n,z\n,M 31.78125 74.2…".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…L 10.6875 0 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…125 54.6875 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…L 10.6875 0 \n,z\n,".
2workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…25 66.40625 \n,z\n,M 31.78125 74.2…".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…75 36.28125 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…5 27.203125 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…75 36.28125 \n,z\n,".
2workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…L 10.6875 0 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…25 66.40625 \n,z\n,M 31.78125 74.2…".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…5 27.203125 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…25 66.40625 \n,z\n,M 31.78125 74.2…".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…75 36.28125 \n,z\n,".
2workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…L 10.6875 0 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…75 8.296875 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…5 32.171875 \n,z\n,M 55.90625 25.2…".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…25 66.40625 \n,z\n,M 31.78125 74.2…".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…L 10.6875 0 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…75 36.28125 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…25 64.59375 \n,z\n,".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Error: attribute d: Expected path command, "…25 66.40625 \n,z\n,M 31.78125 74.2…".
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq
workbench.desktop.main.js:sourcemap:3241 [Embedded Page] Failed to construct 'Worker': Script at 'vscode-resource://file///c%3A/Users/yuans/.vscode/extensions/ms-python.python-2019.10.44104/out/datascience-ui/native-editor/editor.worker.js' cannot be accessed from origin 'null'.

@jmew
Copy link
Contributor

jmew commented Nov 15, 2019

Thanks for bringing up this issue. I was able to reproduce it as well. We will look into this.

@rchiodo Those weird commas are added again to the notebook as well if you look under the plot. Not sure if that should have been fixed by https://github.com/microsoft/vscode-python/issues/7873

@rchiodo
Copy link
Contributor

rchiodo commented Nov 15, 2019

Seems like another case of the same thing. No it wouldn't be solved by microsoft/vscode-python#7873 because we only fixed it for text.

@IanMatthewHuff IanMatthewHuff self-assigned this Dec 3, 2019
@rchiodo rchiodo self-assigned this Dec 6, 2019
@rchiodo
Copy link
Contributor

rchiodo commented Dec 6, 2019

Validated. Should be fixed in our next release.

@rchiodo rchiodo closed this as completed Dec 6, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Dec 13, 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

4 participants