Just trying out deltacloudc and hit the following error, which looks like what we had with the rest-client version issue we were trying to resolve over the last couple days:
[jay ~]$ deltacloudc -u http://mockuser:mockpassword@localhost:3001/api -l
/usr/lib/ruby/1.8/rexml/source.rb:21:in `create_from': RestClient::Response is not a valid input stream. It must walk (RuntimeError) like either a String, an IO, or a Source. from /usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:133:in `stream=' from /usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:110:in `initialize' from /usr/lib/ruby/1.8/rexml/parsers/treeparser.rb:9:in `new' from /usr/lib/ruby/1.8/rexml/parsers/treeparser.rb:9:in `initialize' from /usr/lib/ruby/1.8/rexml/document.rb:227:in `new' from /usr/lib/ruby/1.8/rexml/document.rb:227:in `build' from /usr/lib/ruby/1.8/rexml/document.rb:43:in `initialize' from /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.0.2/lib/deltacloud.rb:117:in `new' from /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.0.2/lib/deltacloud.rb:117:in `fetch_documentation' from /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.0.2/bin/deltacloudc:80 from /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.0.2/bin/deltacloudc:79:in `each' from /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.0.2/bin/deltacloudc:79 from /usr/bin/deltacloudc:19:in `load' from /usr/bin/deltacloudc:19
On 03/03/10 21:47 -0500, Jason Guiditta wrote:
Just trying out deltacloudc and hit the following error, which looks like what we had with the rest-client version issue we were trying to resolve over the last couple days:
[jay ~]$ deltacloudc -u http://mockuser:mockpassword@localhost:3001/api -l
/usr/lib/ruby/1.8/rexml/source.rb:21:in `create_from': RestClient::Response is not a valid input stream. It must walk (RuntimeError) like either a String, an IO, or a Source. from /usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:133:in `stream=' from /usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:110:in `initialize' from /usr/lib/ruby/1.8/rexml/parsers/treeparser.rb:9:in `new' from /usr/lib/ruby/1.8/rexml/parsers/treeparser.rb:9:in `initialize' from /usr/lib/ruby/1.8/rexml/document.rb:227:in `new' from /usr/lib/ruby/1.8/rexml/document.rb:227:in `build' from /usr/lib/ruby/1.8/rexml/document.rb:43:in `initialize' from /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.0.2/lib/deltacloud.rb:117:in `new' from /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.0.2/lib/deltacloud.rb:117:in `fetch_documentation' from /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.0.2/bin/deltacloudc:80 from /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.0.2/bin/deltacloudc:79:in `each' from /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.0.2/bin/deltacloudc:79 from /usr/bin/deltacloudc:19:in `load' from /usr/bin/deltacloudc:19
Interesting, what version of rest-client are you using ?
Michal
On Thu, Mar 4, 2010 at 6:37 AM, Michal Fojtik mfojtik@redhat.com wrote:
On 03/03/10 21:47 -0500, Jason Guiditta wrote:
Just trying out deltacloudc and hit the following error, which looks like what we had with the rest-client version issue we were trying to resolve over the last couple days:
[jay ~]$ deltacloudc -u http://mockuser:mockpassword@localhost:3001/api -l
/usr/lib/ruby/1.8/rexml/source.rb:21:in `create_from': RestClient::Response is not a valid input stream. It must walk (RuntimeError) like either a String, an IO, or a Source. from /usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:133:in `stream=' from /usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:110:in `initialize' from /usr/lib/ruby/1.8/rexml/parsers/treeparser.rb:9:in `new' from /usr/lib/ruby/1.8/rexml/parsers/treeparser.rb:9:in `initialize' from /usr/lib/ruby/1.8/rexml/document.rb:227:in `new' from /usr/lib/ruby/1.8/rexml/document.rb:227:in `build' from /usr/lib/ruby/1.8/rexml/document.rb:43:in `initialize' from
/usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.0.2/lib/deltacloud.rb:117:in `new' from
/usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.0.2/lib/deltacloud.rb:117:in `fetch_documentation' from /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.0.2/bin/deltacloudc:80 from /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.0.2/bin/deltacloudc:79:in `each' from /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.0.2/bin/deltacloudc:79 from /usr/bin/deltacloudc:19:in `load' from /usr/bin/deltacloudc:19
Interesting, what version of rest-client are you using ?
Michal
I assume it is grabbing the newest one on my system. I have both 1.4.0 and 1.3.1
deltacloud-devel@lists.fedorahosted.org