Comment 7 for bug 438671

Revision history for this message
Abel Deuring (adeuring) wrote :

Marc,

i believe you that you lastest submissions suceeded. Most POSTs from checkbox to https://launchpad.net/+hwdb/+submit succeed.
But are you sure that you could fix the problem? I found these OOPSes in the LP error reports from the last days, all caused by missing fields:

2009-10-25: OOPS-1394A2523, OOPS-1394C1853, OOPS-1394E1293, OOPS-1394E2051, OOPS-1394F1310

2009-10-24: OOPS-1393A1307, OOPS-1393A1308, OOPS-1393A1418, OOPS-1393A2073, OOPS-1393A2076

2009-10-23: OOPS-1392A1067, OOPS-1392B1070, OOPS-1392C2588, OOPS-1392E589, OOPS-1392H633

2009-10-22: : OOPS-1391B2665, OOPS-1391D2768, OOPS-1391G1653, OOPS-1391G3119, OOPS-1391G3121

2009-10-21: OOPS-1390A2743, OOPS-1390A3024, OOPS-1390B3113, OOPS-1390C1763, OOPS-1390D1821

I think there are two things you can check:

1. Before LaunchpadExchange.launchpad_exchange() submits the data, ensure that dictionary self._form has all the items you mentioned. Note that several fields are _not_ initially set in LaunchpadExchange.register(), but only later in methods like LaunchpadExchange.LaunchpadExchange.().

2. Check the response headers in LaunchpadExchange.launchpad_exchange(). http://bazaar.launchpad.net/%7Elaunchpad-pqm/launchpad/db-devel/download/head%3A/01submitdata.txt-20070810091007-2jyzrcjbf3wfz31e-2/01-submit-data.txt
(Cheicking the header would be a good idea anyway, for example in order to detect if the submission_key set by checkbox is already used.)