Bugzilla plugin for Rails
Filed in: Rails, Ruby Add comments
I finally posted my Bugzilla plugin on Rubyforge.
The project page is:
http://rubyforge.org/projects/rubzilla/
The source can be found here:
svn://rubyforge.org/var/svn/rubzilla/bugzilla/trunk
License:
BSD
It is probably not complete, and has some bugs, and surely lacks documentation, but this is better than nothing
December 5th, 2008 at 03:17
Thanks for publishing this Roman.
I’m having a little problem running this against Bugzilla 3.0.4:
/usr/lib/ruby/1.8/xmlrpc/parser.rb:470:in `parseMethodResponse’: Too many return values. Only one allowed! (RuntimeError)
from /usr/lib/ruby/1.8/xmlrpc/client.rb:421:in `call2′
from /usr/lib/ruby/1.8/xmlrpc/client.rb:410:in `call’
from ./lib/bugzilla.rb:141:in `getBug’
from ./lib/bugzilla.rb:87:in `find’
from ./x:7
Script is trivial:
require ‘bugzilla’
b = Bugzilla::Bugzilla.instance
b.find(1)
parser.params in parseMethodResponse returns an Array with 2 values, like this:
["get_bugsResponse",
{"bugs"=>
[ ]}]
Any idea what could be wrong?
Reply
December 5th, 2008 at 04:05
Responding to my own comment: I asked on #mozwebtools and mkanat helped me find out that the version of perl-SOAP-Lite that ships with perl-5.8.5 is too old and causes the problem. Sorry for the false alarm.
Reply
Roman Reply:
December 6th, 2008 at 21:46
I’ll be glad to hear how your integration proceeded. Thanks!
Reply