Re: Error Code 431
Prashanth Guduru <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.gnats.general |
|---|---|
| Message-ID | <[email protected]> |
-- Yngve Svendsen <[email protected]> wrote: > Prashanth Guduru wrote: > > >Hi, > > > >I have gnats-4.0 installed and have gnatsd running > on > >a machine. I have gnatsweb-4.0 setup on my > webserver > >machine and have setup the gnatsweb.html > >appropriately. > >I now have created 4 databases and whenever anyone > >tries to create a PR the gnats.lock file in the > >$GNATSROOT/database/gnats-adm directory doesnt get > >deleted. After the PR is submitted, the gnatsweb > page > >says "Error : unparseable reply from server". When > >queried i can see the PR created. I have also tried > >creating a PR using send-pr from a different > machine > >than the one that runs gnatsd and has databases on > it. > >I have set the GNATSDB env variable for this to > work. > >send-pr creates a new PR but i have also observed > the > >gnats.lock file is created and then deleted by the > >send-pr. I have been having difficulties figuring > out > >why gnatsweb's create PR request is not being > handled > >properly by the gnatsd. Is there a way i can view > the > >logs/output of gnatsd. Have anybody seen this kinda > >behaviour before. THanks in advance. > > > > > Sorry to hear you are having difficulties. > > GNATS logging is still an undocumented mess. > However, the first thing I > would advise you to do is to turn on debug output in > Gnatsweb. Simply > add the string "?debug=all" to the URL you use to > access Gnatsweb. Thus, > the access URL should read something similar to > this: > > http://www.example.com/cgi-bin/gnatsweb.pl?debug=all > > Yngve Svendsen > Gnatsweb maintainer > Hi Yngve, THanks for your prompt response. I have actually done that, i mean having "?debug=all" appended to the url. I have 2 different databases, the first one i created was "test", it doesnt have any categories except for the default ones. I can create a PR using GNATSWEB in the test database with no problem of the gnats.lock file being left undeleted. So what i did was i did ?debug=all for both the cases, i mean for the test database and for the other database.Heres what i observed. client_cmd: subm server_reply: 211 Ok. client_cmd: To: bugs CC: Subject: [email protected] From: [email protected] Reply-To: [email protected] X-Send-Pr-Version: gnatsweb-4.00 (1.124.2.2) X-GNATS-Notify: >Notify-List: [email protected] >Category: pending >Synopsis: [email protected] >Confidential: yes >Severity: critical >Priority: high >Class: sw-bug >Submitter-Id: medc >Originator: [email protected] >Release: [email protected] >Organization: [email protected] >Environment: [email protected] >Description: [email protected] >How-To-Repeat: [email protected] >Fix: Unknown >Unformatted: . server_reply: 210 PR added. THis is the last client command that is run in both the cases. For the test database i can see the server_reply: 210 PR added and in case of the other database when PR is created the "server_reply:" is empty and thats when i get "Error: Unparseable reply from server" and that follows the "Problem Report Sent. THank you for your report...........". I have closely observed the both databases, except for the categories there is no difference in them atall. I dont quite understand why isnt there a 210 PR added response from server and why is'nt the gnats.lock file getting deleted. Any comments. Regards, Prashanht __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com