chaitanyabm / gdata-ruby-util

Automatically exported from code.google.com/p/gdata-ruby-util
Apache License 2.0
0 stars 0 forks source link

Uploading large size file (60 MB) and giving me error. #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. tried to upload 60 MB file.

What is the expected output? What do you see instead?
>> response = yt.post_file(feed, test_movie, mime_type, entry).to_xml
Net::ProtocolError: execution expired
    from /usr/lib/ruby/1.8/timeout.rb:60:in `rbuf_fill'
    from /usr/lib/ruby/1.8/net/protocol.rb:140:in `rbuf_fill'
    from /usr/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'
    from /usr/lib/ruby/1.8/net/protocol.rb:126:in `readline'
    from /usr/lib/ruby/1.8/net/http.rb:2020:in `read_status_line'
    from /usr/lib/ruby/1.8/net/http.rb:2009:in `read_new'
    from /usr/lib/ruby/1.8/net/http.rb:1050:in `request'
    from /usr/lib/ruby/1.8/net/http.rb:1037:in `request'
    from /usr/lib/ruby/1.8/net/http.rb:543:in `start'
    from /usr/lib/ruby/1.8/net/http.rb:1035:in `request'
    from
/usr/lib/ruby/gems/1.8/gems/gdata-1.1.1/lib/gdata/http/default_service.rb:69:in
`make_request'
    from
/usr/lib/ruby/gems/1.8/gems/gdata-1.1.1/lib/gdata/client/base.rb:81:in
`make_request'
    from
/usr/lib/ruby/gems/1.8/gems/gdata-1.1.1/lib/gdata/client/base.rb:61:in
`make_file_request'
    from
/usr/lib/ruby/gems/1.8/gems/gdata-1.1.1/lib/gdata/client/base.rb:123:in
`post_file'
    from (irb):44

What version of the product are you using? On what operating system?
ruby 1.8.7
Ubuntu 9.10
gdata 1.1.1

Please provide any additional information below.

Original issue reported on code.google.com by develope...@gmail.com on 17 Dec 2009 at 6:46