Closed TomfromBerlin closed 1 year ago
Hey, did you build from main or from the latest release? If not from main, can you try and build main and run that?
The extension has been installed using gh extension install dlvhdr/gh-dash
. I guess, it came from main.
I'm seeing the exact same issue. I did a gh extension remove dlvhdr/gh-dash
and gh extension install dlvhdr/gh-dash` just now.
I did that, too. Same result.
Hmm I'm not able to reproduce. Might be that github recently made a change to their auth. I had a contribution lately that dealt with github's auth, can some try and build from source and tell me if it still reproduces? I can then release a new version.
OK I'm able to reproduce after doing a gh logout
and gh login
This is solved with the latest code, so releasing a version.
:+1: I will test it. Hope, it'll work.
Just released, let me know
Here we go again...
The error msg:
non-200 OK status code: 502 Bad Gateway body: "{\n \"data\": null,\n \"errors\":[\n {\n \"message\":\"Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include "C084:E8D3:C5BD6ED:C7DC083:6450215F" when reporting this
I tried it a few times. Here is another error code, just in case: A7D4:799E:B5B6124:B7DB37C:64502E5B
Hmmm can you try what I did and do a gh logout followed by a gh login?
Your fix works for me 👍
Okay, I think I have an idea what happened - besides my own incompetence. If you initiate into a reload without anything selected, it causes a panic and gh-dash crashes. I created a pull request in one of my repositories and then started gh-dash in the directory. The pull request showed up and I was able to merge it. Then reopen with <shift>-x
also worked. However, when I quit gh-dash, restart it and press <shift>-x
again in the same repository, gh-dash crashes. Here it might help to catch such an error beforehand by issuing a message that nothing is selected and therefore reopen is more or less useless and will not be executed. Unfortunately I have no idea if this is possible in go. It's just an idea.
What doesn't work either is fetching archived pull requests. This results again in an error message non-200 OK status code: 502 Bad Gateway body: "{\n \"data\": null,\n \"errors\":[\n {\n \"message\":\"Something went wrong while executing your query.
This may - as mentioned in the error message (see the previous post of mine) - be a bug in Github. However, it may also be that this is again due to my inability....
Describe the bug I installed gh-dash and ran it. When I tried to do something in an repo, a message appeared which states: "authentication token not found for host github.com". I did
gh auth
before I installed the extension (btw, it is the only extension I have installed). Then I pressedx
to refresh and gh-dash crashed, causing a panic.Here is the output:
run with `gh dash > returning
To Reproduce Steps to reproduce the behavior:
cd <repo dir>
gh dash
x
gh dash > returning
to write output to fileExpected behavior gh-dash should not crash when pressing
x
Screenshots
gh-dash.webm
Desktop (please complete the following information):