Comments (18)
hi, did everyone have the problem like this ?
Loading processor class: <class 'sublime_diagram_plugin.diagram.plantuml.PlantUMLProcessor'>
Unable to load processor: <class 'sublime_diagram_plugin.diagram.plantuml.PlantUMLProcessor'>
Traceback (most recent call last):
File "D:\BACKUP-APP\SublimeText\Data\Packages\sublime_diagram_plugin\diagram_init_.py", line 44, in setup
proc.load()
File "D:\BACKUP-APP\SublimeText\Data\Packages\sublime_diagram_plugin\diagram\plantuml.py", line 56, in load
self.check_dependencies()
File "D:\BACKUP-APP\SublimeText\Data\Packages\sublime_diagram_plugin\diagram\plantuml.py", line 70, in check_dependencies
raise Exception("can't find Java")
Exception: can't find Java
error: Unable to load diagram plugin, check console for details.
ENV: windows 7-64x sublime 3
and the java is ok
C:\Windows\System32>java -version
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
from sublime_diagram_plugin.
I have the same issue too.And I still can't solve it.
from sublime_diagram_plugin.
Sublime Text 3 + Package Manager installs Zip archives now instead of regular directories, like older version used to. ST3 knows how to import modules from inside those archives, but Diagram doesn't (and shouldn't) know how to reach inside that same archive to find the plantuml JAR.
As a workaround, you can extract the Diagram.sublime-package file into "Packages/Diagram" and uninstall it through Package Control. That will give you a normal directory structure that works until we can figure something else out.
from sublime_diagram_plugin.
Good to know. But it still does not work for me. Neither when I try to unpack the downloaded package nor when cloning the repository. The console output is as follows:
reloading Packages/Diagram/Diagram.sublime-settings
reloading plugin Diagram.diagram_plugin
error: Unable to load diagram plugin, check console for details.
Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 115, in reload_plugin
m.plugin_loaded()
File "/Users/xxx/Library/Application Support/Sublime Text 3/Packages/Diagram/diagram_plugin.py", line 26, in plugin_loaded
setup()
File "diagram in /Users/xxx/Library/Application Support/Sublime Text 3/Installed Packages/Diagram.sublime-package", line 27, in setup
TypeError: Can't convert 'NoneType' object to str implicitly
found 13 files for base name Default.sublime-keymap
found 9 files for base name Main.sublime-menu
generating syntax summary
Processing diagrams in <sublime.View object at 0x104eaf6d0>...
error: No diagrams overlap selections.
from sublime_diagram_plugin.
Instead of using it's own plantuml jar file, the extension could use a system-wide installation of plantuml or allow the user to configure an external command for plantuml. This way, the extension could be packaged.
from sublime_diagram_plugin.
I have the same issue.
from sublime_diagram_plugin.
I can't reproduce this. Can either of you give me a little more information about your environment? Is that the whole error message?
from sublime_diagram_plugin.
File "/Users/peter/Library/Application Support/Sublime Text 3/Packages/Diagram/diagram/init.py", line 49, in setup
raise Exception('No working processors found!')
Exception: No working processors found!
SublimeLinter: debug mode: off
Package Control: Skipping automatic upgrade, last run at 2015-07-01 14:53:38, next run at 2015-07-01 15:53:38 or after
from sublime_diagram_plugin.
What version of MacOS X is that @tooh?
from sublime_diagram_plugin.
ProductName: Mac OS X
ProductVersion: 10.10.4
BuildVersion: 14E46
from sublime_diagram_plugin.
I had the same issue and solved it by installing GraphViz (brew install graphviz
).
from sublime_diagram_plugin.
Did
brew install graphviz
It seems that this partly solves my problem. The plugin seems active now.
I have another problem and will open separate issue for that.
from sublime_diagram_plugin.
hi,@tooh My situation is when I did brew install graphviz
it doenn't work util I run brew link --overwrite graphviz
after this. And Now It works
from sublime_diagram_plugin.
@woshidama323 Maybe java 1.6 will be working correctly.
from sublime_diagram_plugin.
A proper sudo apt-get install graphviz
solve the problem in my case (Ubuntu 16.04).
I had previoulsy install the plugin via Package Control: Add repository
and Package Control: Install Package
from sublime_diagram_plugin.
Just share some information. I also meet this problem, and find out I don't install proper java version in Ubuntu.
from sublime_diagram_plugin.
I fixed the bug.
1.brew install graphviz
2.restart sublime
3.select code and 'alt+d'
4.enjoy it.
from sublime_diagram_plugin.
It looks like this was a missing graphviz install. I can’t really do much about this and I do list it as a dependency in the README. I think that’s as fixed as this can be right now.
from sublime_diagram_plugin.
Related Issues (20)
- hi, you may like the new diagram syntax HOT 3
- Installation through Package Control HOT 2
- Display a picture of ...Syntax Error?... after pressing alt-m HOT 2
- svg support for generated plantuml images HOT 4
- Package control says it's MISSING HOT 5
- Package streching HOT 1
- Collections support? HOT 1
- Error Processing Diagram HOT 3
- Request: Option to display preview in sidebar during typing HOT 5
- Unable to load configured viewer, falling back to autodetection...
- Single line comments are not escaped correctly
- Install an error under Windows HOT 1
- Sublime 3 on mac: Unable to load diagram plugin, check console for details. HOT 2
- error: No diagrams overlap selections. HOT 4
- The path problem with Package Control
- syntax highlighting triggers on apostrophe HOT 2
- Operation Instructions? HOT 1
- Support adding an include file via configuration HOT 1
- can't output .png
- for update HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sublime_diagram_plugin.