salimoha / googlecl

Automatically exported from code.google.com/p/googlecl
0 stars 0 forks source link

Unknown authorization header, unauthorized #179

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. uploading a video to YouTube

What is the expected output? What do you see instead?

I used GoogleCL several times, but now I can't upload a video. Size: 486mb, my 
previous videos were about the same size I think, I've never had problem with 
the web uploader.

nonoo@hullahaz:~$ google youtube post bucika_diplomaunneplese_20100622.mp4
Please specify category: Education
Loading bucika_diplomaunneplese_20100622.mp4
Traceback (most recent call last):
  File "/usr/bin/google", line 463, in <module>
    main()
  File "/usr/bin/google", line 457, in main
    run_once(options, args)
  File "/usr/bin/google", line 356, in run_once
    task.run(client, options, args)
  File "/usr/lib/python2.5/site-packages/googlecl/youtube/service.py", line 217, in _run_post
    tags=options.tags, category=options.category)
  File "/usr/lib/python2.5/site-packages/googlecl/youtube/service.py", line 129, in post_videos
    self.InsertVideoEntry(video_entry, path)
  File "/usr/lib/python2.5/site-packages/gdata/youtube/service.py", line 656, in InsertVideoEntry
    raise YouTubeError(e.args[0])
gdata.youtube.service.YouTubeError: {'status': 401, 'body': 'Unknown 
authorization header', 'reason': 'Unauthorized'}

What version of the product are you using? On what operating system? What
version of gdata-python-client (aka python-gdata)?

googlecl 0.9.7
gdata-python-client 2.0.10
sys: debian/lenny all updates installed

Original issue reported on code.google.com by csipkesk...@gmail.com on 26 Jun 2010 at 11:20

GoogleCodeExporter commented 9 years ago
this is the same error I already described here 
http://code.google.com/p/googlecl/issues/detail?id=169
i think this error is caused by a timeout. 

Original comment by admin.fu...@googlemail.com on 28 Jun 2010 at 8:32

GoogleCodeExporter commented 9 years ago
Yes but my upload's duration was about half an hour.

Original comment by csipkesk...@gmail.com on 28 Jun 2010 at 9:23

GoogleCodeExporter commented 9 years ago
okay so timeout should not be a problem. did you tried other files 
(bigger/smaller ones) with an other result?
really hope that this will be fixed soon. 
Thanks

Original comment by admin.fu...@googlemail.com on 28 Jun 2010 at 10:18

GoogleCodeExporter commented 9 years ago
Yes I've uploaded several files with googlecl without problems, I think some of 
them were about the same size.

Original comment by csipkesk...@gmail.com on 28 Jun 2010 at 10:19

GoogleCodeExporter commented 9 years ago

Original comment by tom.h.mi...@gmail.com on 28 Jun 2010 at 2:39