[SRU] Bug: AttributeError: 'error' object has no attribute 'errno'

Bug #1317660 reported by Barry Warsaw on 2014-05-08
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pexpect (Ubuntu)
Barry Warsaw

Bug Description

This bug has hit one user already:


The fix is in upstream 3.2 which I've uploaded to Debian, so it should show up in Utopic. I've backported the upstream patch into the Trusty branch (instead of the above merge proposal). This bug tracks the SRU request for that patch.

Related branches

Barry Warsaw (barry) on 2014-05-08
Changed in pexpect (Ubuntu):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Barry Warsaw (barry)
milestone: none → ubuntu-14.04.1
Changed in pexpect (Ubuntu Trusty):
importance: Undecided → High
status: New → Triaged
milestone: none → ubuntu-14.04.1
Barry Warsaw (barry) wrote :


pexpect-based applications which can legitimately receive signals interrupting system calls, will traceback in the pexpect library.

[Test Case]

See the attached files test.py and sleep.py. Put them in the same directory and chmod +x test.py. Then run test.py. In the unpatched Trusty package, you'll see the traceback in pexpect/__init__.py. In the patched version of the package, no bogus AttributeError traceback escapes to the top level.

[Regression Potential]

None anticipated.

Barry Warsaw (barry) wrote :
Barry Warsaw (barry) wrote :

Hello Barry, or anyone else affected,

Accepted pexpect into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/pexpect/3.1-1ubuntu0.1 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 pexpect (Ubuntu Trusty):
status: Triaged → Fix Committed
tags: added: verification-needed
Mathew Hodson (mathew-hodson) wrote :

Fixed in Trusty with python-pexpect 3.1-1ubuntu0.1

There was no traceback when I ran text.py with the proposed package installed.

tags: added: verification-done
removed: verification-needed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pexpect - 3.1-1ubuntu0.1

pexpect (3.1-1ubuntu0.1) trusty; urgency=medium

  * d/patches/pr38.patch: Backport from upstream 3.2 the patch to fix
    an AttributeError on select.error handling. (LP: #1317660)
 -- Barry Warsaw <email address hidden> Thu, 08 May 2014 17:07:35 -0400

Changed in pexpect (Ubuntu Trusty):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for pexpect 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.

Changed in pexpect (Ubuntu):
milestone: ubuntu-14.04.1 → none
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments