johannesjo / super-productivity

Super Productivity is an advanced todo list app with integrated Timeboxing and time tracking capabilities. It also comes with integrations for Jira, Gitlab, GitHub and Open Project.
http://super-productivity.com
MIT License
8.65k stars 753 forks source link

Issue adding task from Integrated Github project: Error Github Not Found #3183

Open JamesZDonline opened 1 month ago

JamesZDonline commented 1 month ago

Your Environment

Expected Behavior

I have added a GitHub repo to my project. When I add a task (ctrl+shift+T) and start typing, an issue that I want from the GitHub pops up as an option. So far so good!

Then I click that issue and get a toast message at the bottom that says Github: Not Found.

Which seems strange, since it evidently found it to show me the option in the first place?

I expect it to add the issue as a task.

Current Behavior

Gives me a Github not found error.

Can you reproduce this reliably?

Every time I try

Console Output

16:35:54.143 › Frontend Error: Error: Uncaught (in promise): Object: {"HANDLED_ERROR_PROP":"Github: Http failure response for https://api.github.com/repos/geopacha/dinov2_geopacha/issues/12: 404 OK"} at xt (zone.js:1211:31) at zone.js:1118:17 at zone.js:1134:33 at f (progress-spinner.mjs:294:7) at U.invoke (zone.js:372:26) at Object.onInvoke (core.mjs:26356:33) at U.invoke (zone.js:371:52) at it.run (zone.js:134:43) at zone.js:1275:36 at U.invokeTask (zone.js:406:31) Error: Uncaught (in promise): Object: {"HANDLED_ERROR_PROP":"Github: Http failure response for https://api.github.com/repos/geopacha/dinov2_geopacha/issues/12: 404 OK"} at xt (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:16156) at file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:15214 at file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:15322 at f (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/main.2271e764c39109d8.js:1:1634474) at U.invoke (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:6670) at Object.onInvoke (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/main.2271e764c39109d8.js:1:4187380) at U.invoke (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:6609) at it.run (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:2010) at file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:16980 at U.invokeTask (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:7290)

Error Log (Desktop only)

[2024-05-14 16:32:34.381] [error] Frontend Error: Error: Uncaught (in promise): Object: {"HANDLED_ERROR_PROP":"Github: Http failure response for https://api.github.com/repos/geopacha/dinov2_geopacha/issues/12: 404 OK"} at xt (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:16156) at file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:15214 at file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:15322 at f (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/main.2271e764c39109d8.js:1:1634474) at U.invoke (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:6670) at Object.onInvoke (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/main.2271e764c39109d8.js:1:4187380) at U.invoke (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:6609) at it.run (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:2010) at file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:16980 at U.invokeTask (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:7290) Error: Uncaught (in promise): Object: {"HANDLED_ERROR_PROP":"Github: Http failure response for https://api.github.com/repos/geopacha/dinov2_geopacha/issues/12: 404 OK"} at xt (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:16156) at file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:15214 at file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:15322 at f (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/main.2271e764c39109d8.js:1:1634474) at U.invoke (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:6670) at Object.onInvoke (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/main.2271e764c39109d8.js:1:4187380) at U.invoke (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:6609) at it.run (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:2010) at file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:16980 at U.invokeTask (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:7290) [2024-05-14 16:32:34.384] [error] Frontend Error Stack: [2024-05-14 16:35:54.143] [error] Frontend Error: Error: Uncaught (in promise): Object: {"HANDLED_ERROR_PROP":"Github: Http failure response for https://api.github.com/repos/geopacha/dinov2_geopacha/issues/12: 404 OK"} at xt (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:16156) at file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:15214 at file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:15322 at f (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/main.2271e764c39109d8.js:1:1634474) at U.invoke (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:6670) at Object.onInvoke (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/main.2271e764c39109d8.js:1:4187380) at U.invoke (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:6609) at it.run (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:2010) at file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:16980 at U.invokeTask (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:7290) Error: Uncaught (in promise): Object: {"HANDLED_ERROR_PROP":"Github: Http failure response for https://api.github.com/repos/geopacha/dinov2_geopacha/issues/12: 404 OK"} at xt (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:16156) at file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:15214 at file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:15322 at f (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/main.2271e764c39109d8.js:1:1634474) at U.invoke (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:6670) at Object.onInvoke (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/main.2271e764c39109d8.js:1:4187380) at U.invoke (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:6609) at it.run (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:2010) at file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:16980 at U.invokeTask (file:///C:/Users/zimmejr1/AppData/Local/Programs/superProductivity/resources/app.asar/dist/polyfills.8db5726c6ae16cfe.js:1:7290) [2024-05-14 16:35:54.148] [error] Frontend Error Stack:

github-actions[bot] commented 1 month ago

Thank you very much for opening up this issue! I am currently a bit overwhelmed by the many requests that arrive each week, so please forgive me, if I fail to respond personally. I am still very likely to at least skim read your request and I'll probably try to fix all (real) bugs if possible and I will likely review every single PR being made (please, give me a heads up if you intent to do so) and I will try to work on popular requests (please upvote via thumbs up on the original issue) whenever possible, but trying to respond to every single issue over the last years has been kind of draining and I need to adjust my approach for this project to remain fun for me and to make any progress with actually coding new stuff. Thanks for your understanding!

github-actions[bot] commented 1 month ago

Hello there JamesZDonline! 👋

Thank you and congratulations 🎉 for opening your very first issue in this project! 💖

In case you want to claim this issue, please comment down below! We will try to get back to you as soon as we can. 👀

For more open ended discussions and/or specific questions, please visit the discussions page. 💖

JamesZDonline commented 1 month ago

Added note. I toggled the "Automatically import unresolved issues" and now it periodically tells me that it can't find the repo.

Is it possible this is due to it being a private repo? Or a repo owned by an organization rather than myself?

johannesjo commented 1 month ago

Hey hey! Didn't encounter this myself with my private repositories (old school all access token), so my first guess would be that the access token does not have the proper permissions configured? What kind of token do you have configured?