ryanfox1985 / OctoPrint-Youtube-Timelapse

Automatically uploaded rendered timelapses to Youtube
14 stars 1 forks source link

Please check plugin_youtube_timelapse.log for more details. #24

Open Senharampai opened 3 years ago

Senharampai commented 3 years ago

How do i fix this? It wont let me auto upload and it has this in the error. I checked Logging but couldnt find the .log file for this

PitbullRaven commented 3 years ago

Same here. Doing a "find" on the entire machine returned no results. All my uploads fail. However, they didn't on the day I set up the plugin some 2 weeks ago.

ecivils commented 3 years ago

I had the same error. I deleted the login, created a new .json file and loaded it. That seemed to do the trick.

MinosMurdoc commented 3 years ago

Would love to understand and get a fix for this one as well. Installed this for the first time a month ago, was working perfectly then all of a sudden started getting the following message

"Youtube upload failed! 'filenamep.mp4' failed to upload to YouTube! please check plugin_youtube_timelapse.log for more"

Can't find the file to check, nothing has been updated or changed in Octoprint or the google app.

ecivils commented 3 years ago

I went into the plugin settings to the google oauth section and clicked the delete button. Then I went back to the goggle cloud platform console and used the last bit of the instructions to create a new .json file and used it in the plugin. Worked for me, I guess ymmv.

MinosMurdoc commented 3 years ago

I went into the plugin settings to the google oauth section and clicked the delete button. Then I went back to the goggle cloud platform console and used the last bit of the instructions to create a new .json file and used it in the plugin. Worked for me, I guess ymmv.

Tried that, i'm not getting the error anymore but the files aren't uploading either :(

sparksThefire commented 3 years ago

I have been having this same issue. I have found that removing the oauth and reuploading it does seem to work as ecivils described. This is an okay bandaid, but is a terrible solution as this happens to me every few days - maybe every time that I have to restart my octoprint.

There also is no plugin_youtube_timelapse.log that exists, HOWEVER, the errors are still logged correctly in the octoprint.log file. Just look for the line that starts with octoprint.plugins.youtube_timelapse. If you are in a bash command line or ssh'd into your pi looking at the file, you can run the following command to see all the logs for this plugin: cat octoprint.log | grep youtube. This won't give all the details you could get from the logs, but hopefully it can help someone.

The error I am getting for this issue is octoprint.plugins.youtube_timelapse - INFO - No Google credentials Defined! Cannot Upload Timelapse [VIDEO_NAME].mp4!