Giter Club home page Giter Club logo

Comments (11)

tooh avatar tooh commented on July 20, 2024

same here. Any progress on this ?

from sublime_diagram_plugin.

jvantuyl avatar jvantuyl commented on July 20, 2024

Hmmmmm, Sublime Text 3 should be supported. It appears unable to find a viewer. What version of MacOS X are you running?

from sublime_diagram_plugin.

algarecu avatar algarecu commented on July 20, 2024

Mavericks at the time.

from sublime_diagram_plugin.

bAmrish avatar bAmrish commented on July 20, 2024

I am getting similar error for Sublime Text 3 on Ubuntu OS 14.04. I have attached stacktrace if that helps:

reloading plugin sublime_diagram_plugin.diagram_plugin
plugins loaded
EasyDiff: svn not found or is not working!
EasyDiff: git 1.9.1
EasyDiff: hg not found or is not working!
Viewer Setting: Preview
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 "/home/abharatiya/.config/sublime-text-3/Packages/sublime_diagram_plugin/diagram/__init__.py", line 42, in setup
    proc.load()
  File "/home/abharatiya/.config/sublime-text-3/Packages/sublime_diagram_plugin/diagram/plantuml.py", line 56, in load
    self.check_dependencies()
  File "/home/abharatiya/.config/sublime-text-3/Packages/sublime_diagram_plugin/diagram/plantuml.py", line 66, in check_dependencies
    **EXTRA_CALL_ARGS
  File "./subprocess.py", line 523, in call
  File "./subprocess.py", line 824, in __init__
  File "./subprocess.py", line 1448, in _execute_child
FileNotFoundError: [Errno 2] No such file or directory: 'java'
error: Unable to load diagram plugin, check console for details.
Traceback (most recent call last):
  File "/home/abharatiya/softwares/sublime_text_3/sublime_plugin.py", line 158, in on_api_ready
    m.plugin_loaded()
  File "/home/abharatiya/.config/sublime-text-3/Packages/sublime_diagram_plugin/diagram_plugin.py", line 26, in plugin_loaded
    setup()
  File "/home/abharatiya/.config/sublime-text-3/Packages/sublime_diagram_plugin/diagram/__init__.py", line 49, in setup
    raise Exception('No working processors found!')
Exception: No working processors found!

from sublime_diagram_plugin.

jvantuyl avatar jvantuyl commented on July 20, 2024

Hmmmm. Do you have Java installed? PlantUML requires Java.

On Jul 21, 2015, at 12:32 PM, Amrish Bharatiya [email protected] wrote:

I am getting the similar error for Sublime Text 3 on Ubuntu OS 14.04. I have attached stacktrace if that helps:

reloading plugin sublime_diagram_plugin.diagram_plugin
plugins loaded
EasyDiff: svn not found or is not working!
EasyDiff: git 1.9.1
EasyDiff: hg not found or is not working!
Viewer Setting: Preview
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 "/home/abharatiya/.config/sublime-text-3/Packages/sublime_diagram_plugin/diagram/init.py", line 42, in setup
proc.load()
File "/home/abharatiya/.config/sublime-text-3/Packages/sublime_diagram_plugin/diagram/plantuml.py", line 56, in load
self.check_dependencies()
File "/home/abharatiya/.config/sublime-text-3/Packages/sublime_diagram_plugin/diagram/plantuml.py", line 66, in check_dependencies
**EXTRA_CALL_ARGS
File "./subprocess.py", line 523, in call
File "./subprocess.py", line 824, in init
File "./subprocess.py", line 1448, in _execute_child
FileNotFoundError: [Errno 2] No such file or directory: 'java'
error: Unable to load diagram plugin, check console for details.
Traceback (most recent call last):
File "/home/abharatiya/softwares/sublime_text_3/sublime_plugin.py", line 158, in on_api_ready
m.plugin_loaded()
File "/home/abharatiya/.config/sublime-text-3/Packages/sublime_diagram_plugin/diagram_plugin.py", line 26, in plugin_loaded
setup()
File "/home/abharatiya/.config/sublime-text-3/Packages/sublime_diagram_plugin/diagram/init.py", line 49, in setup
raise Exception('No working processors found!')
Exception: No working processors found!

Reply to this email directly or view it on GitHub #30 (comment).

from sublime_diagram_plugin.

bAmrish avatar bAmrish commented on July 20, 2024

Yes. I have jdk 1.7 (oracle) installed.

from sublime_diagram_plugin.

lintanghui avatar lintanghui commented on July 20, 2024

you may need to add the graphviz to the PATH,and add a env variable GRAPHVIZ_DOT point to dot. It may help.

from sublime_diagram_plugin.

taggartaa avatar taggartaa commented on July 20, 2024

Had this same issue, it was resolved when I installed graphviz.

from sublime_diagram_plugin.

arenaq avatar arenaq commented on July 20, 2024

I am unable to make it work on Windows 10. It seems it is not installed. I used Package Control:Add Repository and pasted link to gitlab. It says it was successfully installed, but I cant see it in list when I want to remove it. I have Graphviz installed and it is working fine in Android Studio with PlantUML plugin.

from sublime_diagram_plugin.

japixxx avatar japixxx commented on July 20, 2024

I had windows 10 problem was that it cannot find java executable from path. Path is not searched even I have java bin folder added to system path..

these calls doesnt find java.exe and everything goes wrong
has_java = call(
["java", "-version"],
**EXTRA_CALL_ARGS
)
quick hack to fix
add variable pointing to java.exe to begining planuml.py

JAVA_PATH = 'C:\Program Files\Java\jdk1.8.0_131\jre\bin\java'

replace all 'java' and "java" with JAVA_PATH in planuml.py.

... everything works at least for me :)

from sublime_diagram_plugin.

jvantuyl avatar jvantuyl commented on July 20, 2024

Sublime Text 3 works 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.