Forums » Typo » XML-RPC Backend

XML-RPC Backend
Posted by Kevin Kubasik (Guest)
on 12.03.2006 17:59
Hey, I recently started running the SVN of Typo and was fiddling 
withgetting a desktop client to access it via xmlrpc, however I get 
thefollowing error. It seems like something internal to my ruby 
install(mostly from gem, but on ubuntu dapper). If someone could point 
me inthe right direction that would be great, if its a typo issue, 
I'llopen a ticket in trac, but I wanted to make sure this was not just 
onmy machine.
Cheers,Kevin Kubasik
Internal protocol error: NilClass is not a valid input stream. It mustbe 
either a String, IO, StringIO or Source. 
Backtrace:/usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:133:in 
`stream='/usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:100:in 
`initialize'/usr/lib/ruby/1.8/rexml/parsers/streamparser.rb:6:in 
`initialize'/usr/lib/ruby/1.8/rexml/document.rb:173:in 
`parse_stream'/usr/lib/ruby/1.8/xmlrpc/parser.rb:717:in 
`parse'/usr/lib/ruby/1.8/xmlrpc/parser.rb:475:in 
`parseMethodCall'/usr/lib/ruby/1.8/xmlrpc/marshal.rb:63:in 
`load_call'/usr/lib/ruby/1.8/xmlrpc/marshal.rb:32:in 
`load_call'/usr/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service/protocol/xmlrpc_protocol.rb:36:in`decode_request'/usr/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service/protocol/xmlrpc_protocol.rb:32:in`decode_action_pack_request'/usr/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service/protocol/discovery.rb:20:in`discover_web_service_request'/usr/lib/ruby!
/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service/protocol/discovery.rb:18:in`discover_web_service_request'/usr/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service/dispatcher/action_controller_dispatcher.rb:44:in`dispatch_web_service_request' 
(eval):1:in 
`xmlrpc'/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in`perform_action_without_filters'/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in`perform_action_without_benchmark'/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in`perform_action_without_rescue' 
/usr/lib/ruby/1.8/benchmark.rb:293:in`measure' 
/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in`perform_action_without_rescue'/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in`perform_action'/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:36!
9:in`process_without_session_management_support'/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in`process' 
/usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in`dispatch' 
/usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:141:in`process_request'/usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:53:in`process!' 
/usr/lib/ruby/1.8/fcgi.rb:600:in 
`each_cgi'/usr/lib/ruby/1.8/fcgi.rb:597:in 
`each_cgi'/usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in`process!' 
/usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:22:in`process!' 
/var/www/typo/public/dispatch.fcgi:24
Re: XML-RPC Backend
Posted by Kevin Ballard (Guest)
on 12.03.2006 22:41
That looks like a problem with your setup. None of the code there is
from Typo, it's all from rails+dependencies.
Re: XML-RPC Backend
Posted by Kevin Kubasik (Guest)
on 12.03.2006 22:53
Ok, cool, that's what I thought. It actually seems to be an issue 
withwritely's implementation of the mt API. I'll file a bug with them.
Cheers,Kevin Kubasik
On 3/12/06, Kevin Ballard <kevin@sb.org> wrote:> That looks like a 
problem with your setup. None of the code there is> from Typo, it's all 
from rails+dependencies.>> On Mar 12, 2006, at 8:56 AM, Kevin Kubasik 
wrote:>> > Hey, I recently started running the SVN of Typo and was 
fiddling> > withgetting a desktop client to access it via xmlrpc, 
however I get> > thefollowing error. It seems like something internal to 
my ruby> > install(mostly from gem, but on ubuntu dapper). If someone 
could> > point me inthe right direction that would be great, if its a 
typo> > issue, I'llopen a ticket in trac, but I wanted to make sure 
this> > was not just onmy machine.>> --> Kevin Ballard> kevin@sb.org> 
http://kevin.sb.org> http://www.tildesoft.com>>>>> 
_______________________________________________> Typo-list mailing list> 
Typo-list@rubyforge.org> 
http://rubyforge.org/mailman/listinfo/typo-list>>>