question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fails to create a parameter file for arm template when encoded with UTF-8 BOM

See original GitHub issue

Does this occur consistently? Yes Repro steps:

  1. from vs code create a new arm template (use snippet arm! )
  2. from vs code select/create parameter file… I receive the error below

Action: azurerm-vscode-tools.selectParameterFile Error type: Error Error Message: “e:\temp\armtemp\mytemplate.json” does not appear to be an Azure Resource Manager deployment template file.

Version: 0.10.0 OS: win32 OS Release: 10.0.17763 Product: Visual Studio Code Product Version: 1.45.1 Language: en

Call Stack
Object.<anonymous> extension.bundle.js:1:596601
fulfilled extension.bundle.js:1:593686

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
StephenWeatherfordcommented, May 21, 2020

Weird, I repro’d it with my Mac.

0reactions
StephenWeatherfordcommented, Jun 23, 2020

Fix released with 0.11.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error in Uploading UTF-8 with BOM - Tamr Core Documentation
The error that occurs when a file with a BOM is uploaded resembles: Upload failed. com.tamr.common.except.ServiceException: Error while processing input stream ...
Read more >
Arm template validation fails through Azure Devops release ...
Arm template validation fails through Azure Devops release, works from powershell and test-AzResourceGroupDeployment - Stack Overflow. Stack ...
Read more >
The Delphi Compiler and UTF-8 Encoded Source Code Files ...
The BOM (Byte Order Mark) is a sequence of bytes (3 bytes for for UTF-8) that marks the file to make it simple...
Read more >
Docker Compose release notes | Docker Documentation
Fixed by compose#9896; Switched GitHub issue template form ... Fixed an issue that prevented proper parsing of UTF-8 BOM encoded Compose files on...
Read more >
Character Encoding | Unreal Engine 4.27 Documentation
Note that there is no code to detect or decode UTF-8 encoded text files ... encoding, and this could cause either a compile...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found