Bug 1554741

Summary: ModuleNotFoundError: No module named 'powerline.bindings.ipython.post_0_11'
Product: [Fedora] Fedora Reporter: Nicolas KAROLAK <nicolas>
Component: powerlineAssignee: Mike Goodwin <mike>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 27CC: asn, mike
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: powerline-2.6-7.fc27 powerline-2.6-7.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-26 17:44:02 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 Nicolas KAROLAK 2018-03-13 09:32:39 UTC
Description of problem:
When trying to configure ipython to use powerline (https://powerline.readthedocs.io/en/master/usage/other.html#ipython-prompt) i get an error at each launch of ipython saying that there is no modul "post_0_11".

I see that this is because these files are moved in /usr/share (https://src.fedoraproject.org/rpms/powerline/blob/master/f/powerline.spec#_147).

This have been discussed here: https://github.com/powerline/powerline/issues/1810

Version-Release number of selected component (if applicable):
Version      : 2.6
Révision     : 4.fc27

How reproducible:
Just launch ipython with powerline configured.

Steps to Reproduce:
1. Configure ipython to use powerline, by adding into ".ipython/profile_default/ipython_config.py":
```
from powerline.bindings.ipython.since_5 import PowerlinePrompts
c = get_config()
c.TerminalInteractiveShell.simple_prompt = False
c.TerminalInteractiveShell.prompts_class = PowerlinePrompts
```
2. Launch "ipython"

Actual results:


Expected results:


Additional info:

Comment 1 Fedora Update System 2018-03-13 18:03:08 UTC
powerline-2.6-7.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-ad11252bde

Comment 2 Fedora Update System 2018-03-13 18:12:13 UTC
powerline-2.6-7.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-d6a558d13b

Comment 3 Fedora Update System 2018-03-14 18:05:15 UTC
powerline-2.6-7.fc28 has been pushed to the Fedora 28 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-2018-ad11252bde

Comment 4 Fedora Update System 2018-03-14 20:44:00 UTC
powerline-2.6-7.fc27 has been pushed to the Fedora 27 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-2018-d6a558d13b

Comment 5 Fedora Update System 2018-03-26 17:44:02 UTC
powerline-2.6-7.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2018-03-30 12:53:05 UTC
powerline-2.6-7.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.