From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15150 invoked from network); 11 Apr 2003 02:30:19 -0000 Received: from unknown (HELO monty-python.gnu.org) (199.232.76.173) by sources.redhat.com with SMTP; 11 Apr 2003 02:30:19 -0000 Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 193oIb-0007V5-03 for listarch-gnats-devel@sources.redhat.com; Thu, 10 Apr 2003 22:29:53 -0400 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 193oIQ-0007Uz-00 for help-gnats@gnu.org; Thu, 10 Apr 2003 22:29:42 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 193oIO-0007Uh-00 for help-gnats@gnu.org; Thu, 10 Apr 2003 22:29:41 -0400 Received: from stl-smtpout-01.boeing.com ([130.76.96.56]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 193oIO-0007UZ-00 for help-gnats@gnu.org; Thu, 10 Apr 2003 22:29:40 -0400 Received: from stl-av-01.boeing.com ([192.76.190.6]) by stl-smtpout-01.boeing.com (8.9.2/8.8.5-M2) with ESMTP id VAA23495 for ; Thu, 10 Apr 2003 21:29:39 -0500 (CDT) Received: from stl-hub-01.boeing.com (localhost [127.0.0.1])VAA19172; Thu, 10 Apr 2003 21:29:38 -0500 (CDT) Received: from xch-nw-23p.nw.nos.boeing.com (xch-nw-23p.nw.nos.boeing.com [192.161.24.73])h3B2Tbw02559; Thu, 10 Apr 2003 21:29:37 -0500 (CDT) Received: from xch-nw-02.nw.nos.boeing.com ([192.42.226.15]) by xch-nw-23p.nw.nos.boeing.com with Microsoft SMTPSVC(5.0.2195.2966); Thu, 10 Apr 2003 19:29:36 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.6334.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Fri, 11 Apr 2003 02:30:00 -0000 Message-ID: <6E6ACC930A9BAB47AB0BBD1ACC0F8B3824C5CB@xch-nw-02.nw.nos.boeing.com> Thread-Topic: newbie with gnats/gnatsweb Thread-Index: AcL/nnj6ROCOnlxJQj6YoFXzqKHQbAAMVpbw From: "Erwin, Richard D" To: X-OriginalArrivalTime: 11 Apr 2003 02:29:36.0455 (UTC) FILETIME=[31DC9570:01C2FFD2] cc: "Allen, Paul L" cc: "Allen, Paul L" Subject: FW: newbie with gnats/gnatsweb more specific problems... X-BeenThere: help-gnats@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: General discussion about GNU GNATS List-Help: List-Post: List-Subscribe: , List-Archive: Sender: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org Errors-To: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org X-SW-Source: 2003-q2/txt/msg00006.txt.bz2 When I try to perform the test specified in the gnatsweb documentation, I g= et: /usr/local/gnu/bin/make test USERNAME=3Dgnats PASSWD=3DXXXXXXXX DATABASE=3D= gnats-db perl test.pl Can't call method "self_url" on an undefined value at ./gnatsweb-site.pl li= ne 2844, line 2. connect...........................................FAIL make: *** [test] Error 255 This is the code where it appears to fail in gnatsweb-site.pl... # Login to selected database. LOGIN: { # Issue CHDB command; revert to login page if it fails. ($response) =3D client_cmd("chdb $global_prefs{'database'}"); if (!$response) { login_page($q->self_url(), $gnats::ERRSTR); exit(); } # Get user permission level from USER command. Revert to the # login page if the command fails. ($response) =3D client_cmd("user $db_prefs{'user'} $db_prefs{'password'= }"); if (!$response) { login_page($q->self_url(), $gnats::ERRSTR); exit(); } $access_level =3D 'edit'; if ($response =3D~ /User access level set to (\w*)/) { $access_level =3D $1; } } Per the installation guide, I have a working gnats installation. In my /us= r/local/share/gnats/gnats-adm/gnatsd.conf file, as well as in /scratch/gnat= sweb-2.93/gnatsweb-site.pl file being used for the test, I point to the spe= cific server and not localhost, but have tried it with localhost, with no i= mprovement. It is set to "edit" in either case.=20=20 Perl modules CGI.pm 2.89 (with File-Spec-0.8) and MIME:Base64 are in place = for Perl 5.6.0, which is pointed to in line 1 of gnatsweb-site.pl. /etc/gnats-db.conf is setup as follows: /usr/local/share/gnats/gnats-db:normal,standard,regular All help greatfully accepted. Thanks, Rich Erwin Boeing SSG - M&CT Support (425) 865-3414 --Original Message----- From: Erwin, Richard D=20 Sent: Thursday, April 10, 2003 1:19 PM To: help-gnats@gnu.org Subject: newbie with gnats/gnatsweb Folks; I'm having problems getting gnatsweb to work properly. I'm using gnats 3.1= 13, gnatsweb 2.9.3 and Solaris 8. The web server is Apache 1.3.27. Apache and gnats appears to have installed just fine. However, the instruc= tions for installing gnatsweb are somewhat vague in spots. I assume gnatsw= eb-site.pl goes into the cgi subdirectory of apache, and the two perl modul= es, CGI.pm and MIME::BASE64 are installed, but testing the setup and such s= eems to get confusing. Any help would be gratefully appreciated. Rich Erwin Boeing SSG - M&CT Support (425) 865-3414 _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnats _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnats