Bug 1265483 - readline support doesn't work if cwd is non-existing
readline support doesn't work if cwd is non-existing
Product: Fedora
Classification: Fedora
Component: python3 (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Charalampos Stratakis
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2015-09-23 00:37 EDT by Christopher Meng
Modified: 2016-08-31 07:15 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-08-31 07:15:48 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Python 22834 None None None Never

  None (edit)
Description Christopher Meng 2015-09-23 00:37:22 EDT

I can't move up down left right in python3 console sometimes:

$ python3
Python 3.4.3 (default, Aug 12 2015, 12:27:38) 
[GCC 5.1.1 20150618 (Red Hat 5.1.1-4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
Failed calling sys.__interactivehook__
Traceback (most recent call last):
  File "/usr/lib/python3.4/site.py", line 395, in register_readline
    import readline
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2222, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 2164, in _find_spec
  File "<frozen importlib._bootstrap>", line 1940, in find_spec
  File "<frozen importlib._bootstrap>", line 1911, in _get_spec
  File "<frozen importlib._bootstrap>", line 1879, in _path_importer_cache
FileNotFoundError: [Errno 2] No such file or directory

Thanks in advance.
Comment 1 Christopher Meng 2015-09-23 00:43:56 EDT
Ok, possible a bug I just found.

After doing a search on python bugzilla, I found it had been fixed. It'd better to upgrade to 3.5, or check out the fix then patch the 3.4 in repo.
Comment 2 Fedora Admin XMLRPC Client 2016-01-29 08:07:17 EST
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.
Comment 3 Jan Kurik 2016-02-24 08:47:00 EST
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
Comment 4 Charalampos Stratakis 2016-08-31 07:15:48 EDT
This has been fixed in Python 3.5 which is included in Fedora 24.

Note You need to log in before you can comment on or make changes to this bug.