Previews shows "No valid diagram found here!" all the time (startup issue)
See original GitHub issueHere is what I found after some lookup in all logs (found in Log (Window)
):
[2018-08-22 08:22:11.446] [renderer1] [error] Invalid arguments: Error: Invalid arguments
at new e (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:474:418)
at Symbol.provideDocumentSymbols (/Users/huafu/.vscode/extensions/jkeys089.plantuml-1.8.1/out/src/symboler.js:46:90)
at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:732:493
at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:110:323
at new n.Class.derive._oncancel (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:84:776)
at Object.t.asWinJsPromise (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:110:286)
at e.provideDocumentSymbols (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:732:447)
at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:747:682
at e._withAdapter (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:747:177)
at e.$provideDocumentSymbols (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:747:644)
at e._doInvokeHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:671:983)
at e._invokeHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:671:701)
at e._receiveRequest (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:670:767)
at e._receiveOneMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:670:536)
at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:669:452
at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:672:575
at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:96:903
at e.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:98:218)
at a (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:162:713)
at Socket._socketDataListener (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:162:932)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at Socket.Readable.push (_stream_readable.js:208:10)
at Pipe.onread (net.js:594:20)
code --version
1.26.1
493869ee8e8a846b0855873886fc79d480d342de
x64
This happens on startupt of vscode, then any diagram shows “no valid diagram found here!” without generating any log anywhere
UPDATE: if it can help, the generate URL for current diagram does generate correct URL, but I guess it doesn’t make use of the same stuff under the hood…
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (4 by maintainers)
Top Results From Across the Web
Using PlantUML in VSCode - YouTube
Sous-titré en français!!! This is a short tutorial on how to use PlantUML inside of VisualStudio Code with the PlantUML extension.
Read more >No Beep Codes, POST, or Input to Monitor on Computer Startup
Is there no beep on startup on your computer? Here we present you some practical tips that can fix the no beep on...
Read more >Release notes for Semi-Annual Enterprise Channel (Preview)
We fixed an issue that caused Excel to close unexpectedly when showing live preview of a chart.
Read more >ManageEngine OpManager - Troubleshooting Guide
Can't create tables or not all the tables are created properly' error is displayed during OpManager startup. Cause. The database tables may be...
Read more >Guide 6: Basic Business Operations for the Entrepreneur - Citi
The LLC is a separate and distinct business operation allowing it to obtain a tax ID number, open a bank account, and conduct...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
As mentioned here, try to put the cursor somewhere between
@startuml
and@enduml
, and then pressALT + D
to open the preview. If the cursor is outside of the@startuml @enduml
block, the “No valid diagrams found here!” error occurs.@mrseanryan This is related to the Markdown security restrictions in VSCode
https://code.visualstudio.com/docs/languages/markdown#_markdown-preview-security
I have not found a way, as of yet, to set this setting via
settings.json
for the user or workspace.– Edit
You can force this dialog by running the command
Markdown: Change Preview Security Settings
in the omnibox.