web-dev-qa-db-ja.com

Quicklyを使用してプロジェクトをPPAにアップロードできません

プロジェクトをPPAにすばやくアップロードできません。 PGPキーを設定して使用したので、行動規範に署名すると、PPAが存在します。他にどのような役立つ情報を提供できるかわかりません。

robin@RobinJ:~/Ubuntu One/Python/gtkreddit$ quickly share --ppa robinj/gtkredditGet Launchpad Settings
Launchpad connection is ok
gpg: WARNING: unsafe permissions on configuration file `/home/robin/.gnupg/gpg.conf'
gpg: WARNING: unsafe enclosing directory permissions on configuration file `/home/robin/.gnupg/gpg.conf'
gpg: WARNING: unsafe permissions on configuration file `/home/robin/.gnupg/gpg.conf'
gpg: WARNING: unsafe enclosing directory permissions on configuration file `/home/robin/.gnupg/gpg.conf'
Traceback (most recent call last):
  File "/usr/share/quickly/templates/ubuntu-application/share.py", line 138, in <module>
    license.licensing()
  File "/usr/share/quickly/templates/ubuntu-application/license.py", line 284, in licensing
    {'translatable': 'yes'})
  File "/usr/share/quickly/templates/ubuntu-application/internal/quicklyutils.py", line 166, in change_xml_elem
    xml_tree.find(parent_node).insert(0, new_node)
AttributeError: 'NoneType' object has no attribute 'insert'
ERROR: share command failed
Aborting

これはバグだと思うので、Launchpadのバグとして報告しました。簡単な回避策をご存知の場合は、お知らせください。
https://bugs.launchpad.net/ubuntu/+source/quickly/+bug/1018138

1
RobinJ

キーと構成に適切なアクセス許可がない場合、GPGは実行されません。具体的には、他のユーザーがそれらを読むことができるのは好きではありません。したがって、chmod 600 /home/robin/.gnupg/gpg.confを実行して再試行してください。同じエラーが発生したが、/home/robin/.gnupg/内の別のファイルから発生した場合は、そのファイルでも同じchmod 600を実行します。

2
mhall119