quickly share creates GPG key with no email address and subsequently fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Quickly |
Fix Released
|
Medium
|
Didier Roche-Tolomelli | ||
quickly (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: quickly
When using quickly share for the first time, quickly generates a GPG key. However, this key does not include an email address and quickly subsequently fails with the following error:
Your gpg key has been create. You have to upload it to Launchpad. Guidance is provided in Launchpad help. Press any key once done.
Traceback (most recent call last):
File "/usr/share/
keyid = quicklyutils.
File "/usr/share/
os.
TypeError: putenv() argument 2 must be string, not None
ERROR: share command failed
Steps to reproduce:
1. Create a project using quickly on a machine that has no GPG keys stored
2. Run quickly share in the project folder
3. Quickly generates a GPG key with no email address (e.g. John Smith <None>)
4. Register the key with Launchpad
5. Press ENTER in the window where "quickly share" is running to proceed
Actual behaviour
Quickly crashes
Expected behaviour
Quickly should request an email address from the user so that the created GPG key includes that address.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: quickly 0.4-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.32-21-generic i686
Architecture: i386
Date: Tue Apr 20 15:25:46 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100406.1)
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_GB.utf8
SHELL=/bin/bash
QuicklyDataPath: /usr/share/quickly
QuicklyTemplates:
/usr/share/
/usr/share/
/usr/share/
QuicklyTemplate
SourcePackage: quickly
Changed in quickly: | |
status: | In Progress → Fix Committed |
Changed in quickly: | |
status: | Fix Committed → Fix Released |
Ok, can reproduce the bug here.
Thanks for the detailed bug report that help reproduce it easily :)
Quickly shouldn't prompt for the email as it has already at least the one on Launchpad. If you launch quickly license before, it should have this one as well. The issue is just that I didn't putting out empty email adress from the detection algorithm as I was just thinking about the matching case (which is done to ensure that your gpg key corresponds to one adress email, and the distant one is the same), not the creation one. Having a looking to fix this now for 0.4.1