我成功达到了这一步,能够快速将测试包上传到 Launchpad,几乎没有任何错误。但是,我遇到了以下问题:
Get Launchpad Settings
Launchpad connection is ok
.........Ubuntu packaging created in debian/
.......pushing to launchpad
.............................Checking signature on .changes
gpg: Signature made Fri Jun 22 21:28:42 2012 CEST using RSA key ID 03790459
gpg: Good signature from "Zubozrout <[email protected]>"
Good signature on ../omega_12.06.6_source.changes.
Checking signature on .dsc
gpg: Signature made Fri Jun 22 21:28:42 2012 CEST using RSA key ID 03790459
gpg: Good signature from "Zubozrout <[email protected]>"
Good signature on ../omega_12.06.6.dsc.
Uploading to ppa (via ftp to ppa.launchpad.net):
Uploading omega_12.06.6.dsc: done.
Uploading omega_12.06.6.tar.gz: done.
Uploading omega_12.06.6_source.changes: done.
Successfully uploaded packages.
Traceback (most recent call last):
File "/usr/share/quickly/templates/ubuntu-application/release.py", line 287, in <module>
release_version), changelog)
File "/usr/share/quickly/templates/ubuntu-application/internal/launchpad_helper.py", line 57, in push_tarball_to_launchpad
release = create_release(project, version)
File "/usr/share/quickly/templates/ubuntu-application/internal/launchpad_helper.py", line 44, in create_release
date_targeted=release_date)
File "/usr/lib/python2.7/dist-packages/lazr/restfulclient/resource.py", line 573, in __call__
url, in_representation, http_method, extra_headers=extra_headers)
File "/usr/lib/python2.7/dist-packages/lazr/restfulclient/_browser.py", line 281, in _request
raise error
lazr.restfulclient.errors.Unauthorized: HTTP Error 401: Unauthorized
Response headers:
---
-content-encoding: gzip
content-length: 65
content-type: text/plain
date: Fri, 22 Jun 2012 19:28:46 GMT
server: zope.server.http (HTTP)
status: 401
strict-transport-security: max-age=2592000
vary: Accept,Accept-Encoding
via: 1.1 api.launchpad.net
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
x-lazr-notifications: []
x-powered-by: Zope (www.zope.org), Python (www.python.org)
x-xss-protection: 1; mode=block
---
Response body:
---
(<ProductSeries at 0x14030190>, 'newMilestone', 'launchpad.Edit')
---
ERROR: release command failed
Aborting
谢谢你的帮助。
答案1
即使显示错误,它也能正常工作。