help-gnats
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnatsd: Could not resolve database alias? (and suggestions)


From: Yngve Svendsen
Subject: Re: gnatsd: Could not resolve database alias? (and suggestions)
Date: Thu, 07 Jun 2001 16:48:25 +0200

At 15:38 07.06.01 +0100, address@hidden wrote:
I get this error when trying to run gnatsweb:

"Error: Could not resolve database alias (Brainstorm)."

I had gnats/gnatsweb working just 2 weeks ago on another machine, but
now have reinstalled it with "--with-gnats-root=/home/gnats/gnats-db".
Could this be the difference?  I can't think what else it could be.

The pulldown database widget on the gnatsweb login page is empty, yet I
can do this fine:

gnats> cat /tmp/bugpr | queue-pr -q
gnats> queue-pr --run

The config file is setup with our database name "Brainstorm" obviously.

Are you 100% sure that your /etc/gnats-db.conf file contains the line
/home/gnats/gnats-db:Brainstorm

If you have this line, try changing 'Brainstorm' to 'brainstorm' and see if that makes a difference (it shouldn't, but you never know)


It sounds like a gnatsweb error, but the message is coming from the
gnats code itself.  Any help appreciated.

Also, a couple of suggestions:

1) It doesn't make sense to me for the file generated by mkcat
(Brianstorm in our case) to be in <prefix>/share/gnats rather than
<GNATS_ROOT>/gnats-db...

No, probably not. This is different in version4, though, where category directories are created on-the-fly as needed.

2) I found Gnats didn't work when I had a space in the category or
submitter ID - it would be good if we could use real product and company
names as the submitter IDs instead of names with underscores.

This suggestion makes sense. Version 4 might allow spaces, but I haven't tested it.

Otherwise keep up the good work - I'm looking forward to gnats4!

Thanks.

Yngve Svendsen
Gnatsweb maintainer


reply via email to

[Prev in Thread] Current Thread [Next in Thread]