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

Bicep param creation error #15995

Closed
gkmuthyala opened this issue Jan 4, 2025 · 3 comments
Closed

Bicep param creation error #15995

gkmuthyala opened this issue Jan 4, 2025 · 3 comments
Assignees
Labels

Comments

@gkmuthyala
Copy link

Does this occur consistently?
Repro steps:

Action: command/bicep.generateParams
Error type: Error
Error Message: Generating parameters failed: cannot open redacted:url Detail: Unable to read file 'c:\GitHub-Local\AVDACCELERATOR-myfiles\new.bicepparam' (Error: Unable to resolve nonexistent file 'c:\GitHub-Local\AVDACCELERATOR-myfiles\new.bicepparam')

Version: 0.32.4
OS: win32
OS Release: 10.0.22631
Product: Visual Studio Code
Product Version: 1.96.2
Language: en

Call Stack
GenerateParamsCommand.execute generateParams.ts:62:13
commandManager.ts:56:55commandManager.ts:56:55
@github-project-automation github-project-automation bot moved this to Todo in Bicep Jan 4, 2025
@majastrz majastrz changed the title Bicep parram creation error Bicep param creation error Jan 15, 2025
@majastrz
Copy link
Member

majastrz commented Jan 17, 2025

@gkmuthyala I'm not able to reproduce this in 0.32.4. Can you provide more details on how to reproduce this issue?

cc @polatengin

@majastrz majastrz added the Needs: Author Feedback Awaiting feedback from the author of the issue label Jan 17, 2025
@polatengin polatengin self-assigned this Jan 23, 2025
@polatengin
Copy link
Member

I remember seeing similar issues before, @gkmuthyala can you double check if the file exists on the disk with its full content, please?

Some apps (like OneDrive, GDrive, Dropbox, etc.) might leave a placeholder for the file, but with no content.

I believe when you try to reach the file on Windows, you may get an error similar to what you shared.

References: #8731, #11039, #12580

cc: @stephaniezyen, @alex-frankel

Copy link
Contributor

Hi @gkmuthyala, this issue has been marked as stale because it was labeled as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 3 days of this comment. Thanks for contributing to bicep! 😄 🦾

@github-project-automation github-project-automation bot moved this from Todo to Done in Bicep Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

3 participants