Comment 6 for bug 2000806

Revision history for this message
Able Chow (ablechow) wrote : Re: [Bug 2000806] Re: Breezy has encountered an internal error. This probably indicates a bug in Breezy.

Thank you for addressing this issue.
Happy new year and have a wonderful week!

Able

On Wed, Jan 11, 2023 at 12:55 PM Jelmer Vernooij <email address hidden>
wrote:

> Fix in the attached branch. Filed bug #2002568 in Launchpad about the
> 500.
>
> ** Changed in: brz
> Milestone: None => 3.3.2
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2000806
>
> Title:
> Breezy has encountered an internal error. This probably indicates a
> bug in Breezy.
>
> Status in Breezy:
> Fix Committed
>
> Bug description:
> [able@arch libappindicator-bzr]$ makepkg -si
> ==> Making package: libappindicator-bzr 12.10.0.r298-1 (Fri 30 Dec 2022
> 09:49:15 PM CST)
> ==> Checking runtime dependencies...
> ==> Checking buildtime dependencies...
> ==> Retrieving sources...
> -> Branching lp:libappindicator...
> brz: ERROR: lazr.restfulclient.errors.ServerError: HTTP Error 500:
> Internal Server Error
> Response headers:
> ---
> connection: close
> content-length: 14
> content-type: text/plain;charset=utf-8
> date: Sat, 31 Dec 2022 03:49:17 GMT
> server: gunicorn/19.8.1
> status: 500
> x-lazr-oopsid: OOPS-469a948ce22c10ab0c555e4314c17afe
> x-powered-by: Zope (www.zope.org), Python (www.python.org)
> x-request-id: e08291e2-3991-424e-a7a9-2a4c56c2d8b7
> x-vcs-revision: 31c78762a8046acf7ab47372e5d588ebb3759d2e
> ---
> Response body:
> ---
> b'AssertionError'
> ---
>
>
> Traceback (most recent call last):
> File "/usr/lib/python3.10/site-packages/breezy/commands.py", line
> 1039, in exception_to_return_code
> return the_callable(*args, **kwargs)
> File "/usr/lib/python3.10/site-packages/breezy/commands.py", line
> 1231, in run_bzr
> ret = run(*run_argv)
> File "/usr/lib/python3.10/site-packages/breezy/commands.py", line 779,
> in run_argv_aliases
> return self.run(**all_cmd_args)
> File "/usr/lib/python3.10/site-packages/breezy/commands.py", line 804,
> in run
> return class_run(*args, **kwargs)
> File "/usr/lib/python3.10/site-packages/breezy/builtins.py", line
> 1471, in run
> accelerator_tree, br_from =
> controldir.ControlDir.open_tree_or_branch(
> File "/usr/lib/python3.10/site-packages/breezy/controldir.py", line
> 874, in open_tree_or_branch
> controldir = klass.open(location)
> File "/usr/lib/python3.10/site-packages/breezy/controldir.py", line
> 778, in open
> t = _mod_transport.get_transport(base, possible_transports)
> File "/usr/lib/python3.10/site-packages/breezy/transport/__init__.py",
> line 1599, in get_transport
> location_to_url(base, purpose=purpose),
> File "/usr/lib/python3.10/site-packages/breezy/location.py", line 143,
> in location_to_url
> location = directories.dereference(location, purpose)
> File "/usr/lib/python3.10/site-packages/breezy/directory_service.py",
> line 89, in dereference
> return directory.look_up(name, url, purpose=purpose)
> File
> "/usr/lib/python3.10/site-packages/breezy/plugins/launchpad/lp_directory.py",
> line 119, in look_up
> return self._resolve(url)
> File
> "/usr/lib/python3.10/site-packages/breezy/plugins/launchpad/lp_directory.py",
> line 162, in _resolve
> result = _api_resolver(path, url)
> File
> "/usr/lib/python3.10/site-packages/breezy/plugins/launchpad/lp_directory.py",
> line 112, in _resolve_via_api
> return {'urls': [lp_branch.composePublicURL(scheme='ssh')]}
> File
> "/home/able/.local/lib/python3.10/site-packages/lazr/restfulclient/resource.py",
> line 592, in __call__
> response, content = self.root._browser._request(
> File
> "/home/able/.local/lib/python3.10/site-packages/lazr/restfulclient/_browser.py",
> line 429, in _request
> raise error
> lazr.restfulclient.errors.ServerError: HTTP Error 500: Internal Server
> Error
> Response headers:
> ---
> connection: close
> content-length: 14
> content-type: text/plain;charset=utf-8
> date: Sat, 31 Dec 2022 03:49:17 GMT
> server: gunicorn/19.8.1
> status: 500
> x-lazr-oopsid: OOPS-469a948ce22c10ab0c555e4314c17afe
> x-powered-by: Zope (www.zope.org), Python (www.python.org)
> x-request-id: e08291e2-3991-424e-a7a9-2a4c56c2d8b7
> x-vcs-revision: 31c78762a8046acf7ab47372e5d588ebb3759d2e
> ---
> Response body:
> ---
> b'AssertionError'
> ---
>
>
> brz 3.3.1 on python 3.10.9 (Linux-6.1.1-arch1-1-x86_64-with-glibc2.36)
> arguments: ['bzr', 'branch', 'lp:libappindicator', '/tmp/libappindicator-
> bzr/libappindicator', '--no-tree', '--use-existing-dir']
> plugins: bash_completion[3.3.1], changelog_merge[3.3.1],
> commitfromnews[3.3.1], cvs[3.3.1], darcs[3.3.1], email[3.3.1],
> fastimport[3.3.1], flake8[unknown], fossil[3.3.1], github[3.3.1],
> gitlab[3.3.1], hg[3.3.1], launchpad[3.3.1], mtn[3.3.1],
> netrc_credential_store[3.3.1], news_merge[3.3.1], po_merge[3.3.1],
> propose[3.3.1], pypi[3.3.1], quilt[unknown], repodebug[3.3.1],
> rewrite[unknown], stats[3.3.1], svn[3.3.1], upload[3.3.1],
> weave_fmt[3.3.1], zsh_completion[3.3.1]
> encoding: 'utf-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
>
> *** Breezy has encountered an internal error. This probably indicates a
> bug in Breezy. You can help us fix it by filing a bug report at
> https://bugs.launchpad.net/brz/+filebug
> including this traceback and a description of the problem.
> ==> ERROR: Failure while branching lp:libappindicator
> Aborting...
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/brz/+bug/2000806/+subscriptions
>
>