Thanks for writing this. It's very useful. I am writing to report an error I came across. Not repeatable so far (below).
While I'm at it, I might as well report that mws.orders.next doesn't work for me, so I have to use: mws.orders.list_orders :last_updated_after => start_time
Here's the error message:
C:/Ruby193/lib/ruby/1.9.1/openssl/buffering.rb:174:in sysread_nonblock': end of file reached (EOFError) from C:/Ruby193/lib/ruby/1.9.1/openssl/buffering.rb:174:inread_nonbloc
k'
from C:/Ruby193/lib/ruby/1.9.1/net/protocol.rb:141:in rbuf_fill' from C:/Ruby193/lib/ruby/1.9.1/net/protocol.rb:122:inreaduntil'
from C:/Ruby193/lib/ruby/1.9.1/net/protocol.rb:132:in readline' from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:2562:inread_status_line'
from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:2551:in read_new' from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:1319:inblock in transport_r
equest'
from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:1316:in catch' from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:1316:intransport_request'
from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:1293:in request' from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:1286:inblock in request'
from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:745:in start' from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:1284:inrequest'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/httparty-0.11.0/lib/httparty/re
quest.rb:92:in perform' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/httparty-0.11.0/lib/httparty.rb :461:inperform_request'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/httparty-0.11.0/lib/httparty.rb
:398:in get' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-mws-0.0.4/lib/ruby-mws/api /base.rb:49:insend_request'
from (eval):4:in list_order_items' from mws.rb:103:inblock (2 levels) in '
from mws.rb:29:in get_response' from mws.rb:103:inblock in '
from mws.rb:91:in each' from mws.rb:91:in'
Hi,
Thanks for writing this. It's very useful. I am writing to report an error I came across. Not repeatable so far (below).
While I'm at it, I might as well report that mws.orders.next doesn't work for me, so I have to use: mws.orders.list_orders :last_updated_after => start_time
Here's the error message:
C:/Ruby193/lib/ruby/1.9.1/openssl/buffering.rb:174:in'
from mws.rb:29:in '
from mws.rb:91:in '
sysread_nonblock': end of file reached (EOFError) from C:/Ruby193/lib/ruby/1.9.1/openssl/buffering.rb:174:in
read_nonbloc k' from C:/Ruby193/lib/ruby/1.9.1/net/protocol.rb:141:inrbuf_fill' from C:/Ruby193/lib/ruby/1.9.1/net/protocol.rb:122:in
readuntil' from C:/Ruby193/lib/ruby/1.9.1/net/protocol.rb:132:inreadline' from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:2562:in
read_status_line' from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:2551:inread_new' from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:1319:in
block in transport_r equest' from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:1316:incatch' from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:1316:in
transport_request' from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:1293:inrequest' from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:1286:in
block in request' from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:745:instart' from C:/Ruby193/lib/ruby/1.9.1/net/http.rb:1284:in
request' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/httparty-0.11.0/lib/httparty/re quest.rb:92:inperform' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/httparty-0.11.0/lib/httparty.rb :461:in
perform_request' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/httparty-0.11.0/lib/httparty.rb :398:inget' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-mws-0.0.4/lib/ruby-mws/api /base.rb:49:in
send_request' from (eval):4:inlist_order_items' from mws.rb:103:in
block (2 levels) inget_response' from mws.rb:103:in
block ineach' from mws.rb:91:in