Error parsing filter config file
See original GitHub issueTitle
Error parsing filter config file
Functional impact
Metadata cannot be generated, thus a build is not possible.
Minimal repro steps
- Include this line into the config file, section metadata:
"filter": "filterConfig.yml"
- Create a file named “filterConfig.yml” with the following content:
apiRules:
- include:
uidRegex: ^Fsd\.HuaDataGenerator\.Application$
- exclude:
uidRegex: ^Fsd\.HuaDataGenerator$
Alternatively, the following content produces the same result:
apiRules:
- include:
uid: Fsd.HuaDataGenerator.Application
- exclude:
uid: Fsd.HuaDataGenerator
Expected result
Metadata generation without error.
Actual result
The following error shows up: [17-07-14 02:09:12.808]Info:Config file docfx.json found, start generating metadata… [17-07-14 02:09:15.736]Error:Error extracting metadata for /src/HuaDataGenerator/HuaDataGenerator.csproj,/src/TestHuaDataGen/TestHuaDataGen.csproj: Error parsing filter config file filterConfig.yml: (Line: 3, Col: 1, Idx: 23) - (Line: 3, Col: 2, Idx: 24): While scanning for the next token, find character that cannot start any token.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Error "Error parsing filter for field 'field name' ignoring filter ...
Issue. When refreshing Snowflake extracts that contain integers for boolean fields, the below error will occur. If connecting live, blank views ...
Read more >"Parsing filters unsupported" error during extraction of RAR ...
So how exactly do I fix this problem? I am running Ubuntu GNOME 16.04.1 with GNOME 3.20. Information Update: In reply to a...
Read more >[syslog-ng] Error parsing conf file?
After installing version 1.9.4 I can no longer read the syslog-ng.conf ... Pix configuration grep command filter being logged by daily cron job...
Read more >Bug ID 711248: After upgrade to 13.1.0 or later, mcpd fails ...
Bug ID 711248: After upgrade to 13.1.0 or later, mcpd fails to start due to syslog config parsing error. Last Modified: Jul 12,...
Read more >Legacy Filter configuration cannot be imported in version ...
WorldServer - Legacy Filter configuration cannot be imported in version 11.7.x and 11.8.x - Error parsing deployment XML: class.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@vwxyzh Now the code as published above works 😃 Don’t know why. Maybe due to the replacement of tabs by spaces in the config file.
@vwxyzh Also this code does not work:
See screenshot below: