Bug 628742

Summary: [abrt] ipython-0.10-6.fc13: PyColorize.py:281:main:IOError: [Errno 2] No such file or directory: 'HI'
Product: [Fedora] Fedora Reporter: Ameya Gore <ameya.gore>
Component: ipythonAssignee: Thomas Spura <tomspur>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: bkearney, shahms, tomspur
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard: abrt_hash:bbe1893b
Fixed In Version: ipython-0.10.1-3.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-09 01:24:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace none

Description Ameya Gore 2010-08-30 22:09:32 UTC
abrt version: 1.1.13
architecture: i686
cmdline: /usr/bin/python /usr/bin/pycolor HI
component: ipython
executable: /usr/bin/pycolor
kernel: 2.6.33.8-149.fc13.i686.PAE
package: ipython-0.10-6.fc13
reason: PyColorize.py:281:main:IOError: [Errno 2] No such file or directory: 'HI'
release: Fedora release 13 (Goddard)
time: 1283206075
uid: 500

backtrace
-----
PyColorize.py:281:main:IOError: [Errno 2] No such file or directory: 'HI'

Traceback (most recent call last):
  File "/usr/bin/pycolor", line 6, in <module>
    IPython.PyColorize.main()
  File "/usr/lib/python2.6/site-packages/IPython/PyColorize.py", line 281, in main
    stream = file(fname)
IOError: [Errno 2] No such file or directory: 'HI'

Local variables in innermost frame:
parser: <optparse.OptionParser instance at 0x84331ac>
usage_msg: '%prog [options] [filename]\n\nColorize a python file or stdin using ANSI color escapes and print to stdout.\nIf no filename is given, or if filename is -, read standard input.'
args: ['HI']
argv: None
fname: 'HI'
opts: <Values at 0x85c6d6c: {'scheme_name': 'Linux'}>
newopt: <bound method OptionParser.add_option of <optparse.OptionParser instance at 0x84331ac>>

comment
-----
$man pycolor
$pycolor
ctrl-c
$pycolor "HI"

How to reproduce
-----
1. $pycolor "HI"
2.
3.

Comment 1 Ameya Gore 2010-08-30 22:09:34 UTC
Created an attachment (id=442046)
File: backtrace

Comment 2 Thomas Spura 2010-08-31 12:15:46 UTC
Thanks for the bug report.

This is now fixed at github and waiting for inclusion upstream at:
http://github.com/tomspur/ipython/commit/3323d576db9f982be1ef6d66f7b9e0d0d6fef7db

I'll backport the fix soon for f13.

New output in your example:
$ pycolor "HI"
[Errno 2] No such file or directory: 'HI'

Comment 3 Fedora Update System 2010-08-31 13:08:38 UTC
ipython-0.10-8.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/ipython-0.10-8.fc14

Comment 4 Fedora Update System 2010-08-31 13:26:27 UTC
ipython-0.10-8.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/ipython-0.10-8.fc13

Comment 5 Fedora Update System 2010-09-01 03:24:39 UTC
ipython-0.10-8.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update ipython'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/ipython-0.10-8.fc13

Comment 6 Fedora Update System 2010-09-08 04:39:24 UTC
ipython-0.10-8.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2010-09-09 01:24:46 UTC
ipython-0.10-8.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2010-11-15 02:29:46 UTC
ipython-0.10.1-3.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/ipython-0.10.1-3.fc14

Comment 9 Fedora Update System 2010-11-15 02:38:15 UTC
ipython-0.10.1-3.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/ipython-0.10.1-3.fc13

Comment 10 Fedora Update System 2010-11-23 21:49:04 UTC
ipython-0.10.1-3.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2010-11-23 21:59:54 UTC
ipython-0.10.1-3.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.