Bug 895722 - SerialException doesn't provide errno
Summary: SerialException doesn't provide errno
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: pyserial
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Paul P Komkoff Jr
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-15 20:52 UTC by Miro Hrončok
Modified: 2013-12-21 12:03 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-12-21 12:03:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch to correct this behaviour (671 bytes, application/octet-stream)
2013-01-15 20:52 UTC, Miro Hrončok
no flags Details

Description Miro Hrončok 2013-01-15 20:52:03 UTC
Created attachment 679057 [details]
Patch to correct this behaviour

Description of problem:
SerialException inherits from IOError but deosn't provide errno.


How reproducible:
Allways

Steps to Reproduce:

from serial import Serial, SerialException
try:
    Serial(port = "moo", baudrate = 1, timeout = 0.25)
except SerialException as e:
    print e
    print e.errno
  
Actual results:
could not open port moo: [Errno 2] No such file or directory: 'moo'
None

Expected results:
could not open port moo: [Errno 2] No such file or directory: 'moo'
2

Additional info: I've filled this to upstream tracker:
http://sourceforge.net/tracker/?func=detail&aid=3600845&group_id=46487&atid=446302

Comment 1 Fedora End Of Life 2013-12-21 10:24:11 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.


Note You need to log in before you can comment on or make changes to this bug.