labbots / google-drive-upload

Bash scripts to upload files to google drive
https://labbots.github.io/google-drive-upload/
MIT License
698 stars 145 forks source link

Frozen when using gupload #166

Closed KorewaLidesu closed 3 years ago

KorewaLidesu commented 3 years ago

Is it normal that after upload, the script will just frozen for a few minutes? Like this? image


with open('batch.txt') as f:
  for line in f:
    !rm -rf $output/*
    !yt-dlp --embed-thumbnail --format 'bestvideo+bestaudio[ext=m4a]/bestvideo+bestaudio/best' --merge-output-format mp4 -ciw -o '$output/%(title)s.%(ext)s' $line
    !google-drive-upload/bash/release/gupload -a Drive -s youtube/*.mp4
    f1.writelines(line)```
KorewaLidesu commented 3 years ago

Huh, it just weird for me...

Akianonymus commented 3 years ago

@KorewaLidesu After script shows Time Elapsed, it means it exited.

Akianonymus commented 3 years ago

Also, can you tell this command output from where you are running

echo "${TERM}"

( not related to your bug )

KorewaLidesu commented 3 years ago

Also, can you tell this command output from where you are running

echo "${TERM}"

( not related to your bug )

xterm-color Using Google colab

@KorewaLidesu After script shows Time Elapsed, it means it exited.

It just sometimes random stop right there. I need to trigger Interrupt command or it just stay there forever.

P/s: This is how I install on colab:

  !curl --compressed -Ls https://github.com/labbots/google-drive-upload/raw/master/install.sh | sh -s
  !git clone https://github.com/labbots/google-drive-upload.git
  !google-drive-upload/bash/release/gupload -ca Drive
  !mkdir 'gupload'