Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error on the Testopia search

7 views
Skip to first unread message

Frank Schimmelpfennig

unread,
Sep 17, 2009, 11:49:20 AM9/17/09
to support-...@lists.mozilla.org
Hi everybody,

I have installed Testopia 2.2 on Bugzilla 3.2.3/ MySQL 5.0 on a Windows box
(Win2003 Server SP2) and got this error when I click on the Testopia:
search:

Web browser display:

Bareword "JSON::false" not allowed while "strict subs" in use at
Bugzilla/Testopia/Classification.pm line 81.

Bareword "JSON::false" not allowed while "strict subs" in use at
Bugzilla/Testopia/Classification.pm line 86.

Bareword "JSON::true" not allowed while "strict subs" in use at
Bugzilla/Testopia/Classification.pm line 84.

Compilation failed in require at C:/Apachedocs/bugzilla-3.2.3/tr_query.cgi
line 34.

BEGIN failed--compilation aborted at
C:/Apachedocs/bugzilla-3.2.3/tr_query.cgi line 34.

Apache error log:

[Thu Sep 17 17:34:43 2009] [error] [client 127.0.0.1] [Thu Sep 17 17:34:43
2009] tr_quicksearch.cgi: Use of uninitialized value $product_name in string
eq at Bugzilla/User.pm line 626., referer:
http://localhost:8080/bugzilla-3.2.3/tr_new_plan.cgi

[Thu Sep 17 17:34:43 2009] [error] [client 127.0.0.1] [Thu Sep 17 17:34:43
2009] tr_quicksearch.cgi: Use of uninitialized value $product_name in string
eq at Bugzilla/User.pm line 626., referer:
http://localhost:8080/bugzilla-3.2.3/tr_new_plan.cgi

[Thu Sep 17 17:35:04 2009] [error] [client 127.0.0.1] [Thu Sep 17 17:35:04
2009] tr_query.cgi: Bareword "JSON::false" not allowed while "strict subs"
in use at Bugzilla/Testopia/Classification.pm line 81., referer:
http://localhost:8080/bugzilla-3.2.3/tr_new_run.cgi?plan_id=&case_status_id=
2

[Thu Sep 17 17:35:04 2009] [error] [client 127.0.0.1] [Thu Sep 17 17:35:04
2009] tr_query.cgi: Bareword "JSON::false" not allowed while "strict subs"
in use at Bugzilla/Testopia/Classification.pm line 86., referer:
http://localhost:8080/bugzilla-3.2.3/tr_new_run.cgi?plan_id=&case_status_id=
2

[Thu Sep 17 17:35:04 2009] [error] [client 127.0.0.1] [Thu Sep 17 17:35:04
2009] tr_query.cgi: Bareword "JSON::true" not allowed while "strict subs" in
use at Bugzilla/Testopia/Classification.pm line 84., referer:
http://localhost:8080/bugzilla-3.2.3/tr_new_run.cgi?plan_id=&case_status_id=
2

[Thu Sep 17 17:35:04 2009] [error] [client 127.0.0.1] [Thu Sep 17 17:35:04
2009] tr_query.cgi: Compilation failed in require at
C:/Apachedocs/bugzilla-3.2.3/tr_query.cgi line 34., referer:
http://localhost:8080/bugzilla-3.2.3/tr_new_run.cgi?plan_id=&case_status_id=
2

[Thu Sep 17 17:35:04 2009] [error] [client 127.0.0.1] [Thu Sep 17 17:35:04
2009] tr_query.cgi: BEGIN failed--compilation aborted at
C:/Apachedocs/bugzilla-3.2.3/tr_query.cgi line 34., referer:
http://localhost:8080/bugzilla-3.2.3/tr_new_run.cgi?plan_id=&case_status_id=
2

Is there anybody who can give a hint?

-Thanks in advance!!

Frank

Gregary Hendricks

unread,
Sep 17, 2009, 2:58:18 PM9/17/09
to Frank Schimmelpfennig, support-...@lists.mozilla.org
>>> On 9/17/2009 at 09:49 AM, in message
<5873BC67BC5A4B09BDB00DC74D2772A9@AICGROUP>, "Frank Schimmelpfennig"

Have you installed the JSON perl module?

Greg

Frank Schimmelpfennig

unread,
Sep 18, 2009, 2:59:33 AM9/18/09
to Gregary Hendricks, support-...@lists.mozilla.org
Hi Greg,
yes, I did a CPAN install for JSON, and it went well (=> JSON 2.15).
Frank

-----Ursprüngliche Nachricht-----
Von: Gregary Hendricks [mailto:ghend...@novell.com]
Gesendet: Donnerstag, 17. September 2009 20:58
An: Frank Schimmelpfennig; support-...@lists.mozilla.org
Betreff: Re: Error on the Testopia search

Gregary Hendricks

unread,
Sep 21, 2009, 12:14:48 PM9/21/09
to Frank Schimmelpfennig, support-...@lists.mozilla.org
>>> On 9/18/2009 at 12:59 AM, in message
<CBB0B3765EA642F5982E0D802DA861E2@AICGROUP>, "Frank Schimmelpfennig"

<frank.schi...@aicgroup.de> wrote:
> Hi Greg,
> yes, I did a CPAN install for JSON, and it went well (=> JSON 2.15).
> Frank
>
> >
> > Bareword "JSON::false" not allowed while "strict subs" in use at
> > Bugzilla/Testopia/Classification.pm line 81.
> >

JSON::false is defined there. I am guessing there is some issue with the version on Windows (I am using 2.12 on Linux) either that or it is not being included in your @INC path.

What does checksetup.pl --check-modules show?

Greg


=+= May the source be with you =+=
Gregary Hendricks
Novell IS&T Engineer
GHend...@novell.com
Office: (801) 861-3481
www.novell.com/open


Frank

unread,
Sep 22, 2009, 5:24:17 AM9/22/09
to
> JSON::false is defined there. I am guessing there is some issue with the version on Windows (I am using 2.12 on Linux) either that or it is not being included in your @INC path.
>
> What does checksetup.pl --check-modules show?

Hi Greg,

I ran checksetup.pl again:

* This is Bugzilla 3.2.3 on perl 5.10.0
* Running on Win2003 Build 3790 (Service Pack 2)

Checking perl modules...
Checking for CGI.pm (v3.33) ok: found v3.41
Checking for TimeDate (v2.21) ok: found v2.22
Checking for PathTools (v0.84) ok: found v3.2501
Checking for DBI (v1.41) ok: found v1.607
Checking for Template-Toolkit (v2.15) ok: found v2.20
Checking for Email-Send (v2.16) ok: found v2.194
Checking for Email-MIME (v1.861) ok: found v1.863
Checking for Email-MIME-Modifier (v1.442) ok: found v1.443
Checking for JSON (v2.10) ok: found v2.15
Checking for Text-Diff (v0.35) ok: found v1.37
Checking for GD-Graph3d (v0.63) ok: found v0.63

Checking available perl DBD modules...
Checking for DBD-Pg (v1.45) not found
Checking for DBD-mysql (v4.00) ok: found v4.005
Checking for DBD-Oracle (v1.19) ok: found v1.21

The following Perl modules are optional:
Checking for GD (v1.20) ok: found v2.41
Checking for Chart (v1.0) 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.32
Checking for MIME-tools (v5.406) ok: found v5.427
Checking for libwww-perl (any) ok: found v5.814
Checking for PatchReader (v0.9.4) ok: found v0.9.5
Checking for PerlMagick (any) ok: found v6.4.8
Checking for perl-ldap (any) ok: found v0.39
Checking for Authen-SASL (any) ok: found v2.12
Checking for RadiusPerl (any) ok: found v0.13
Checking for SOAP-Lite (any) ok: found v0.69
Checking for HTML-Parser (v3.40) ok: found v3.56
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 mod_perl (v1.999022) ok: found v2.000004
Checking for Text-CSV (v1.06) ok: found v1.13
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.005
Checking for MySQL (v4.1.2) ok: found v5.0.77-community-nt

Removing existing compiled templates...
Precompiling templates...done.

Checking Testopia setup ...
Populating test plan ACLs ...
Done checking Testopia setup.


Now that you have installed Bugzilla, you should visit the
'Parameters' page (linked in the footer of the Administrator
account) to ensure it is set up as you wish - this includes
setting the 'urlbase' option to the correct URL.

And I checked the Perl include path:
perl -e "print @INC"
C:/Perl/site/libC:/Perl/lib.

As I told allready that I installed JSON via CPAN I find in C:\Perl
\lib a JSON subdir tree and a JSON.pm file.

-Thaks so far!
Frank

Gregary Hendricks

unread,
Sep 22, 2009, 7:08:50 PM9/22/09
to Frank, support-...@lists.mozilla.org
>> >>> On 9/22/2009 at 03:24 AM, in
> message
<7593d64b-2b56-4f00...@s6g2000vbp.googlegroups.com>
> , Frank

I seem to recall that there was an issue with the latest JSON on Windows. Installing 2.12 instead of 2.15. You can get it from CPAN.

Greg

Frank

unread,
Sep 23, 2009, 10:07:40 AM9/23/09
to
> I seem to recall that there was an issue with the latest JSON on Windows. Installing 2.12 instead of 2.15. You can get it from CPAN.

Hi Greg,
thanks for this hint!!

After some trouble uninstalling JSON 2.15 (via PPM) and re-installing
JSON 2.12 via CPAN (had to copy the JSON.pm and the JSON dir manually
into /site/lib) and re-installing Testopia from scratch everythings
seeems to work!!
Frank

0 new messages