Generating Preview Failed
Opened this issue · 0 comments
izotomas commented
When i try to generate preview for some file, i get following error:
Generating preview failed: [ERROR] 2023/05/31 15:34:31 expected data on stdin but none found
I believe the error could be here:
It seems like the command builder misses an extra file input argument, i.e.
val commandLine = GeneralCommandLine("op", "inject", "--in-file") // actual file passed later
I don't really know kotlin but according to 1password cli v2.18 inspect command requires -i/--in-file
flag prior to the file, e.g.
op inject --in-file {FILE}