{"self_link": "https://api.launchpad.net/1.0/bugs/2039729", "web_link": "https://bugs.launchpad.net/bugs/2039729", "resource_type_link": "https://api.launchpad.net/1.0/#bug", "id": 2039729, "private": false, "information_type": "Public", "name": null, "title": "test_transport_set_to_sftp errors with 'staticmethod' object is not callable", "description": "git describe --tags\nbrz-3.3.4-880-g11663014fd\n\n$ BRZ_PLUGIN_PATH=-site:-user python3 -m breezy selftest test_transport_set_to_sftp\n\n======================================================================\nERROR: breezy.tests.blackbox.test_selftest.TestOptions.test_transport_set_to_sftp\n----------------------------------------------------------------------\nTraceback (most recent call last):\ntesttools.testresult.real._StringException: log: {{{\n0.001  run brz: ['selftest', '--transport=sftp']\n0.001  breezy version: 3.4.0.dev\n0.002  brz arguments: ['selftest', '--transport=sftp']\n}}}\n\nTraceback (most recent call last):\n  File \"/home/robertc/src/breezy/breezy/tests/blackbox/test_selftest.py\", line 59, in test_transport_set_to_sftp\n    params = self.get_params_passed_to_core('selftest --transport=sftp')\n  File \"/home/robertc/src/breezy/breezy/tests/blackbox/test_selftest.py\", line 42, in get_params_passed_to_core\n    self.run_bzr(cmdline)\n  File \"/home/robertc/src/breezy/breezy/tests/__init__.py\", line 2061, in run_bzr\n    result = self._run_bzr_core(\n  File \"/home/robertc/src/breezy/breezy/tests/__init__.py\", line 1923, in _run_bzr_core\n    result = self.apply_redirected(\n  File \"/home/robertc/src/breezy/breezy/tests/__init__.py\", line 2364, in apply_redirected\n    return a_callable(*args, **kwargs)\n  File \"/home/robertc/src/breezy/breezy/commands.py\", line 1332, in run_bzr_catch_user_errors\n    return run_bzr(argv)\n  File \"/home/robertc/src/breezy/breezy/commands.py\", line 1221, in run_bzr\n    ret = run(*run_argv)\n  File \"/home/robertc/src/breezy/breezy/commands.py\", line 743, in run_argv_aliases\n    args, opts = parse_args(self, argv, alias_argv)\n  File \"/home/robertc/src/breezy/breezy/commands.py\", line 925, in parse_args\n    options, args = parser.parse_args(args)\n  File \"/usr/lib/python3.9/optparse.py\", line 1387, in parse_args\n    stop = self._process_args(largs, rargs, values)\n  File \"/usr/lib/python3.9/optparse.py\", line 1427, in _process_args\n    self._process_long_opt(rargs, values)\n  File \"/usr/lib/python3.9/optparse.py\", line 1501, in _process_long_opt\n    option.process(opt, value, values, self)\n  File \"/usr/lib/python3.9/optparse.py\", line 784, in process\n    return self.take_action(\n  File \"/usr/lib/python3.9/optparse.py\", line 805, in take_action\n    self.callback(self, opt, value, parser, *args, **kwargs)\n  File \"/home/robertc/src/breezy/breezy/option.py\", line 240, in _optparse_callback\n    v = self.type(value)\nTypeError: 'staticmethod' object is not callable\n\n----------------------------------------------------------------------\nRan 1 test in 0.017s", "owner_link": "https://api.launchpad.net/1.0/~lifeless", "bug_tasks_collection_link": "https://api.launchpad.net/1.0/bugs/2039729/bug_tasks", "duplicate_of_link": null, "date_created": "2023-10-18T19:05:04.145880+00:00", "activity_collection_link": "https://api.launchpad.net/1.0/bugs/2039729/activity", "can_expire": false, "subscriptions_collection_link": "https://api.launchpad.net/1.0/bugs/2039729/subscriptions", "date_last_updated": "2023-10-18T19:05:04.145880+00:00", "who_made_private_link": null, "date_made_private": null, "heat": 6, "bug_watches_collection_link": "https://api.launchpad.net/1.0/bugs/2039729/bug_watches", "cves_collection_link": "https://api.launchpad.net/1.0/bugs/2039729/cves", "vulnerabilities_collection_link": "https://api.launchpad.net/1.0/bugs/2039729/vulnerabilities", "duplicates_collection_link": "https://api.launchpad.net/1.0/bugs/2039729/duplicates", "attachments_collection_link": "https://api.launchpad.net/1.0/bugs/2039729/attachments", "security_related": false, "latest_patch_uploaded": null, "tags": [], "date_last_message": "2023-10-18T19:05:04.145880+00:00", "number_of_duplicates": 0, "message_count": 1, "users_affected_count": 1, "users_unaffected_count": 0, "users_affected_collection_link": "https://api.launchpad.net/1.0/bugs/2039729/users_affected", "users_unaffected_collection_link": "https://api.launchpad.net/1.0/bugs/2039729/users_unaffected", "users_affected_count_with_dupes": 1, "other_users_affected_count_with_dupes": 1, "users_affected_with_dupes_collection_link": "https://api.launchpad.net/1.0/bugs/2039729/users_affected_with_dupes", "messages_collection_link": "https://api.launchpad.net/1.0/bugs/2039729/messages", "linked_branches_collection_link": "https://api.launchpad.net/1.0/bugs/2039729/linked_branches", "http_etag": "\"d65a5849c2589da79a1b915a9cdc0819495cf9a3-326aace128447f93730fcd5dacc705012ceb5fe6\""}