-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
completion fails with ValueError #19
Comments
Could you also upload the file that you were editing? |
I made a simple top.sls file and post the log here. There are multiple errors in the log. I am not sure which one messes up the completions and which are acceptable. base:
'*':
- pkg.installed: The salt version is 3003.2 |
Hi @benatouba, is the code block the whole For example: # /srv/salt/top.sls
base:
'*': # matches all minions
- test # matches test.sls, assigned to all matched minions # /srv/salt/test.sls
vim:
pkg.installed Do you get the same error with a SLS file setup like I described? |
I think both the |
@benatouba Could you recheck with the latest state from main? |
As it looks to me right now, the updates solved this issue. I still get no completion but that might have a different source. The log does only show "yaml.scan.errrors" with jinja templates (%). But that is not yet implemented, right? |
Benjamin Schmidt ***@***.***> writes:
As it looks to me right now, the updates solved this issue. I still get no completion but that might have a different source.
The log does only show "yaml.scan.errrors" with jinja templates (%). But that is not yet implemented, right?
You are (unfortunately) correct, we did not get around to implement yaml
templates yet.
|
Thx for the work so far. There still seem to be some problems with getting completion but I need to find out whether they might just be on my end. |
Now I get completion for submodules, some time after I open the file. It seems to take some time. Here is the log file for the test.sls suggested by @agraul . As you can see there are no errors in the log. Maybe there is still helpful stuff for you in there. |
Hi,
thx for your work on the server. I really appreciate it.
I am using the server with neovim. Unfortunately the completion does not properly work. Most of the time the log has the following errors:
salt-server.log
The text was updated successfully, but these errors were encountered: