Comment 5 for bug 561161

Revision history for this message
Michael Nelson (michael.nelson) wrote : Re: [Bug 561161] Re: upload of package with orig.tar.bz2 was rejected

On Mon, Apr 12, 2010 at 10:19 AM, William Grant <email address hidden> wrote:
> The bzip2 rejection code definitely sends a usable error message -- I
> tested it when I wrote it, and the code is still fine. Michael, were you
> able to find the process-upload.py log for this upload?

I did, but there was no extra info there (see below).

AFAICS, we also reject with "Further error processing not possible
because of a critical previous error." (without further explanation)
if DSCFile.format is None (that is, it is an *unsupported* format, see
lp.archiveuploader.dscfile.DSCFile.__init__()).

Is it possible Glen that you used an unsupported format for your first
upload? If so, we can update this bug to instead reflect the need for
a better rejection (and log) message there?
-Michael

{{{
2010-04-12 02:05:22 DEBUG Initialising connection.
2010-04-12 02:05:22 DEBUG Beginning processing
2010-04-12 02:05:22 DEBUG Could not fix the lockfile permission:
[Errno 1] Operation not permitted:
'/srv/launchpad.net/ppa-queue/incoming/.lock'
2010-04-12 02:05:22 DEBUG Checked in
/srv/launchpad.net/ppa-queue/incoming, found
['upload-20100412-030520-004002']
2010-04-12 02:05:22 DEBUG Considering upload upload-20100412-030520-004002
2010-04-12 02:05:22 DEBUG Considering changefile
~gjditchfield/ubuntu/alephone_20100218-0~ppa1_source.changes
2010-04-12 02:05:22 DEBUG Finding fresh policy
2010-04-12 02:05:22 DEBUG Verifying signature on
alephone_20100218-0~ppa1_source.changes
2010-04-12 02:05:23 INFO Processing upload
alephone_20100218-0~ppa1_source.changes
2010-04-12 02:05:23 DEBUG Beginning processing.
2010-04-12 02:05:23 DEBUG Performing DSC verification.
2010-04-12 02:05:23 DEBUG Building recipients list.
2010-04-12 02:05:23 DEBUG Adding recipient: 'Glen Ditchfield <...>'
2010-04-12 02:05:23 DEBUG Sending rejection email.
2010-04-12 02:05:23 DEBUG Sent a mail:
2010-04-12 02:05:23 DEBUG Subject:
alephone_20100218-0~ppa1_source.changes rejected
2010-04-12 02:05:23 DEBUG Recipients: Glen Ditchfield <...>
2010-04-12 02:05:23 DEBUG Body:
2010-04-12 02:05:23 DEBUG Rejected:
2010-04-12 02:05:23 DEBUG Further error processing not possible
because of a critical previous error.
}}}