Skip to content

v1.1.0 - Google Drive Downloader Overhaul

Latest

Choose a tag to compare

@whyamihere773 whyamihere773 released this 08 Sep 23:00

What's Changed

🐛 Bug Fixes

  • Fixed critical NoneType crash in the Google Drive downloader: in windowed PyInstaller builds, sys.stdout and sys.stderr are None. gdown and tqdm attempted to write to standard streams, raising 'NoneType' object has no attribute 'write'. Resolved using a _suppress_gdown_output context manager that safely redirects output to a dummy stream when standard streams are unset.
  • Removed deprecated gdown 6.x parameters: removed fuzzy and remaining_ok arguments which were deprecated/removed in modern gdown 6.x releases and caused immediate runtime crashes.

⚡ Google Drive Improvements

  • Real filename resolution: filenames are now resolved directly from Google Drive metadata prior to downloading (skip_download=True), preserving the original file names instead of falling back to generic IDs like gdrive_....
  • Integrated UI progress: suppressed gdown's internal console progress bar (quiet=True) and routed stream chunk updates into Pawchive's native download progress bar.
  • Resume support: enabled download resumption (resume=True) to gracefully recover interrupted transfers.

🛡️ Enhanced Error Handling & Detection

  • Quota & HTML error detection: added automatic detection for Google Drive bandwidth quota limits and HTML error response pages saved as files (_is_quota_error_file).
  • Clear status reporting: provided clear, descriptive UI error messages for quota exhaustion, access restrictions, network timeouts, empty folder results, and user cancellation.