unity-mail crashed with UnityMail.application.TimeoutException in raise_error(): Timeout error

Bug #1084882 reported by Edward Donovan
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity Mail
Fix Released
High
Dmitry Shachnev
unity-mail (Ubuntu)
Fix Released
Medium
Unassigned
Quantal
Fix Released
Medium
Unassigned

Bug Description

(SRU is tracked in bug 1100808)

This has happened a couple times, not during any interaction with Unity Mail. Gmail window was open in Firefox, and recognized by Unity webapps; I wasn't interacting with that, either. The mail account is a 'Google apps for domains' Gmail account.

Thanks.

== Test case ==
We cannot really verify this particular issue, but we can verify that Unity Mail handles timeout issues correctly:

* Make sure that Unity Mail is running.
* Disconnect from the internet.
* Send yourself some new e-mails.
* Connect back.
* Ensure that Unity Mail displays the new e-mails in no longer than one minute.

== Development fix ==
Fixed in 1.2.3.

ProblemType: Crash
DistroRelease: Ubuntu 13.04
Package: unity-mail 1.2.2
ProcVersionSignature: Ubuntu 3.7.0-3.2-lowlatency 3.7.0-rc6
Uname: Linux 3.7.0-3-lowlatency x86_64
ApportVersion: 2.6.2-0ubuntu5
Architecture: amd64
Date: Thu Nov 29 17:15:39 2012
ExecutablePath: /usr/share/unity-mail/unity-mail
InterpreterPath: /usr/bin/python3.3
MarkForUpload: True
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/unity-mail
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/unity-mail']
SourcePackage: unity-mail
Title: unity-mail crashed with UnityMail.application.TimeoutException in raise_error(): Timeout error
UpgradeStatus: Upgraded to raring on 2012-06-14 (168 days ago)
UserGroups: adm cdrom dip lpadmin nopasswdlogin plugdev sambashare sudo

Revision history for this message
Edward Donovan (edward.donovan) wrote :
Revision history for this message
Edward Donovan (edward.donovan) wrote :

Does that traceback simply mean that Unity Mail crashed when the connection to google timed out? I don't know.

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 610, in <lambda>
    return (lambda data: callback(*data), user_data)
  File "/usr/share/unity-mail/UnityMail/application.py", line 331, in raise_error
    raise TimeoutException('Timeout error')
UnityMail.application.TimeoutException: Timeout error

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

Thanks for reporting this!

The traceback is not very informative, but I believe I've fixed this in bzr now. I'll also now upload the fixed version to my PPA (ppa:mitya57/ppa) for raring and quantal. Can you please test the new version and say if it works for you (if it won't crash in ~2 days, it's fixed)?

Changed in unity-mail:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → Dmitry Shachnev (mitya57)
Changed in unity-mail (Ubuntu Quantal):
importance: Undecided → Medium
Changed in unity-mail:
status: Fix Committed → Won't Fix
status: Won't Fix → Fix Committed
Revision history for this message
Edward Donovan (edward.donovan) wrote :

Ok, I'm running 1.2.3~ppa1 under Raring now. Thanks!

Revision history for this message
Edward Donovan (edward.donovan) wrote :

Ok, the patched version has run a few days now, without a crash. I admit, it may have gone longer than that between the two crashes I did experience. But I'll let you know if I see anything else.

I guess I'll leave changing the bug status to you, to be conservative.

Thanks!

Changed in unity-mail:
status: Fix Committed → Fix Released
Changed in unity-mail (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
unity-mail (1.2.3) raring; urgency=low

  * New bugfix release.
    - Fix generation of fallback message-ids.
    - Handle header decoding errors, return raw headers on failures.
    - Ensure that alarm is always cancelled after folder update
      (LP: #1084882).
    - Replace "except:" with "except SomeException:" in two places to
      ensure that it won't try to handle TimeoutException.
    - try_establish_connection: fix error message being never shown by
      moving it before sys.exit() call, slightly simplify the code.
  * Updated my e-mail address.
 -- Dmitry Shachnev <email address hidden> Thu, 06 Dec 2012 20:52:26 +0400

Changed in unity-mail (Ubuntu):
status: Fix Committed → Fix Released
description: updated
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Accepted unity-mail into quantal-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/unity-mail/1.2.4~12.10 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!

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

OK, I've verified the fix myself.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Edward Donovan (edward.donovan) wrote :

Oh, oops. Hi Dimitry, I'm sorry I didn't help confirm. I only have a Raring box right now, so when I see SRU confirmations go by, I go past them. But I missed that I was the only user on this one. Thanks for your help.

Revision history for this message
Dmitry Shachnev (mitya57) wrote : Re: [Bug 1084882] Re: unity-mail crashed with UnityMail.application.TimeoutException in raise_error(): Timeout error

No problem. This bug was not linked to from the top changelog entry,
so I'm not even sure it needed verification.

On 3/9/13, Edward Donovan <email address hidden> wrote:
> Oh, oops. Hi Dimitry, I'm sorry I didn't help confirm. I only have a
> Raring box right now, so when I see SRU confirmations go by, I go past
> them. But I missed that I was the only user on this one. Thanks for
> your help.
>
> --
> You received this bug notification because you are a bug assignee.
> Matching subscriptions: Unity Mail bugs, Unity Mail bugs
> https://bugs.launchpad.net/bugs/1084882
>
> Title:
> unity-mail crashed with UnityMail.application.TimeoutException in
> raise_error(): Timeout error
>
> Status in Unity Mail:
> Fix Released
> Status in “unity-mail” package in Ubuntu:
> Fix Released
> Status in “unity-mail” source package in Quantal:
> Fix Committed
>
> Bug description:
> (SRU is tracked in bug 1100808)
>
> This has happened a couple times, not during any interaction with
> Unity Mail. Gmail window was open in Firefox, and recognized by Unity
> webapps; I wasn't interacting with that, either. The mail account is
> a 'Google apps for domains' Gmail account.
>
> Thanks.
>
> == Test case ==
> We cannot really verify this particular issue, but we can verify that
> Unity Mail handles timeout issues correctly:
>
> * Make sure that Unity Mail is running.
> * Disconnect from the internet.
> * Send yourself some new e-mails.
> * Connect back.
> * Ensure that Unity Mail displays the new e-mails in no longer than one
> minute.
>
> == Development fix ==
> Fixed in 1.2.3.
>
> ProblemType: Crash
> DistroRelease: Ubuntu 13.04
> Package: unity-mail 1.2.2
> ProcVersionSignature: Ubuntu 3.7.0-3.2-lowlatency 3.7.0-rc6
> Uname: Linux 3.7.0-3-lowlatency x86_64
> ApportVersion: 2.6.2-0ubuntu5
> Architecture: amd64
> Date: Thu Nov 29 17:15:39 2012
> ExecutablePath: /usr/share/unity-mail/unity-mail
> InterpreterPath: /usr/bin/python3.3
> MarkForUpload: True
> PackageArchitecture: all
> ProcCmdline: /usr/bin/python3 /usr/bin/unity-mail
> ProcEnviron:
>  PATH=(custom, no user)
>  XDG_RUNTIME_DIR=<set>
>  LANG=en_US.UTF-8
>  SHELL=/bin/bash
> PythonArgs: ['/usr/bin/unity-mail']
> SourcePackage: unity-mail
> Title: unity-mail crashed with UnityMail.application.TimeoutException in
> raise_error(): Timeout error
> UpgradeStatus: Upgraded to raring on 2012-06-14 (168 days ago)
> UserGroups: adm cdrom dip lpadmin nopasswdlogin plugdev sambashare sudo
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/unity-mail/+bug/1084882/+subscriptions
>

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

Other bug subscribers

Remote bug watches

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