You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following error when trying to save any go file
error: Traceback (most recent call last):
File "/home/my_user/.config/sublime-text/Installed Packages/Gofmt.sublime-package/gofmt.py", line 257, in run_formatter
formatter = Formatter(view)
File "/home/my_user/.config/sublime-text/Installed Packages/Gofmt.sublime-package/gofmt.py", line 166, in __init__
self.cmds = [Command(cmd, self.view, self.window) for cmd in cmds]
File "/home/my_user/.config/sublime-text/Installed Packages/Gofmt.sublime-package/gofmt.py", line 166, in <listcomp>
self.cmds = [Command(cmd, self.view, self.window) for cmd in cmds]
File "/home/my_user/.config/sublime-text/Installed Packages/Gofmt.sublime-package/gofmt.py", line 77, in __init__
self.window)
File "/home/my_user/.config/sublime-text/Packages/golangconfig/all/golangconfig.py", line 197, in subprocess_info
value, _ = setting_value(var_name, view=view, window=window)
File "/home/my_user/.config/sublime-text/Packages/golangconfig/all/golangconfig.py", line 371, in setting_value
raise e
golangconfig.GoPathNotFoundError: The GOPATH environment variable value "/home/my_user/.local/go
BASH_FUNC_which%%=() { ( alias;
eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot "$@"
}" does not exist on the filesystem
Here's the weird thing though, I don't get the error if I leave my terminal's PS1 alone. I'm currently on Fedora 34 XFCE x11 and Sublime Text Build 4107
I get the following error when trying to save any go file
Here's the weird thing though, I don't get the error if I leave my terminal's PS1 alone. I'm currently on Fedora 34 XFCE x11 and Sublime Text Build 4107
Here is my Gofmt.sublime-settings
as for the
BASH_FUNC_which
function in the error, I have no idea where it's getting that from, that's not in my .bashrcThe text was updated successfully, but these errors were encountered: