Description of problem: lldb script support gives errors Version-Release number of selected component (if applicable): lldb 3.9.1 How reproducible: Always Steps to Reproduce: 1. Start lldb from command line 2. Type 'script' at the (lldb) prompt 3. Console prints a lot of errors. Actual results: Errors appear (see below) Expected results: Scripting is initialised Additional info: [peter@dell-fedora rj98]$ lldb (lldb) script Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib64/python2.7/site-packages/lldb/embedded_interpreter.py", line 24, in <module> readline.parse_and_bind('tab: complete') AttributeError: 'module' object has no attribute 'parse_and_bind' Traceback (most recent call last): File "<string>", line 1, in <module> NameError: name 'run_one_line' is not defined Traceback (most recent call last): File "<string>", line 1, in <module> NameError: name 'run_one_line' is not defined Traceback (most recent call last): File "<string>", line 1, in <module> NameError: name 'run_one_line' is not defined Traceback (most recent call last): File "<string>", line 1, in <module> NameError: name 'run_one_line' is not defined Traceback (most recent call last): File "<string>", line 1, in <module> NameError: name 'run_one_line' is not defined Traceback (most recent call last): File "<string>", line 1, in <module> NameError: name 'run_one_line' is not defined Traceback (most recent call last): File "<string>", line 1, in <module> NameError: name 'run_python_interpreter' is not defined
*** This bug has been marked as a duplicate of bug 1417371 ***
Re-opening, since bug 1417371 has other failures.
lldb-3.9.1-1.fc25.1 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-cae6181290
I would be delighted to test the update but am not sure how to. I followed the instructions and tried: sudo dnf update lldb --enable-repo=updates-testing But this says 'Nothing to do.' How can I test it?
lldb-3.9.1-1.fc25.1 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-cae6181290
OK, got it. I was missing: (1) Patience! (2) Need to upgrade python-lldb as well as lldb. That seems to have fixed my issues, thanks.
lldb-3.9.1-1.fc25.2 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-4ed6584beb
lldb-3.9.1-1.fc25.2 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-4ed6584beb
Recent update lldb-3.9.1-1.fc25.2 seems to fix this issue, however I also noticed that ^D does not cause the internal python session to exit. Not sure if this is also readline related or if it is a separate problem. Please advise.
Created attachment 1265731 [details] CTRL-D does not close the python session within lldb
lldb-3.9.1-1.fc25.2 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.