cristibalan / braid

Simple tool to help track vendor branches in a Git repository.
http://cristibalan.github.io/braid
MIT License
457 stars 64 forks source link

Shell error when trying to update one of the braids #121

Closed Saragani closed 10 months ago

Saragani commented 10 months ago

I'm getting: Braid: Shell error: From C:/Users/buildmaster/.braid/cache/https___bitbucket.org_some_repo_name

It was working, and the build failed due to a different reason, and then I restarted the build and it failed on this. I tried running it manually, and it fails. When I build from another branch (the braid json file takes the files from a different branch on the external repo) then it works.

Doing the same thing on my machine, with the same branch that fails on the build machine, works...

I tried restarting the build machine, but it didn't help. I tried deleting the entire content of the cache directory, and it didn't help.

What should I check? Thanks

mattmccutchen commented 10 months ago

There's probably an underlying error message that we aren't seeing because Braid truncates the stderr of a "shell error" after the first line (see #90). I'm sorry that #90 has gone unfixed for so long, yet I still can't promise when I'll be able to fix it officially. If you can run Braid from source and apply this unofficial patch, then Braid should show the full error message and we can continue the investigation from there. If patching Braid isn't workable in your environment, I'll see what I can do to get an official fix released soon.

Saragani commented 10 months ago

Thanks.

The build machine still has braid 1.1.6, so I will try to update it first (maybe it will solve the issue), and if not, they I will apply the patch.

// Edit: yep, that was it. Probably an issue that was already fixed in one of the versions since I've installed 1.1.6 ~18 months ago (And it was working fine up until now)

Thank you