public inbox for gnats-prs@sourceware.org
help / color / mirror / Atom feed
* Re: gnatsweb/203: Can't call method "self_url" on an undefined  value at gnatsweb.pl line 2624
@ 2001-06-08 11:54 Aaron Yourk
  0 siblings, 0 replies; 3+ messages in thread
From: Aaron Yourk @ 2001-06-08 11:54 UTC (permalink / raw)
  To: nobody; +Cc: gnats-prs

The following reply was made to PR gnatsweb/203; it has been noted by GNATS.

From: "Aaron Yourk" <ayourk@srtnet.com>
To: <gnats-gnats@sourceware.cygnus.com>
Cc:  
Subject: Re: gnatsweb/203: Can't call method "self_url" on an undefined  value at gnatsweb.pl line 2624
Date: Fri, 8 Jun 2001 13:44:52 -0500

 From the documentation (which probably needs changing):
 ------------------------------------------------
 # list of GNATS databases and aliases
 #
 # Field 1 - fully qualified path to database
 # Field 2 - a comma separated list of aliases
 /usr/local/gnats/standard-db:normal,standard,regular
 /usr/local/gnats/alternate-db:alt
 /home/gnats/special-db:special
 ------------------------------------------------
 What this means to me is that I need to specify the full path to the
 database.  To me, this means $GNATS_ROOT/database.
 Also, Field 2:  This is supposed to be a list of aliases to the same
 database.  I figured that I needed no alias to the database, so I left it
 out and even ommitted the ':' because of db_conf.c might not be so forgiving
 on having the colon there with nothing after it.
 
 Here is what I did.  I did add what you said and still had errors, so I
 tried a few things.
 I found out that "Field 1" needs to be $GNATS_ROOT, and then "Field 2" ( as
 you stated) is the database name.
 I didn't fully understand why the example didn't show an example of having
 only "Field 1" without a "Field 2".
 
 My current /etc/gnats-db.conf file:
 ------------------------------------------------
 # list of GNATS databases and aliases
 #
 # Field 1 - fully qualified path to a GNATS_ROOT
 # Field 2 - a comma separated list of database names & aliases within that
 GNATS_ROOT
 /usr/web/gnats:tabbs
 ------------------------------------------------
 Results of the 'make test':
 ------------------------------------------------
 root@Vectra:~/bugs/gnatsweb-2.8.1#po && rm -rf gnatsweb-2.8.1 && tar -zxf
 gnatsweb-2.8.1.tar.gz && cd gnatsweb-2.8.1 && make test USERNAME=ayourk
 PASSWORD=xy-59jhg DATABASE=tabbs PERL='/usr/bin/perl'
 /usr/bin/perl test.pl
 connect...........................................pass
 query.............................................FAIL
 fix_email_addrs 1.................................pass
 fix_email_addrs 2.................................pass
 fix_email_addrs 3.................................pass
 fix_email_addrs 4.................................pass
 fix_email_addrs 5.................................pass
 trim_responsible 1................................pass
 trim_responsible 2................................pass
 trim_responsible 3................................pass
 make: *** [test] Error 1
 root@Vectra:~/bugs/gnatsweb-2.8.1#
 ------------------------------------------------
 I know that the Query failed because I have nothing in the database.  Is
 that all there is for the Makefile?
 
 Thanks,
 Aaron.
 
 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gnatsweb/203: Can't call method "self_url" on an undefined value at gnatsweb.pl line 2624
@ 2001-06-08  6:34 Yngve Svendsen
  0 siblings, 0 replies; 3+ messages in thread
From: Yngve Svendsen @ 2001-06-08  6:34 UTC (permalink / raw)
  To: nobody; +Cc: gnats-prs

The following reply was made to PR gnatsweb/203; it has been noted by GNATS.

From: Yngve Svendsen <yngve.svendsen@clustra.com>
To: ayourk@secret.spy.net, gnats-gnats@sourceware.cygnus.com
Cc:  
Subject: Re: gnatsweb/203: Can't call method "self_url" on an undefined
  value at gnatsweb.pl line 2624
Date: Fri, 08 Jun 2001 15:23:37 +0200

 At 12:22 08.06.01 +0000, ayourk@secret.spy.net wrote:
 >  >/etc/gnats-db.conf:
 >  /usr/web/gnats/tabbs
 
 Add ":tabbs" to the line above. The first field of the gnats-db.conf file 
 is the path to the database, the second field is the database name, and you 
 seem to be missign the second field.
 
 Yngve Svendsen
 Gnatsweb maintainer
 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* gnatsweb/203: Can't call method "self_url" on an undefined value at gnatsweb.pl line 2624
@ 2001-06-08  5:24 ayourk
  0 siblings, 0 replies; 3+ messages in thread
From: ayourk @ 2001-06-08  5:24 UTC (permalink / raw)
  To: gnats-gnats

>Number:         203
>Category:       gnatsweb
>Synopsis:       Can't call method "self_url" on an undefined value at gnatsweb.pl line 2624
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 08 05:24:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     nearby checking often
>Release:        GNATSweb 2.8.1
>Organization:
>Environment:
GNATS 3.113.1, GNATSweb 2.8.1, CGI.pm-2.753, Perl 5.005_03, Slackware 3.9 Linux, Kernel 2.0.39, glibc1. (anything else needed/relevant?)
>Description:
------------------------------------------------------------
root@Vectra:~/bugs/gnatsweb-2.8.1#cd .. && rm -rf gnatsweb-2.8.1 && tar -zxf gnatsweb-2.8.1.tar.gz && cd gnatsweb-2.8.1 && make test USERNAME=ayourk PASSWORD=xy-59jhg DATABASE=tabbs PERL='/usr/bin/perl'
/usr/bin/perl test.pl
Content-type: text/html

<H1>Software error:</H1>
<PRE>Can't call method &quot;self_url&quot; on an undefined value at gnatsweb.pl line 2624, &lt;SOCK&gt; chunk 2.
</PRE>
<P>
For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.

[Fri Jun  8 06:55:58 2001] test.pl: Can't call method "self_url" on an undefined value at gnatsweb.pl line 2624, <SOCK> chunk 2.
connect...........................................FAIL
make: *** [test] Error 29
root@Vectra:~/bugs/gnatsweb-2.8.1#
------------------------------------------------------------
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 >>GNATS-adm Files:
 ------------------------------------------------------------
 >addresses:
 <blank>
 ------------------------------------------------------------
 >categories:
 pending:Category for faulty PRs:gnats-admin:
 #
 # Sample categories:
 #
 #doc:Documentation Bug:jeffrey:pesch
 #gcc:The GNU C compiler:wilson:tiemann
 #g++:The GNU C++ compiler:brendan:tiemann, mrs
 tabbs:Main Project:tabbs:ayourk
 #test:*Test Category:gnats-admin:
 ------------------------------------------------------------
 >classes:
 sw-bug::Problem requiring a correction to software.
 doc-bug::Problem requiring a correction or improvement in documentation.
 support::A support problem or question.
 change-request::Suggested change in functionality.
 mistaken::Not a problem, bad PR submission.
 duplicate::Duplicate of another existing PR.
 ------------------------------------------------------------
 >config:
 GNATS_ADDR="gnats@srt-94.adsl.ndak.net"
 GNATS_USER="gnats"
 GNATS_ADMIN="gnats-admin"
 GNATS_SITE="SRT-94"
 SUBMITTER="SRT-94"
 DEFAULT_RELEASE="tabbs"
 DEFAULT_ORGANIZATION="SRT-94"
 NOTIFY=1
 ACKNOWLEDGE=1
 DEFAULT_SUBMITTER="net"
 KEEP_RECEIVED_HEADERS=1
 BDAY_START=0
 BDAY_END=0
 BWEEK_START=0
 BWEEK_END=0
 DEBUG_MODE=0
 DEFINE_CATEGORY="tabbs"
 ------------------------------------------------------------
 >gnatsd.access:
 ayourk:xy-59jhg:edit:tabbs
 *:*:view:
 ------------------------------------------------------------
 >gnatsd.conf:
 localhost:edit:
 *:view:
 10.0.0.1:edit:
 ------------------------------------------------------------
 >responsible:
 ayourk:Aaron Yourk:
 tabbs:Main project:ayourk
 ------------------------------------------------------------
 >states:
 open::Default state for a new problem report.
 analyzed::Problem examined, understood; difficulty of solution estimated.
 pending::Problem is being worked on.
 suspended::No solution yet, work on it also suspended for the time being.
 feedback::Problem solved, now awaiting originator's reaction to fix.
 closed:closed:This PR no longer active; it is resolved or otherwise defunct.
 ------------------------------------------------------------
 >submitters:
 net:An Internet Submitter:none:-1:gnats-admin:
 test:Test Non-Submitter:test:1:gnats-admin:
 ------------------------------------------------------------
 >/etc/gnats-db.conf:
 /usr/web/gnats/tabbs
 ------------------------------------------------------------
 
 Please note, I left out the comment lines in the files for briefity.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-06-08 11:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-08 11:54 gnatsweb/203: Can't call method "self_url" on an undefined value at gnatsweb.pl line 2624 Aaron Yourk
  -- strict thread matches above, loose matches on Subject: below --
2001-06-08  6:34 Yngve Svendsen
2001-06-08  5:24 ayourk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).