Description of problem:
Just run bpython a.py
Version-Release number of selected component:
cmdline: /usr/bin/python2 /usr/bin/bpython a.py
runlevel: N 5
args.py:106:exec_code:IOError: [Errno 2] No such file or directory: 'a.py'
Traceback (most recent call last):
File "/usr/bin/bpython", line 9, in <module>
load_entry_point('bpython==0.12', 'console_scripts', 'bpython')()
File "/usr/lib/python2.7/site-packages/bpython/cli.py", line 1921, in main
File "/usr/lib/python2.7/site-packages/bpython/cli.py", line 1818, in curses_wrapper
return func(stdscr, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/bpython/cli.py", line 1880, in main_curses
File "/usr/lib/python2.7/site-packages/bpython/args.py", line 106, in exec_code
with open(args, 'r') as sourcefile:
IOError: [Errno 2] No such file or directory: 'a.py'
Local variables in innermost frame:
interpreter: <bpython.repl.Interpreter instance at 0x2b2fea8>
Created attachment 925905 [details]
Created attachment 925906 [details]
From my point of view,the crash is unexpected there,and a message like"No such file or directory: 'a.py'" is clear enough to tell the user what's wrong .
bpython-0.13.2-1.fc20 has been submitted as an update for Fedora 20.
bpython-0.13.2-1.fc21 has been submitted as an update for Fedora 21.
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing bpython-0.13.2-1.fc21'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
bpython-0.13.2-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
bpython-0.13.2-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.