I am trying to get TeamCity to connect to our Bugzilla tracker. TeamCity is a continuous integration server by Jetbrains.
It is possible to connect the two, but I have been unable to. TeamCity documents and support personnel say that I must
make sure Bugzilla XML-RPC interface is enabled. However, I cannot seem to find any documentation of how to do
this with Bugzilla. I have looked for documents and searched this mailing list. How do I enable XML-RPC interface, or
even make sure it is enabled? I want to rule out Bugzilla from the equation. We are using Bugzilla 3.0.6.
Thanks in advance!
Daniel Lidstrom
GpsGate
Stockholm, Sweden
Does this thread help. It mentions the need for installing all the necessary
perl modules and then using /contrib/bz_webservice_demo.pl to verify
things.
http://groups.google.com/group/mozilla.support.bugzilla/browse_thread/thread/ec5e1aa2c3baca2e/8c6ea3b5c14a573d
I'd think that you would want to upgrade to a latest Bugzilla release as
well.
> _______________________________________________
> support-bugzilla mailing list
> support-...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/support-bugzilla
> PLEASE put support-...@lists.mozilla.org in the To: field when you
> reply.
>
daniel
From: Shibu Abraham
Sent: Tuesday, October 05, 2010 2:47 PM
To: Daniel Lidström
Cc: support-...@lists.mozilla.org
Subject: Re: Enabling XML-RPC interface
Hi,
Does this thread help. It mentions the need for installing all the necessary perl modules and then using /contrib/bz_webservice_demo.pl to verify things.
http://groups.google.com/group/mozilla.support.bugzilla/browse_thread/thread/ec5e1aa2c3baca2e/8c6ea3b5c14a573d
I'd think that you would want to upgrade to a latest Bugzilla release as well.
\contrib>bz_webservice_demo.pl --uri "urlbase/xmlrpc.cgi" --login <username>
--password <pwd>
Shibu
On Tue, Oct 5, 2010 at 6:25 PM, Daniel Lidström <daniel....@gpsgate.com
> wrote:
> Thanks Shibu. I will try to verify with the perl script then.
>
> daniel
>
> *From:* Shibu Abraham <s.abr...@gmail.com>
> *Sent:* Tuesday, October 05, 2010 2:47 PM
> *To:* Daniel Lidström <daniel....@gpsgate.com>
> *Cc:* support-...@lists.mozilla.org
> *Subject:* Re: Enabling XML-RPC interface
>
> Hi,
>
> Does this thread help. It mentions the need for installing all the
> necessary perl modules and then using /contrib/bz_webservice_demo.pl to
> verify things.
>
> http://groups.google.com/group/mozilla.support.bugzilla/browse_thread/thread/ec5e1aa2c3baca2e/8c6ea3b5c14a573d
>
> I'd think that you would want to upgrade to a latest Bugzilla release as
> well.
>
I did this. Here's what happened: after quite some time this message popped
up:
---------------------------
perl.exe - System Error
---------------------------
The program can't start because libexpat-1_.dll is missing from your
computer. Try reinstalling the program to fix this problem.
---------------------------
OK
---------------------------
The console showed this:
C:\Users\Daniel\Downloads\bugzilla-3.6.2\contrib>C:\strawberry\perl\bin\perl.exe
bz_webservice_demo.pl --uri "http://bugzilla.franson.com/xmlrpc.cgi" --login
daniel....@gpsgate.com --password xxxxx
500 read timeout at bz_webservice_demo.pl line 188
Read timeout seems to indicate that our server does not support or has not
activated or is misconfigured for xml-rpc. Perhaps its time for an upgrade.
Daniel
> Just tried it myself, the command i executed went something like this
>>
>> \contrib>bz_webservice_demo.pl --uri "urlbase/xmlrpc.cgi" --login
>> <username>
>> --password <pwd>
>>
>
> I did this. Here's what happened: after quite some time this message popped
> up:
> ---------------------------
> perl.exe - System Error
> ---------------------------
> The program can't start because libexpat-1_.dll is missing from your
> computer. Try reinstalling the program to fix this problem.
>
Not sure about this, but you may need to download and register this dll.
---------------------------
> OK
> ---------------------------
>
> The console showed this:
>
> C:\Users\Daniel\Downloads\bugzilla-3.6.2\contrib>C:\strawberry\perl\bin\perl.exe
> bz_webservice_demo.pl --uri "http://bugzilla.franson.com/xmlrpc.cgi"
> --login daniel....@gpsgate.com --password xxxxx
> 500 read timeout at bz_webservice_demo.pl line 188
>
> Read timeout seems to indicate that our server does not support or has not
> activated or is misconfigured for xml-rpc. Perhaps its time for an upgrade.
>
from the looks of your folder path, you are already running the latest
stable build of Bugzilla (3.6.2). What version does it read on the top right
corner of your bugzilla home page?
> Daniel
>
What happens when you directly enter
http://bugzilla.franson.com/<http://bugzilla.franson.com/xmlrpc.cgi>xmlrpc.cgi
into your browser? If not properly configured you should get a page saying "The
XML-RPC Interface feature is not available in this Bugzilla."
The following seems to be a related article. On the whole, I think its time
one of the techies in the group helped you out.Sorry.
http://old.nabble.com/%22500-read-timeout-on-line-188%22-XML-RPC-error-td26280267.html
I do not have access to the server's installation folder, so I downloaded
the
latest version to get access to the script.
Daniel
Running checksetup.pl on the Bugzilla server will tell you what is
required.
-Max
--
http://www.everythingsolved.com/
Competent, Friendly Bugzilla and Perl Services. Everything Else, too.
I am also having this problem.
Hitting http://bugzilla/xmlrpc.cgi yields the error: "The XML-RPC Interface
feature is not available in this Bugzilla."
I have double checked installation and reran checksetup.pl a couple times,
here is a log:
* This is Bugzilla 3.6.3 on perl 5.8.8
* Running on Linux 2.6.18-194.8.1.el5 #1 SMP Thu Jul 1 19:07:06 EDT 2010
Checking perl modules...
Checking for CGI.pm (v3.21) ok: found v3.49
Checking for Digest-SHA (any) ok: found v5.48
Checking for TimeDate (v2.21) ok: found v2.24
Checking for DateTime (v0.28) ok: found v0.61
Checking for DateTime-TimeZone (v0.71) ok: found v1.19
Checking for DBI (v1.41) ok: found v1.52
Checking for Template-Toolkit (v2.22) ok: found v2.22
Checking for Email-Send (v2.00) ok: found v2.198
Checking for Email-MIME (v1.861) ok: found v1.903
Checking for Email-MIME-Encodings (v1.313) ok: found v1.313
Checking for Email-MIME-Modifier (v1.442) ok: found v1.903
Checking for URI (any) ok: found v1.54
Checking available perl DBD modules...
Checking for DBD-Pg (v1.45) not found
Checking for DBD-mysql (v4.00) ok: found v4.016
Checking for DBD-Oracle (v1.19) not found
The following Perl modules are optional:
Checking for GD (v1.20) ok: found v2.45
Checking for Chart (v2.1) ok: found v2.4.1
Checking for Template-GD (any) ok: found v1.56
Checking for GDTextUtil (any) ok: found v0.86
Checking for GDGraph (any) ok: found v1.44
Checking for XML-Twig (any) ok: found v3.35
Checking for MIME-tools (v5.406) ok: found v5.428
Checking for libwww-perl (any) ok: found v5.835
Checking for PatchReader (v0.9.4) ok: found v0.9.5
Checking for perl-ldap (any) ok: found v0.4001
Checking for Authen-SASL (any) ok: found v2.15
Checking for RadiusPerl (any) ok: found v0.17
Checking for SOAP-Lite (v0.710.06) ok: found v0.712
Checking for JSON-RPC (any) ok: found v0.96
Checking for Test-Taint (any) ok: found v1.04
Checking for HTML-Parser (v3.40) ok: found v3.66
Checking for HTML-Scrubber (any) ok: found v0.08
Checking for Email-MIME-Attachment-Stripper (any) ok: found v1.316
Checking for Email-Reply (any) ok: found v1.202
Checking for TheSchwartz (any) ok: found v1.10
Checking for Daemon-Generic (any) ok: found v0.71
Checking for mod_perl (v1.999022) ok: found v2.000004
Reading ./localconfig...
OPTIONAL NOTE: If you want to be able to use the 'difference between two
patches' feature of Bugzilla (which requires the PatchReader Perl module
as well), you should install patchutils from:
http://cyberelk.net/tim/patchutils/
Checking for DBD-mysql (v4.00) ok: found v4.016
Checking for MySQL (v4.1.2) ok: found v5.0.77-log
Creating ./graphs/.htaccess...
Removing existing compiled templates...
Precompiling templates...done.
Fixing file permissions...
Checking for GraphViz (any) ok: found
In the apache log, the only thing I see is:
[Sat Nov 06 16:49:05 2010] [error] ModPerl::Util::exit: (120000) exit was
called at /var/www/html/Bugzilla/Error.pm line 139BEGIN failed--compilation
aborted at /var/www/html/xmlrpc.cgi line 29.\n
That line in xmlrpc.cgi is where Bugzilla->feature('xmlrpc') is tested, and
is not found...
What are the requirements for XML-RPC to operate properly? I have hit a huge
brick wall here...
Thanks!
"Max Kanat-Alexander" <mka...@bugzilla.org> escreveu na mensagem
news:mailman.306.1286308108...@lists.mozilla.org...
You may need to restart Apache if you just upgraded.