Bug 1816469

Summary: ptpython3 does not run commands
Product: [Fedora] Fedora Reporter: w247 <pkoroau+rhbz>
Component: ptpythonAssignee: Carl George 🤠 <carl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 31CC: carl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ptpython-2.0.6-1.fc32 ptpython-2.0.6-1.fc30 ptpython-2.0.6-1.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-02 00:31:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description w247 2020-03-24 04:27:31 UTC
This returns immediately and prints nothing. It should print [None] after 5 s.

    import time
    [time.sleep(5)]

The console shows:

[u1002@mf32chroot ~]$  ptpython3
>>>                                                                                                                              
>>>                                                                                                                              
>>>  


Version:
- Fedora 31, ptpython-2.0.2-3.fc31
- Fedora 32 beta, ptpython-2.0.2-6.fc32


How reproducible: always


Similar results with
- syntax errors
- echo '...' | ptpython3
- ptpython.repl.embed(locals(),globals())


The status line and the settings menu seem to work. Autocompletion and syntax highlighting work, while editing the current line.

Comment 1 Carl George 🤠 2020-03-24 18:17:47 UTC
I can reproduce this.  I verified installing via pip in a container that it is fixed in version 2.0.3 upstream.  I'll update this package to the latest 2.x.x to address this.

Comment 2 Fedora Update System 2020-03-25 01:27:47 UTC
FEDORA-2020-22e7490142 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-22e7490142

Comment 3 Fedora Update System 2020-03-25 01:27:59 UTC
FEDORA-2020-76327694dc has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-76327694dc

Comment 4 Fedora Update System 2020-03-25 21:07:12 UTC
FEDORA-2020-76327694dc has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-76327694dc`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-76327694dc

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2020-03-26 09:34:25 UTC
FEDORA-2020-1999841d0f has been pushed to the Fedora 30 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-1999841d0f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-1999841d0f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2020-03-26 16:50:37 UTC
FEDORA-2020-22e7490142 has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-22e7490142`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-22e7490142

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2020-04-02 00:31:30 UTC
FEDORA-2020-76327694dc has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2020-04-03 18:02:47 UTC
FEDORA-2020-1999841d0f has been pushed to the Fedora 30 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2020-04-03 19:15:46 UTC
FEDORA-2020-22e7490142 has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.