bash-lsp / bash-language-server

A language server for Bash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

get so much WARNING ⛔️ Error while parsing file

iysheng opened this issue · comments

Code editor

Vim

Platform

Solus

Version

5.0.0

What steps will reproduce the bug?

open project armbian/build under vim with bash-language-server and youcompleteme. Get so much ⛔️ Error while parsing file, and I put the ycmd err log.

2023-09-29 21:41:24,787 - INFO - Completion config: 50, detailing -1 candiates
2023-09-29 21:41:24,787 - INFO - Completion config: 50, detailing -1 candiates
2023-09-29 21:41:24,787 - INFO - Completion config: 50, detailing -1 candiates
2023-09-29 21:41:24,787 - INFO - Completion config: 50, detailing -1 candiates
127.0.0.1 - - [29/Sep/2023 21:41:24] "GET /ready HTTP/1.1" 200 4
2023-09-29 21:41:24,819 - INFO - Completion config: 50, detailing -1 candiates
127.0.0.1 - - [29/Sep/2023 21:41:24] "GET /signature_help_available?subserver=sh HTTP/1.1" 200 23
2023-09-29 21:41:25,237 - INFO - Adding buffer identifiers for file: /home/yangyongsheng/LearnProjects/licheepi_4a/build/compile.sh
127.0.0.1 - - [29/Sep/2023 21:41:25] "POST /event_notification HTTP/1.1" 200 2
2023-09-29 21:41:25,312 - INFO - Starting bashCompleter: ['/usr/bin/bash-language-server', 'start']
2023-09-29 21:41:25,316 - INFO - bashCompleter started with PID 2521401
127.0.0.1 - - [29/Sep/2023 21:41:25] "POST /event_notification HTTP/1.1" 200 2
127.0.0.1 - - [29/Sep/2023 21:41:25] "POST /semantic_completion_available HTTP/1.1" 200 4
2023-09-29 21:41:26,312 - INFO - bash: Language server requires resolve request
2023-09-29 21:41:26,312 - INFO - bash: Language server requires sync type of Full
2023-09-29 21:41:26,312 - INFO - bash: Using trigger characters for semantic triggers: $,{
127.0.0.1 - - [29/Sep/2023 21:41:26] "POST /receive_messages HTTP/1.1" 200 4
2023-09-29 21:41:26,376 - WARNING - Server reported: 13:41:26.316 WARNING ⛔️ Environment variable configuration is being deprecated, please use workspace configuration. The following environment variables were used: enableSourceErrorDiagnostics
2023-09-29 21:41:26,377 - INFO - Server reported: 13:41:26.316 INFO BackgroundAnalysis: resolving glob "**/*@(.sh|.inc|.bash|.command)" inside "file:///home/yangyongsheng/LearnProjects/licheepi_4a/build"...
127.0.0.1 - - [29/Sep/2023 21:41:28] "POST /debug_info HTTP/1.1" 200 665
2023-09-29 21:41:31,555 - INFO - Server reported: 13:41:31.554 INFO BackgroundAnalysis: Glob resolved with 280 files after 5.238 seconds
2023-09-29 21:41:31,726 - WARNING - Server reported: 13:41:31.725 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/extensions/bluetooth-hciattach.sh: syntax error
2023-09-29 21:41:31,761 - WARNING - Server reported: 13:41:31.760 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/extensions/flash-kernel.sh: syntax error
2023-09-29 21:41:31,781 - WARNING - Server reported: 13:41:31.780 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/extensions/gen-sample-extension-docs.sh: syntax error
2023-09-29 21:41:31,835 - WARNING - Server reported: 13:41:31.834 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/extensions/grub.sh: syntax error
2023-09-29 21:41:31,851 - WARNING - Server reported: 13:41:31.849 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/extensions/image-output-ovf.sh: syntax error
2023-09-29 21:41:31,864 - WARNING - Server reported: 13:41:31.863 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/extensions/image-output-utm.sh: syntax error
2023-09-29 21:41:31,872 - WARNING - Server reported: 13:41:31.871 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/extensions/nicod-armbian-gaming.sh: syntax error
2023-09-29 21:41:31,901 - WARNING - Server reported: 13:41:31.900 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/extensions/u-boot-menu.sh: syntax error
2023-09-29 21:41:31,913 - WARNING - Server reported: 13:41:31.911 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/tools/gen-library.sh: syntax error
2023-09-29 21:41:32,022 - WARNING - Server reported: 13:41:32.021 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/artifacts/artifacts-obtain.sh: syntax error
2023-09-29 21:41:32,040 - WARNING - Server reported: 13:41:32.039 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/bsp/armbian-bsp-cli-deb.sh: syntax error
2023-09-29 21:41:32,104 - WARNING - Server reported: 13:41:32.103 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/cli/utils-cli.sh: syntax error
2023-09-29 21:41:32,138 - WARNING - Server reported: 13:41:32.137 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/compilation/kernel-config.sh: syntax error
2023-09-29 21:41:32,165 - WARNING - Server reported: 13:41:32.164 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/compilation/kernel-debs.sh: syntax error
2023-09-29 21:41:32,197 - WARNING - Server reported: 13:41:32.195 WARNING ⛔️ file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/compilation/kernel-patching.sh line 63: non-constant source not supported
2023-09-29 21:41:32,214 - WARNING - Server reported: 13:41:32.213 WARNING ⛔️ file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/compilation/uboot-patching.sh line 56: non-constant source not supported
2023-09-29 21:41:32,223 - WARNING - Server reported: 13:41:32.222 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/compilation/uboot.sh: syntax error
2023-09-29 21:41:32,238 - WARNING - Server reported: 13:41:32.237 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/configuration/aggregation.sh: syntax error
2023-09-29 21:41:32,240 - WARNING - Server reported: 13:41:32.240 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/configuration/compilation-config.sh: syntax error
2023-09-29 21:41:32,273 - WARNING - Server reported: 13:41:32.271 WARNING ⛔️ file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/configuration/main-config.sh line 349: non-constant source not supported
2023-09-29 21:41:32,273 - WARNING - Server reported: 13:41:32.272 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/configuration/main-config.sh: syntax error
2023-09-29 21:41:32,353 - WARNING - Server reported: 13:41:32.352 WARNING ⛔️ file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/general/extensions.sh line 345: non-constant source not supported
2023-09-29 21:41:32,353 - WARNING - Server reported: 13:41:32.352 WARNING ⛔️ file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/general/extensions.sh line 360: non-constant source not supported
2023-09-29 21:41:32,354 - WARNING - Server reported: 13:41:32.352 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/general/extensions.sh: syntax error
2023-09-29 21:41:32,403 - WARNING - Server reported: 13:41:32.402 WARNING ⛔️ file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/general/memoize-cached.sh line 58: non-constant source not supported
2023-09-29 21:41:32,441 - WARNING - Server reported: 13:41:32.441 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/host/apt-cacher-ng.sh: syntax error
2023-09-29 21:41:32,491 - WARNING - Server reported: 13:41:32.488 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/host/docker.sh: syntax error
2023-09-29 21:41:32,512 - WARNING - Server reported: 13:41:32.511 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/host/host-release.sh: syntax error
2023-09-29 21:41:32,519 - WARNING - Server reported: 13:41:32.517 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/host/host-utils.sh: syntax error
2023-09-29 21:41:32,559 - WARNING - Server reported: 13:41:32.554 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/host/prepare-host.sh: syntax error
2023-09-29 21:41:32,579 - WARNING - Server reported: 13:41:32.579 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/image/fingerprint.sh: syntax error
2023-09-29 21:41:32,591 - WARNING - Server reported: 13:41:32.590 WARNING ⛔️ file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/image/loop.sh line 84: non-constant source not supported
2023-09-29 21:41:32,591 - WARNING - Server reported: 13:41:32.590 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/image/loop.sh: syntax error
2023-09-29 21:41:32,605 - WARNING - Server reported: 13:41:32.604 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/image/partitioning.sh: syntax error
2023-09-29 21:41:32,611 - WARNING - Server reported: 13:41:32.610 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/image/rootfs-to-image.sh: syntax error
2023-09-29 21:41:32,614 - WARNING - Server reported: 13:41:32.613 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/image/write-device.sh: syntax error
2023-09-29 21:41:32,640 - WARNING - Server reported: 13:41:32.640 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/logging/display-alert.sh: syntax error
2023-09-29 21:41:32,650 - WARNING - Server reported: 13:41:32.649 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/logging/export-logs.sh: syntax error
2023-09-29 21:41:32,687 - WARNING - Server reported: 13:41:32.686 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/logging/stacktraces.sh: syntax error
2023-09-29 21:41:32,733 - WARNING - Server reported: 13:41:32.731 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/main/config-prepare.sh: syntax error
2023-09-29 21:41:32,741 - WARNING - Server reported: 13:41:32.738 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/main/rootfs-image.sh: syntax error
2023-09-29 21:41:32,749 - WARNING - Server reported: 13:41:32.744 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/main/start-end.sh: syntax error
2023-09-29 21:41:32,777 - WARNING - Server reported: 13:41:32.773 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/rootfs/create-cache.sh: syntax error
2023-09-29 21:41:32,779 - WARNING - Server reported: 13:41:32.777 WARNING ⛔️ file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/rootfs/customize.sh line 12: non-constant source not supported
2023-09-29 21:41:32,779 - WARNING - Server reported: 13:41:32.777 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/rootfs/customize.sh: syntax error
2023-09-29 21:41:32,802 - WARNING - Server reported: 13:41:32.798 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/rootfs/distro-agnostic.sh: syntax error
2023-09-29 21:41:32,820 - WARNING - Server reported: 13:41:32.815 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/rootfs/distro-specific.sh: syntax error
2023-09-29 21:41:32,820 - WARNING - Server reported: 13:41:32.818 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/rootfs/post-tweaks.sh: syntax error
2023-09-29 21:41:32,957 - WARNING - Server reported: 13:41:32.956 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/packages/bsp/nanopim4/nanopim4-pwm-fan.sh: syntax error
2023-09-29 21:41:33,027 - WARNING - Server reported: 13:41:33.023 WARNING ⛔️ file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/packages/blobs/grub/09_linux_with_dtb.sh line 34: non-constant source not supported
2023-09-29 21:41:33,068 - WARNING - Server reported: 13:41:33.067 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/lib/functions/compilation/packages/utils-dpkgdeb.sh: syntax error
2023-09-29 21:41:33,196 - WARNING - Server reported: 13:41:33.195 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/config/sources/families/include/meson64_common.inc: syntax error
2023-09-29 21:41:33,236 - WARNING - Server reported: 13:41:33.234 WARNING ⛔️ file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/config/sources/families/include/sunxi64_common.inc line 20: non-constant source not supported
2023-09-29 21:41:33,236 - WARNING - Server reported: 13:41:33.234 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/config/sources/families/include/sunxi64_common.inc: syntax error
2023-09-29 21:41:33,242 - WARNING - Server reported: 13:41:33.241 WARNING ⛔️ file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/config/sources/families/include/sunxi_common.inc line 21: non-constant source not supported
2023-09-29 21:41:33,242 - WARNING - Server reported: 13:41:33.241 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/config/sources/families/include/sunxi_common.inc: syntax error
2023-09-29 21:41:33,251 - WARNING - Server reported: 13:41:33.250 WARNING ⛔️ file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/config/sources/vendors/mekotronics/mekotronics-rk3588.conf.sh line 11: non-constant source not supported
2023-09-29 21:41:33,269 - WARNING - Server reported: 13:41:33.268 WARNING ⛔️ Error while parsing file:///home/yangyongsheng/LearnProjects/licheepi_4a/build/packages/bsp/aml-s9xx-box/root/install-aml.sh: syntax error
2023-09-29 21:41:33,650 - INFO - Server reported: 13:41:33.649 INFO BackgroundAnalysis: Completed after 7.333 seconds.
127.0.0.1 - - [29/Sep/2023 21:41:43] "POST /receive_messages HTTP/1.1" 200 4
127.0.0.1 - - [29/Sep/2023 21:41:53] "POST /receive_messages HTTP/1.1" 200 96
127.0.0.1 - - [29/Sep/2023 21:42:03] "POST /receive_messages HTTP/1.1" 200 4
127.0.0.1 - - [29/Sep/2023 21:42:13] "POST /receive_messages HTTP/1.1" 200 4
127.0.0.1 - - [29/Sep/2023 21:42:23] "POST /receive_messages HTTP/1.1" 200 4
127.0.0.1 - - [29/Sep/2023 21:42:33] "POST /receive_messages HTTP/1.1" 200 4
127.0.0.1 - - [29/Sep/2023 21:42:43] "POST /receive_messages HTTP/1.1" 200 4
127.0.0.1 - - [29/Sep/2023 21:42:53] "POST /receive_messages HTTP/1.1" 200 4
127.0.0.1 - - [29/Sep/2023 21:43:03] "POST /receive_messages HTTP/1.1" 200 4
127.0.0.1 - - [29/Sep/2023 21:43:13] "POST /receive_messages HTTP/1.1" 200 4

How often does it reproduce? Is there a required condition?

always under Solus, but work fine under Fedora 35.

What is the expected behavior?

Jump anywhere as much as possible

What do you see instead?

When I do command YcmCompleter GoToDefinition I always get RuntimeError: Cannot jump to location.

Additional information

No response

Code editor
Emacs

Platform
Macos

Version
5.0.0

same question happen。Why send message every time when cursor move?

Code editor Emacs

Platform Macos

Version 5.0.0

same question happen。Why send message every time when cursor move?

Although YcmCompleter GoToDefinition Failed ,but I found I can use YcmCompleter GoToReferences goto these function definitions. 😅