From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yngve Svendsen To: nick@brainstorm.co.uk, gnats-devel@sources.redhat.com Subject: Re: gnatsd: Could not resolve database alias? (and suggestions) Date: Thu, 07 Jun 2001 07:49:00 -0000 Message-id: <5.1.0.14.2.20010607164130.009e4570@maestro.clustra.com> References: <3B1F91D0.D3E591E2@brainstorm.co.uk> X-SW-Source: 2001-q2/msg00151.html At 15:38 07.06.01 +0100, nick@brainstorm.co.uk 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 /share/gnats rather than >/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