Closed sinoth closed 3 years ago
Hmm... That is odd. You can try re-running the job if you don't want to wait until next run. I do get occasional puppeteer errors that can't really be duplicated, because it always works when re-run. I just ran a backup successfully, so probably not a change to the Roam login page. Likely to be a fluke. Let me know if happens more often.
Thank you for your advice! Honestly I am surprised with your kind comments as I am newbie here. I updated env in case they were wrong.
@takaokay You're welcome! If your Secrets were wrong, you could expect an error from this list: https://github.com/everruler12/roam2github/blob/main/documentation/Common%20error%20causes.md
The error in this GitHub issue happened when trying to locate the email field, so I don't think it's related to wrong env values
Rerunning the action worked fine by the way. I assume that occasionally with hiccups on the Roam side we will inevitably get random failures.
This is outside of the scope of your tool, but I wish Github actions had something along the lines of "only notify of failure for two consecutive failures". I don't really care to be notified unless the job fails over and over.
@sinoth Thanks for following up. Yeah, I wish email notifications could be set that way, too. Theoretically, it might be possible to disable the Actions notifications, then set up another Action workflow to send an email when triggered by multiple failures in the backup workflow. If you get this same error pretty often, I could try adding an additional check and retry, instead of failing on the first time.
Oh! This is the first time for backing up over 11 mins since the set-up. I hope this works!
Unfortunately it failed. Not yet succeeded ever. Logs says "TimeoutError: waiting for selector .loading-astrolabe
to be hidden failed: timeout 600000ms exceeded". This occurs every single time. No Idea.
Updated graph name and it worked.
After many successful runs, this error happened today:
I'm hoping the next run will be fine, but figured you would want to see it anyway.