DaPutzy / intellij-sops-plugin

Simple Sops Edit
https://plugins.jetbrains.com/plugin/21317-simple-sops-edit
MIT License
11 stars 3 forks source link

Sops error #27

Open gabrieloshiro opened 1 month ago

gabrieloshiro commented 1 month ago

Versions

IntelliJ IDEA 2023.3.6 (Ultimate Edition) Build #IU-233.15026.9, built on March 21, 2024 Licensed to Onepoint developpement Canada / Gabriel Oshiro Subscription is active until May 23, 2024. Runtime version: 17.0.10+1-b1087.23 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 11.0 GC: G1 Young Generation, G1 Old Generation Memory: 4096M Cores: 20 Registry: debugger.new.tool.window.layout=true ide.experimental.ui=true Non-Bundled Plugins: com.github.daputzy.intellij-sops-plugin (2.0.0) org.intellij.plugins.hcl (233.13135.65) com.petriuk.sops-intellij-plugin (1.2.0-alpha) com.jetbrains.space (233.15026.16) monokai-pro (1.10) dev.aid.delombok (1.18.4.5) dev.meanmail.plugin.nginx-intellij-plugin (2022.1.1) com.ivanovych666.intellij.plugin.jsonsorter (1.0.0-beta.3.4) google-java-format (1.22.0.0) com.jetbrains.jax.ws (233.13135.65) com.intellij.spring.shell (233.11799.196) com.intellij.plugin.adernov.powershell (2.6.1) com.intellij.javaee.ejb (233.11799.196) com.intellij.ml.llm (233.15026.24) dev.turingcomplete.intellijdevelopertoolsplugins (4.2.0) com.jetbrains.packagesearch.intellij-plugin (233.11800.8) com.haulmont.jpab (2023.4.1-233) MavenRunHelper (4.28.0-IJ2022.2) Pythonid (233.15026.9) com.github.copilot (1.5.3.5510) ru.adelf.idea.dotenv (2024.1) org.sonarlint.idea (10.5.0.78339) zielu.gittoolbox (500.2.7+233) dev.nx.console (1.23.1) Kotlin: 233.15026.9-IJ

sops --version sops 3.7.3

Simple Sops Edit version 2.0.0

Steps to repro

Error message

Sops error Out-File : The process cannot access the file 'C:\Users\g.oshiro\AppData\Local\Temp\1942865019\secrets.json' because it is being used by another process. At C:\Users\g.oshiro\AppData\Local\Temp\simple-sops-edit17945077680687193703\10630914340165521956.ps1:5 char:12 + $content | Out-File "$file" + ~~~~ + CategoryInfo : OpenError: (:) [Out-File], IOException + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand File has not changed, exiting.

image

DaPutzy commented 3 weeks ago

Sry i didnt get back to you earlier, i've been recovering from an accident the last couple of weeks but im starting to feel better. Im having a hard time reproducing this 😕 But i will play around with it more, i have some ideas left to try.

brunocosta91 commented 4 days ago

I am facing the same error, in my case i am using sops with vault integration