Skip to content
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

ERROR: recipes/vcboost/meta.yaml:0: linter_failure: An unexpected exception was raised during linting #960

Open
oranges7 opened this issue Feb 29, 2024 · 0 comments

Comments

@oranges7
Copy link

Hi,
File "/opt/mambaforge/envs/bioconda/lib/python3.8/site-packages/ruamel/yaml/parser.py", line 804, in move_token_comment
token.move_old_comment(self.scanner.peek_token() if nt is None else nt, empty=empty)
File "/opt/mambaforge/envs/bioconda/lib/python3.8/site-packages/ruamel/yaml/scanner.py", line 1743, in peek_token
self._gather_comments()
File "/opt/mambaforge/envs/bioconda/lib/python3.8/site-packages/ruamel/yaml/scanner.py", line 1770, in _gather_comments
self.fetch_more_tokens()
File "/opt/mambaforge/envs/bioconda/lib/python3.8/site-packages/ruamel/yaml/scanner.py", line 276, in fetch_more_tokens
return self.fetch_value()
File "/opt/mambaforge/envs/bioconda/lib/python3.8/site-packages/ruamel/yaml/scanner.py", line 626, in fetch_value
raise ScannerError(
ruamel.yaml.scanner.ScannerError: mapping values are not allowed here
in "", line 2, column 8:
package:
^ (line: 2)
But my code is as follows
{% set version = "1.0.0" %}

package:
name: vcboost
version: {{ version }}

source:
...
屏幕截图 2024-02-29 101110

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant