MaxMelcher / AzureDevOps.WikiPDFExport

Export Azure DevOps Wiki to PDF
MIT License
187 stars 62 forks source link

Error: Custom { kind: Other, error: StringError("no tarball found inside binary") } #9

Closed JoachimVeulemans closed 4 years ago

JoachimVeulemans commented 4 years ago

Hi, I'm getting an error when I try to execute the .exe in an Azure DevOps pipeline.

After pulling the repo of my wiki, I do this in Powershell: image When I run tree /F D:\a\1\s in Powershell, I get this: image Now I know that the exe is downloaded to the root of the wiki. But when I do this: image I get an error: image Strangely enough, the script has succeeded one time: image I was with the same code in the pipeline. I wasn't able to get it working again.

JoachimVeulemans commented 4 years ago

I have fixed this error by downloading the exe from the releases: $url = "https://github.com/MaxMelcher/AzureDevOps.WikiPDFExport/releases/download/v1.4.0/azuredevops-export-wiki.exe"

and hardcoding these paths: D:\a\1\s\azuredevops-export-wiki.exe --path "D:\a\1\s" --output D:\a\1\s\export.pdf