patriciogonzalezvivo / sublime-glslViewer

Sublime Text 2/3 plugin for live coding GLSL Shaders
https://packagecontrol.io/packages/glslViewer
MIT License
151 stars 8 forks source link

Sublime Text 4 #6

Open dorald opened 1 year ago

dorald commented 1 year ago

Hi, has anyone managed to run this plugin on Sublime Text 4 ? I get error message like this: Error opening terminal: unknown. [Finished in 2.7s with exit code 1] [cmd: ['/usr/local/bin/glslViewer', 'myshader.frag']]

serious-angel commented 1 year ago

Dear Community,

Thank you very much!

Apparently, there is the same issue:

Error opening terminal: unknown.

The Sublime Text internal terminal log (Ctrl + ~):

startup, version: 4143 linux x64 channel: stable
executable: /snap/sublime-text/116/opt/sublime_text/sublime_text
application: /snap/sublime-text/116/opt/sublime_text
working dir: /home/a
packages path: /home/a/.config/sublime-text/Packages
state path: /home/a/.config/sublime-text/Local
zip path: /snap/sublime-text/116/opt/sublime_text/Packages
zip path: /home/a/.config/sublime-text/Installed Packages
ignored_packages: ["Vintage"]
pre session restore time: 0.151703
loading dictionary Packages/Language - English/en_US.dic
startup time: 0.355545
first paint time: 0.455361
git: using configuration from system git install
git: tracking working dir /home/a/projects/git/test
git: tracking working dir /home/a/projects/git/test-1
reloading plugin Default.arithmetic
reloading plugin Default.auto_indent_tag
reloading plugin Default.block
reloading plugin Default.colors
reloading plugin Default.comment
reloading plugin Default.convert_color_scheme
reloading plugin Default.convert_syntax
reloading plugin Default.copy_path
reloading plugin Default.echo
reloading plugin Default.exec
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading python 3.3 plugin 0_package_control_loader.00-package_control
reloading plugin Default.html_print
reloading python 3.3 plugin glslViewer.glslViewer
reloading plugin Default.indentation
reloading plugin Default.install_package_control
reloading python 3.3 plugin JsFormat.js_formatter
reloading plugin Default.keymap
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.profile
reloading plugin Default.quick_panel
reloading plugin Default.rename
reloading plugin Default.run_syntax_tests
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.settings
reloading plugin Default.show_scope_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading python 3.3 plugin Package Control.1_reloader
reloading python 3.3 plugin Package Control.2_bootstrap
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.ui
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin ShellScript.ShellScript
reloading python 3.3 plugin Package Control.Package Control
plugins loaded
Package Control: Skipping automatic upgrade, last run at 2023-02-22 15:35:49, next run at 2023-02-22 16:35:49 or after
Running /usr/local/bin/glslViewer shader1.frag

What might it be? Is it related to TERM environment variable? What if TERM='xterm-256color' '/usr/local/bin/glslViewer' ... or TERM='linux' '/usr/local/bin/glslViewer' ...?

Best and kind regards

chkworks commented 1 year ago

Hey people! Same issue over here... is there anybody who has an idea to solve this somehow?

Here ist the output of my error log:

Error opening terminal: unknown.
[Finished in 1.5s with exit code 1]
[cmd: ['glslViewer', '/Users/chk/Code/shaders/colors.frag']]
[dir: /Users/chk/Code/shaders]
jbaylies commented 8 months ago

same issue here: Sublime 4169 // macOS 14.3.1 // GlslViewer 3.2.4