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

Unable to load configured viewer, falling back to autodetection... #62

Open
icecity0079 opened this issue Mar 3, 2018 · 0 comments
Open

Comments

@icecity0079
Copy link

After the installation, the following error appears as follows:

Viewer Setting: Preview

Loading processor class: <class 'sublime_diagram_plugin.diagram.plantuml.PlantUMLProcessor'>
Detected 'C:\Users\Admin\AppData\Roaming\Sublime Text 3\Packages\sublime_diagram_plugin\diagram\plantuml.1.2018.1.jar'
Version Detection:
b'PlantUML version 1.2018.01 (Mon Jan 29 02:08:22 CST 2018)\r\n(GPL source distribution)\r\nJava Runtime: Java(TM) SE Runtime Environment\r\nJVM: Java HotSpot(TM) Client VM\r\nJava Version: 1.8.0_144-b01\r\nOperating System: Windows 10\r\nOS Version: 10.0\r\nDefault Encoding: GBK\r\nLanguage: zh\r\nCountry: CN\r\nMachine: LapTopS4KUA-Q\r\nPLANTUML_LIMIT_SIZE: 4096\r\nProcessors: 4\r\nMax Memory: 259,522,560\r\nTotal Memory: 16,252,928\r\nFree Memory: 12,276,536\r\nUsed Memory: 3,976,392\r\nThread Active Count: 1\r\n\r\nThe environment variable GRAPHVIZ_DOT has been set to C:\Program Files (x86)\Graphviz2.38\bin\dot.exe\r\nDot executable is C:\Program Files (x86)\Graphviz2.38\bin\dot.exe\r\nDot version: dot - graphviz version 2.38.0 (20140413.2041)\r\r\nInstallation seems OK. File generation OK\r\n'
PlantUML Smoke Check:
b'The environment variable GRAPHVIZ_DOT has been set to C:\Program Files (x86)\Graphviz2.38\bin\dot.exe\r\nDot executable is C:\Program Files (x86)\Graphviz2.38\bin\dot.exe\r\nDot version: dot - graphviz version 2.38.0 (20140413.2041)\r\r\nInstallation seems OK. File generation OK\r\n'
Loaded processor: <sublime_diagram_plugin.diagram.plantuml.PlantUMLProcessor object at 0x000001C52A4DDA90>
Loading viewer class from configuration: <class 'sublime_diagram_plugin.diagram.preview.PreviewViewer'>
Unable to load configured viewer, falling back to autodetection...
Traceback (most recent call last):
File "C:\Users\Admin\AppData\Roaming\Sublime Text 3\Packages\sublime_diagram_plugin\diagram_init_.py", line 59, in setup
vwr.load()
File "C:\Users\Admin\AppData\Roaming\Sublime Text 3\Packages\sublime_diagram_plugin\diagram\preview.py", line 8, in load
raise Exception("Currently only supported on MacOS")
Exception: Currently only supported on MacOS
Trying Viewer Sublime3Viewer
Loading viewer class: <class 'sublime_diagram_plugin.diagram.sublime3.Sublime3Viewer'>
Loaded viewer: <sublime_diagram_plugin.diagram.sublime3.Sublime3Viewer object at 0x000001C52A4E46A0>
Processors: [<sublime_diagram_plugin.diagram.plantuml.PlantUMLProcessor object at 0x000001C52A4DDA90>]
Viewer: <sublime_diagram_plugin.diagram.sublime3.Sublime3Viewer object at 0x000001C52A4E46A0>

The default configuration error of the Diagram.sublime-settings file is checked

"Viewer": "Preview", after changing to Sublime3Viewer, the problem is solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant