Cron <ubuntu-archive at snakefruit> ~/oem-meta-packageset-sync/oem-meta-packageset-sync

Brian Murray brian at ubuntu.com
Sat Nov 19 15:09:49 UTC 2022


On Fri, Nov 18, 2022 at 11:32:54AM +0000, Dimitri Ledkov wrote:
> Can this be fixed please?

I believe that the BadRequest traceback happens when there is an issue
communicating with Launchpad and it is generally something server side.
Are you asking for that to be fixed for for the cronjob not to generate
email when encountering this Traceback?

Brian

> On Fri, 18 Nov 2022 at 11:31, Cron Daemon <root at snakefruit.canonical.com> wrote:
> >
> > Traceback (most recent call last):
> >   File "/home/ubuntu-archive/oem-meta-packageset-sync/oem-meta-packageset-sync", line 177, in <module>
> >     main()
> >   File "/home/ubuntu-archive/oem-meta-packageset-sync/oem-meta-packageset-sync", line 171, in main
> >     archive_packages = sync.get_archive_packages()
> >   File "/home/ubuntu-archive/oem-meta-packageset-sync/oem-meta-packageset-sync", line 157, in get_archive_packages
> >     return self.get_sources(ubuntu_archive)
> >   File "/home/ubuntu-archive/oem-meta-packageset-sync/oem-meta-packageset-sync", line 140, in get_sources
> >     for source in sources:
> >   File "/usr/lib/python3/dist-packages/lazr/restfulclient/resource.py", line 834, in __iter__
> >     next_get = self._root._browser.get(URI(next_link))
> >   File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 436, in get
> >     response, content = self._request(url, extra_headers=headers)
> >   File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 426, in _request
> >     raise error
> > lazr.restfulclient.errors.BadRequest: HTTP Error 400: Bad request
> > Response headers:
> > ---
> > -content-encoding: gzip
> > cache-control: no-cache
> > connection: close
> > content-length: 90
> > content-type: text/html
> > date: Fri, 18 Nov 2022 11:30:20 GMT
> > server: Apache/2.4.18 (Ubuntu)
> > status: 400
> > vary: Accept-Encoding
> > ---
> > Response body:
> > ---
> > b'<html><body><h1>400 Bad request</h1>\nYour browser sent an invalid request.\n</body></html>\n'
> > ---
> >
> >
> > --
> > Devel-permissions mailing list
> > Devel-permissions at lists.ubuntu.com
> > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/devel-permissions
> 
> 
> 
> -- 
> okurrr,
> 
> Dimitri
> 
> -- 
> Devel-permissions mailing list
> Devel-permissions at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/devel-permissions
--
Brian Murray



More information about the Devel-permissions mailing list