PyTube fails on convert

Bug #179824 reported by Paco Avila
6
Affects Status Importance Assigned to Milestone
PyTube
Fix Committed
Undecided
Unassigned

Bug Description

This error is thrown at command line when I try to convert a Youtube video to AVI:

Traceback (most recent call last):
  File "./pytube.py", line 1146, in Download
    self.videosave = self.configops[2].replace("\\","\\\\").replace(" ","\\ ").replace("(","\
KeyError: 2

Jojo (kuzniarpawel)
Changed in pytube:
status: New → Confirmed
Revision history for this message
swierq (swierq) wrote :

Please specify an URL that reveals this bug. Everything seems to work OK for me and I think that this bug may be related to clip title.

Regards

Revision history for this message
swierq (swierq) wrote :

The bug is connected with configuration file. If pytube does not find ~/.pytube/config it creates one for you. The problem is that this file remains blank until you edit your configuration. Please go to Edit->preferences, choose the destination dir and close the window. After this step your downloads should work. We will fix this behavior in the next release that should be out in a few days.

regards

Changed in pytube:
status: Confirmed → In Progress
Revision history for this message
Paco Avila (monkiki) wrote :

Ok, it is working now with this workaround :) Thanks!!

swierq (swierq)
Changed in pytube:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.