unity-mail crashed with secretstorage.exceptions.ItemNotFoundException in function_out(): The '/org/freedesktop/secrets/aliases/default' object does not exist

Bug #1165548 reported by igora
26
This bug affects 2 people
Affects Status Importance Assigned to Milestone
unity-mail (Ubuntu)
Fix Released
High
Dmitry Shachnev
Raring
Fix Released
High
Unassigned

Bug Description

== Changelog / Development fix ==

This is a no-change backport of the version in saucy:

unity-mail (1.3.3) saucy; urgency=low

  * New bugfix release.
    - Prevent potential crash in check_email when email is not valid.
    - If the default collection does not exist, try to create it. This
      really fixes the ItemNotFoundException problems (LP: #1165548).
    - Fix the version number in the help message.

 -- Dmitry Shachnev <email address hidden> Wed, 08 May 2013 18:21:48 +0400

Diff between 1.3.2 and 1.3.3: https://launchpadlibrarian.net/139404531/unity-mail_1.3.2_1.3.3.diff.gz

== Impact ==

This fixes a major issue (currently also crash №1 for unity-mail on errors.ubuntu.com) when it crashes when the default Secret Service collection doesn't exist, and two minor issues.

== Test case for this bug ==

1. Run the Ubuntu live image.
2. Install Unity Mail and run it.
3. It shouldn't crash.
   Instead it should show a "create new collection" prompt.
4. Running it second time should not display that prompt.

== Test case for the "Fix version number in the help message" part ==

1. Run "unity-mail --version" command.
2. The output should be "Unity Mail, version 1.3".

== Regression potential ==

No regression potential (given that the new behaviour is tested on systems both with and witout the default keyring).

== Original Description ==

ProblemType: Crash
DistroRelease: Ubuntu 13.04
Package: unity-mail 1.3.2
ProcVersionSignature: Ubuntu 3.8.0-16.26-generic 3.8.5
Uname: Linux 3.8.0-16-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.9.2-0ubuntu5
Architecture: i386
CrashCounter: 1
Date: Sun Apr 7 00:09:35 2013
ExecutablePath: /usr/share/unity-mail/unity-mail
InstallationDate: Installed on 2013-04-06 (0 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha i386 (20130402.1)
InterpreterPath: /usr/bin/python3.3
MarkForUpload: True
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/unity-mail -c
ProcEnviron:
 LANGUAGE=ru_UA:ru
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=ru_UA.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/unity-mail', '-c']
SourcePackage: unity-mail
Title: unity-mail crashed with secretstorage.exceptions.ItemNotFoundException in function_out(): The '/org/freedesktop/secrets/aliases/default' object does not exist
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
igora (igora75) wrote :
tags: removed: need-duplicate-check
Changed in unity-mail (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Looks like this is a popular issue and hack in 1.3.2 didn't help. I am now going to add support for creating a collection if it doesn't exist.

information type: Private → Public
Changed in unity-mail (Ubuntu):
status: New → In Progress
importance: Medium → High
assignee: nobody → Dmitry Shachnev (mitya57)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-mail - 1.3.3

---------------
unity-mail (1.3.3) saucy; urgency=low

  * New bugfix release.
    - Prevent potential crash in check_email when email is not valid.
    - If the default collection does not exist, try to create it. This
      really fixes the ItemNotFoundException problems (LP: #1165548).
    - Fix the version number in the help message.
 -- Dmitry Shachnev <email address hidden> Wed, 08 May 2013 18:21:48 +0400

Changed in unity-mail (Ubuntu):
status: In Progress → Fix Released
description: updated
Changed in unity-mail (Ubuntu Raring):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Brian Murray (brian-murray) wrote : Missing SRU information

Thanks for uploading the fix for this bug report to -proposed. However, when reviewing the package in -proposed and the details of this bug report I noticed that the bug description is missing information required for the SRU process. You can find full details at http://wiki.ubuntu.com/StableReleaseUpdates#Procedure but essentially this bug is missing some of the following: a statement of impact, a test case and details regarding the regression potential. Thanks in advance!

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

All missing information is in bug 1181558, especially created for this purpose.

description: updated
Revision history for this message
Chris Halse Rogers (raof) wrote :

Please don't do that - if the SRU upload fixes this bug, then the SRU upload should mention this bug in its .changes file.

There's no need for a separate SRU paperwork bug. The separate bug only creates an opportunity for confusion.

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

> Please don't do that - if the SRU upload fixes this bug, then the SRU upload should mention this bug in its .changes file.

OK, moved everything to this bug then and re-uploaded.

description: updated
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello igora, or anyone else affected,

Accepted unity-mail into raring-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/unity-mail/1.3.3~13.04 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in unity-mail (Ubuntu Raring):
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

As nobody wants to verify the fix, and I've verified it myself, marking verification-done.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-mail - 1.3.3~13.04

---------------
unity-mail (1.3.3~13.04) raring-proposed; urgency=low

  * New bugfix release.
    - Prevent potential crash in check_email when email is not valid.
    - If the default collection does not exist, try to create it. This
      really fixes the ItemNotFoundException problems (LP: #1165548).
    - Fix the version number in the help message.
 -- Dmitry Shachnev <email address hidden> Wed, 05 Jun 2013 10:00:37 +0400

Changed in unity-mail (Ubuntu Raring):
status: Fix Committed → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

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.