[SRU] Bug: AttributeError: 'error' object has no attribute 'errno'
Bug #1317660 reported by
Barry Warsaw
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pexpect (Ubuntu) |
Fix Released
|
High
|
Barry Warsaw | ||
Trusty |
Fix Released
|
High
|
Unassigned |
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
lp:~stephane-duchesneau/ubuntu/trusty/pexpect/errno_handling_fix
Rejected
for merging
into
lp:ubuntu/trusty/pexpect
- Barry Warsaw: Pending requested
-
Diff: 2116 lines (+2073/-1)6 files modified.pc/applied-patches (+1/-0)
.pc/errno_handling_fix.patch/pexpect/__init__.py (+2051/-0)
debian/changelog (+6/-0)
debian/patches/errno_handling_fix.patch (+13/-0)
debian/patches/series (+1/-0)
pexpect/__init__.py (+1/-1)
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 |
Changed in pexpect (Ubuntu): | |
milestone: | ubuntu-14.04.1 → none |
status: | In Progress → Fix Released |
To post a comment you must log in.
[Impact]
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.