Description of problem: Just run bpython a.py Version-Release number of selected component: bpython-0.12-4.fc20 Additional info: reporter: libreport-2.1.9 cmdline: /usr/bin/python2 /usr/bin/bpython a.py executable: /usr/bin/bpython kernel: 3.11.10-301.fc20.x86_64 runlevel: N 5 type: Python uid: 0 Truncated backtrace: 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 banner=banner) 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 bpython.args.exec_code(interpreter, args) File "/usr/lib/python2.7/site-packages/bpython/args.py", line 106, in exec_code with open(args[0], '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> args: ['a.py']
Created attachment 925905 [details] File: backtrace
Created attachment 925906 [details] File: environ
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. https://admin.fedoraproject.org/updates/FEDORA-2015-0553/bpython-0.13.2-1.fc20
bpython-0.13.2-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/bpython-0.13.2-1.fc21
Package bpython-0.13.2-1.fc21: * 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: https://admin.fedoraproject.org/updates/FEDORA-2015-0920/bpython-0.13.2-1.fc21 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.