[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnatsweb/203: Can't call method "self_url" on an undefined value at
From: |
Aaron Yourk |
Subject: |
Re: gnatsweb/203: Can't call method "self_url" on an undefined value at gnatsweb.pl line 2624 |
Date: |
8 Jun 2001 18:54:00 -0000 |
The following reply was made to PR gnatsweb/203; it has been noted by GNATS.
From: "Aaron Yourk" <address@hidden>
To: <address@hidden>
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':
------------------------------------------------
address@hidden:~/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
address@hidden:~/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.