[requestsync] crashed, doesn't handle gpg signing failure

Bug #537288 reported by Martin-Éric Racine
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)
Fix Released
Medium
Stefano Rivera

Bug Description

Binary package hint: ubuntu-dev-tools

Do you want to edit the report [y/N]? n

You need a passphrase to unlock the secret key for
user: "Martin-Éric Racine <email address hidden>"
1024-bit DSA key, ID 1E0CB9CD, created 2003-10-26

gpg: problem with the agent: IPC write error
gpg: Salasana ei kelpaa; yritä uudestaan ...

You need a passphrase to unlock the secret key for
user: "Martin-Éric Racine <email address hidden>"
1024-bit DSA key, ID 1E0CB9CD, created 2003-10-26

gpg: problem with the agent: Not supported
gpg: no default secret key: General error
gpg: [stdin]: clearsign failed: General error
Traceback (most recent call last):
  File "/usr/bin/requestsync", line 232, in <module>
    mailBug(srcpkg, subscribe, status, title, report, options.keyid)
  File "/usr/lib/pymodules/python2.6/ubuntutools/requestsync/mail.py", line 184, in mailBug
    assert gpg.returncode == 0
AssertionError

ProblemType: Crash
Architecture: i386
Date: Thu Mar 11 13:42:45 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/bin/requestsync
InterpreterPath: /usr/bin/python2.6
Package: ubuntu-dev-tools 0.95
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/requestsync -d unstable gthumb lucid
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=fi_FI.UTF-8
 LANGUAGE=fi_FI:fi:en_US:en
ProcVersionSignature: Ubuntu 2.6.32-15.22-generic
PythonArgs: ['/usr/bin/requestsync', '-d', 'unstable', 'gthumb', 'lucid']
SourcePackage: ubuntu-dev-tools
Title: requestsync crashed with AssertionError in mailBug()
Uname: Linux 2.6.32-15-generic i686
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse lpadmin netdev plugdev pulse-access scanner src sudo tape video

Revision history for this message
Martin-Éric Racine (q-funk) wrote :
tags: removed: need-duplicate-check
Revision history for this message
MarcRandolph (mrand) wrote :

Thank you for helping to improve Mythbuntu by opening this ticket. I am marking this ticket as confirmed because it appears to have enough information to help the developers understand the problem. It is possible I am wrong and another more experienced triager or developer may adjust the status of the ticket to "incomplete" and request additional information.

visibility: private → public
Changed in ubuntu-dev-tools (Ubuntu):
status: New → Triaged
Revision history for this message
MarcRandolph (mrand) wrote :

Oops, ignore the Mythbuntu part ;-)

Benjamin Drung (bdrung)
summary: - requestsync crashed with AssertionError in mailBug()
+ [requestsync] crashed with AssertionError in mailBug()
Changed in ubuntu-dev-tools (Ubuntu):
importance: Undecided → Medium
summary: - [requestsync] crashed with AssertionError in mailBug()
+ [requestsync] crashed, doesn't handle gpg signing failure
Revision history for this message
Stefano Rivera (stefanor) wrote :

Added some error handling

Changed in ubuntu-dev-tools (Ubuntu):
assignee: nobody → Stefano Rivera (stefanor)
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-dev-tools - 0.131

---------------
ubuntu-dev-tools (0.131) unstable; urgency=low

  [ Stefano Rivera ]
  * doc/requestsync.1: Correct default value for REQUESTSYNC_SMTP_SERVER
    (LP: #844992)
  * import-bug-from-debian: Bugs are filed against source packages in Ubuntu.
    (LP: #844734)
  * Debian source publication records are all Published now, not pending
    (LP: #845487)
  * requestsync:
    - Add nice error messages to gpg-signing code, rather than simple
      assertions (LP: #537288)
    - Extract current Ubuntu delta from changelog entries and provide for
      editing (LP: #547925)
  * submittodebian:
    - Don't parse the entire changelog, to avoid bumping into past illegal
      version numbers (LP: #727314)
    - Iterate over changelog blocks rather than using Changelog's private
      _blocks list.
  * LP: #806633:
    - ubuntutools.update_maintainer: Don't use strict changelog parsing
    - sponsor-patch: Perform strict validation on the first changelog entry.
  * setup-packaging-environment:
    - Software Sources isn't on the Administration menu, post Gnome 2
      (LP: #841975)
    - Use apt-get rather than aptitude.
  * Removed get-build-deps, mk-build-deps -ir is equivalent (LP: #158108)
  * ubuntutools.archive:
    - Add quiet option to silence downloading.
    - Use wget-style progress bar (fixed width) (LP: #845787)
  * Bump python-debian B-D and Depends to 0.1.20 for unicode Changelog
    reading.
  * backportpackage: Use absolute path of workdir when test-building.

  [ Colin Watson ]
  * syncpackage: Fix typo.

  [ Benjamin Drung ]
  * ubuntutools/requestsync: Follow PEP 8 naming conventions.

 -- Stefano Rivera <email address hidden> Sat, 10 Sep 2011 16:48:23 +0200

Changed in ubuntu-dev-tools (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.