pulsar-cooperative / linter-shellcheck-pulsar

Linter plugin for Bash, using shellcheck.
https://web.pulsar-edit.dev/packages/linter-shellcheck-pulsar
3 stars 0 forks source link

[Linter] Error running ShellCheck #5

Open SvenMoenig opened 4 months ago

SvenMoenig commented 4 months ago

I sometimes randomly get this error when using this plugin.

Screenshot from 2024-07-17 17-05-44

The "Open Console"-button does nothing.

I started Pulsar in dev mode and saw this error in the dev console:

linter-registry.ts:133 [Linter] Error running ShellCheck Error: Process execution timed out
    at /home/moenig/.pulsar/packages/linter-shellcheck-pulsar/node_modules/sb-exec/lib/index.js:89
(anonymous) @ linter-registry.ts:133

Version Info:

$ neofetch 
       _,met$$$$$gg.          moenig@sven 
    ,g$$$$$$$$$$$$$$$P.       ----------- 
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux 12 (bookworm) x86_64 
 ,$$P'              `$$$.     Kernel: 6.7.12+bpo-amd64 
',$$P       ,ggs.     `$$b:   Uptime: 1 hour, 58 mins 
`d$$'     ,$P"'   .    $$$    Packages: 4143 (dpkg), 109 (flatpak), 8 (snap) 
 $$P      d$'     ,    $$P    Shell: bash 5.2.15 
 $$:      $$.   -    ,d$$'    Resolution: 1920x1080 
 $$;      Y$b._   _,d$P'      DE: GNOME 43.9 
 Y$$.    `.`"Y$$$$P"'         WM: Mutter 
 `$$b      "-.__              WM Theme: Adwaita 
  `Y$$                        Theme: Adwaita-dark [GTK2/3] 
   `Y$$.                      Icons: Adwaita [GTK2/3] 
     `$$b.                    Terminal: konsole 
       `Y$$b.                 Terminal Font: FiraCode Nerd Font Mono 12 
          `"Y$b._             CPU: AMD Ryzen 5 3600 (12) @ 3.600GHz 
              `"""            GPU: AMD ATI Radeon RX 550 640SP / RX 560/560X 
                              Memory: 7218MiB / 15906MiB 
$ pulsar --version
Pulsar  : 1.119.0
Electron: 12.2.3
Chrome  : 89.0.4389.128
Node    : 14.16.0
$ shellcheck --version
ShellCheck - shell script analysis tool
version: 0.9.0
license: GNU General Public License, version 3
website: https://www.shellcheck.net

$ ppm list
Built-in Atom Packages (95)
├── atom-dark-syntax@0.29.1
├── atom-dark-ui@0.53.3
├── atom-light-syntax@0.29.1
├── atom-light-ui@0.46.3
├── base16-tomorrow-dark-theme@1.6.0
├── base16-tomorrow-light-theme@1.6.0
├── one-dark-ui@1.12.5
├── one-light-ui@1.12.5
├── one-dark-syntax@1.8.4
├── one-light-syntax@1.8.4
├── solarized-dark-syntax@1.3.0
├── solarized-light-syntax@1.3.0
├── about@1.9.1
├── archive-view@0.66.0
├── autocomplete-atom-api@0.10.7
├── autocomplete-css@0.17.5
├── autocomplete-html@0.8.9
├── autocomplete-plus@2.42.6
├── autocomplete-snippets@1.12.1
├── autoflow@0.29.4
├── autosave@0.24.6
├── background-tips@0.28.1
├── bookmarks@0.46.0
├── bracket-matcher@0.92.0
├── command-palette@0.43.5
├── dalek@0.2.2
├── deprecation-cop@0.56.9
├── dev-live-reload@0.48.1
├── encoding-selector@0.23.9
├── exception-reporting@0.43.1
├── find-and-replace@0.219.8
├── fuzzy-finder@1.14.3
├── github@0.36.20
├── git-diff@1.3.9
├── go-to-line@0.33.0
├── grammar-selector@0.50.1
├── image-view@0.64.0
├── incompatible-packages@0.27.3
├── keybinding-resolver@0.39.1
├── line-ending-selector@0.7.7
├── link@0.31.6
├── markdown-preview@0.160.2
├── notifications@0.73.0
├── open-on-github@1.3.2
├── package-generator@1.3.0
├── pulsar-updater@1.0.0
├── settings-view@0.261.11
├── snippets@1.8.0
├── spell-check@0.77.1
├── status-bar@1.8.17
├── styleguide@0.49.12
├── symbol-provider-ctags@1.0.0
├── symbol-provider-tree-sitter@1.0.0
├── symbols-view@1.0.0
├── tabs@0.110.2
├── timecop@0.36.2
├── tree-view@0.229.1
├── update-package-dependencies@0.13.1
├── welcome@0.36.9
├── whitespace@0.37.8
├── wrap-guide@0.41.1
├── language-c@0.60.20
├── language-clojure@0.22.8
├── language-coffee-script@0.50.0
├── language-csharp@1.1.0
├── language-css@0.45.4
├── language-gfm@0.90.8
├── language-git@0.19.1
├── language-go@0.47.3
├── language-html@0.53.1
├── language-hyperlink@0.17.1
├── language-java@0.32.1
├── language-javascript@0.134.2
├── language-json@1.0.5
├── language-less@0.34.3
├── language-make@0.23.0
├── language-mustache@0.14.5
├── language-objective-c@0.16.0
├── language-perl@0.38.1
├── language-php@0.48.1
├── language-property-list@0.9.1
├── language-python@0.53.6
├── language-ruby@0.73.0
├── language-ruby-on-rails@0.25.3
├── language-rust-bundled@0.1.1
├── language-sass@0.62.2
├── language-shellscript@0.28.2
├── language-source@0.9.0
├── language-sql@0.25.10
├── language-text@0.7.4
├── language-todo@0.29.4
├── language-toml@0.20.0
├── language-typescript@0.6.4
├── language-xml@0.35.3
└── language-yaml@0.32.0

Community Packages (47) /home/moenig/.pulsar/packages
├── Quick-JavaScript@2.2.0
├── atom-django@0.3.2 (disabled)
├── atom-easy-jsdoc@4.12.5
├── atom-file-icons@0.7.1
├── atom-ide-base@3.4.0
├── atom-ide-code-format@1.0.3
├── atom-ide-datatip@0.25.0
├── atom-ide-definitions@0.4.2
├── atom-ide-hyperclick@1.0.11
├── atom-ide-markdown-service@2.1.0
├── atom-ide-outline@3.2.0
├── atom-ide-signature-help@0.16.0
├── atom-typescript@14.4.0 (disabled)
├── atomic-management@0.4.2
├── busy-signal@2.0.1
├── console@0.6.0
├── declarations@1.1.3
├── django-templates@0.5.0
├── django-wrap-i18n@0.6.0
├── file-icons@2.1.47
├── git-blame@1.8.0
├── gitlab-manager@0.2.2
├── ide-bash@1.0.11
├── ide-typescript@0.9.5
├── intentions@2.1.1
├── javascript-drag-import@0.1.13
├── language-ansi-styles@0.1.0
├── language-apache@1.8.0
├── language-dot@1.7.0
├── language-ini@1.25.0
├── language-pip@2.0.1
├── language-svg@0.9.2
├── language-systemd@0.1.1
├── language-tex@0.4.0
├── linter@3.4.0
├── linter-shellcheck-pulsar@1.6.0
├── linter-ui-default@3.4.1
├── markdown-pdf@2.3.3
├── pdfjs-viewer@1.3.0
├── pp-markdown@0.0.2
├── preview-plus@1.2.7
├── pulsar-find-references@0.0.20
├── pulsar-ide-python@1.11.1
├── pulsar-ide-typescript-alpha@0.1.2
├── redmine@0.2.2
├── svg-preview@0.14.0
└── svn@0.0.14
github-actions[bot] commented 4 months ago

Welcome to Pulsar Cooperative: pulsar-cooperative/linter-shellcheck-pulsar!

Thanks a ton SvenMoenig for creating this issue! We can't understate how important and appreciated it is for your contribution!

However, it's important to be clear about the level of support that should be expected here.

As this repository is within the Pulsar Cooperative Organization, you cannot expect any core members of the Pulsar Organization to offer advice or code fixes. The fix to your issue is expected to come from someone else in the community just like yourself, as is the mission of this organization. If you'd like, feel free to read more about this in our organization's Contributing Guide.

Hope your issue is resolved soon, and as always, see you among the stars!