FabiUnne/youtube-upload

Bug with Location on upload

Closed this issue · 6 comments

What steps will reproduce the problem?

1. youtube-upload -m "mymail@gmail.com" -p "my-password" -t "Title" -d 
"Description" -c "People" some-file.flv
2. After upload:
Traceback (most recent call last):
  File "/home/tomek/youtube-upload-0.6.2/bin/youtube-upload", line 380, in <module>
    sys.exit(main_upload(sys.argv[1:]))
  File "/home/tomek/youtube-upload-0.6.2/bin/youtube-upload", line 368, in main_upload
    params = dict(s.split("=", 1) for s in headers["Location"].split("?", 1)[1].split("&"))
KeyError: 'Location'

What version of youtube-upload are you using? On what operating system?

youtube-upload-0.6.2, Ubuntu 10.04.2 LTS, Python 2.6.5

Original issue reported on code.google.com by T.Karbow...@gmail.com on 6 Jun 2011 at 6:30

I've added some code to show a nice error message (r129), but the code was 
working some days ago, so Google must have changed something (or it's a 
temporal problem).

I get a 503 (Service unavailable), maybe they are having problems with their 
servers.

Original comment by tokland on 6 Jun 2011 at 6:49

Can also confirm this

Original comment by paul.st...@gmail.com on 6 Jun 2011 at 8:58

Original comment by tokland on 6 Jun 2011 at 9:09

  • Changed state: Accepted
Today the problem is gone.

Original comment by adwo...@pdll.pl on 7 Jun 2011 at 8:11

#4: indeed, it would seem it was just a transient problem on Youtube servers. 

Original comment by tokland on 7 Jun 2011 at 8:15

  • Changed state: WontFix

Original comment by tokland on 13 May 2014 at 2:55