为什么我无法快速连接到我的启动板 ppa?

为什么我无法快速连接到我的启动板 ppa?

有人能理解以下输出吗:

confus@confus:~/prog/power-switch$ quickli configure ppa
confus@confus:~/prog/power-switch$ quickly configure ppa Traceback (most recent call last):
  File "/usr/share/quickly/templates/ubuntu-application/configure.py", line 66, in <module>
    templatetools.handle_additional_parameters(sys.argv, help, shell_completion, usage=usage)
  File "/usr/lib/python2.7/dist-packages/quickly/templatetools.py", line 51, in handle_additional_parameters
    shell_completion(args[2:])
  File "/usr/share/quickly/templates/ubuntu-application/configure.py", line 61, in shell_completion
    rv = packaging.shell_complete_ppa(argv[-1])
  File "/usr/share/quickly/templates/ubuntu-application/internal/packaging.py", line 302, in shell_complete_ppa
    launchpad = launchpadaccess.initialize_lpi(False)
  File "/usr/lib/python2.7/dist-packages/quickly/launchpadaccess.py", line 91, in initialize_lpi
    allow_access_levels=["WRITE_PRIVATE"])
  File "/usr/lib/pymodules/python2.7/launchpadlib/launchpad.py", line 538, in login_with
    credential_save_failed, version)
  File "/usr/lib/pymodules/python2.7/launchpadlib/launchpad.py", line 341, in _authorize_token_and_login
    authorization_engine.unique_consumer_id)
  File "/usr/lib/pymodules/python2.7/launchpadlib/credentials.py", line 273, in load
    return self.do_load(unique_key)
  File "/usr/lib/pymodules/python2.7/launchpadlib/credentials.py", line 322, in do_load
    return Credentials.from_string(credential_string)
  File "/usr/lib/pymodules/python2.7/launchpadlib/credentials.py", line 89, in from_string
    credentials.load(StringIO(value))
  File "/usr/lib/python2.7/dist-packages/lazr/restfulclient/authorize/oauth.py", line 165, in load
    CREDENTIALS_FILE_VERSION, 'consumer_key')
  File "/usr/lib/python2.7/ConfigParser.py", line 610, in get
    raise NoOptionError(option, section)
ConfigParser.NoOptionError: No option 'consumer_key' in section: '1'
None
confus@confus:~/prog/power-switch$ quickli configure ppa None

启动板上的相应错误报告:https://bugs.launchpad.net/launchpadlib/+bug/793174

答案1

这是 Quickly 中的一个错误。您应该使用以下命令在 Launchpad 上报告此错误:

ubuntu-bug quickly

并附加命令的输出。

相关内容