Giter Club home page Giter Club logo

Comments (18)

woshidama323 avatar woshidama323 commented on July 20, 2024 2

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.

glumes avatar glumes commented on July 20, 2024 1

I have the same issue too.And I still can't solve it.

from sublime_diagram_plugin.

kstrauser avatar kstrauser commented on July 20, 2024

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.

namxam avatar namxam commented on July 20, 2024

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.

alumni avatar alumni commented on July 20, 2024

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.

joewilliams avatar joewilliams commented on July 20, 2024

I have the same issue.

from sublime_diagram_plugin.

jvantuyl avatar jvantuyl commented on July 20, 2024

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.

tooh avatar tooh commented on July 20, 2024

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.

jvantuyl avatar jvantuyl commented on July 20, 2024

What version of MacOS X is that @tooh?

from sublime_diagram_plugin.

tooh avatar tooh commented on July 20, 2024

ProductName: Mac OS X
ProductVersion: 10.10.4
BuildVersion: 14E46

from sublime_diagram_plugin.

jguillon avatar jguillon commented on July 20, 2024

I had the same issue and solved it by installing GraphViz (brew install graphviz).

from sublime_diagram_plugin.

tooh avatar tooh commented on July 20, 2024

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.

idevz avatar idevz commented on July 20, 2024

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.

leauge7 avatar leauge7 commented on July 20, 2024

@woshidama323 Maybe java 1.6 will be working correctly.

from sublime_diagram_plugin.

ascientist avatar ascientist commented on July 20, 2024

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.

rikpires avatar rikpires commented on July 20, 2024

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.

excel555 avatar excel555 commented on July 20, 2024

I fixed the bug.
1.brew install graphviz
2.restart sublime
3.select code and 'alt+d'
4.enjoy it.

from sublime_diagram_plugin.

jvantuyl avatar jvantuyl commented on July 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.