Feeling adventurous, I decided to upgrade my workstation to Fedora 43 pre-release. When starting vim, the following error message pops up: > ERROR:_fallback_:powerline:Failed to create renderer: Config file not found in search paths (/usr/lib/python3.14/site-packages/powerline/config_files, /home/rpmbuilder/.config/powerline): config.json Seems like the "config_files" directory is now required? This happens with: - powerline-2.8.4-15.fc43.x86_64 - vim-enhanced-2:9.1.1623-1.fc43.x86_64 - vim-powerline-2.8.4-15.fc43.noarch
I confirm the same issue after upgrading to Fedora 43 pre-release with the following traceback: raceback (most recent call last): File "/usr/bin/powerline-config", line 20, in <module> pl = config.create_powerline_logger(args) File "/usr/lib/python3.14/site-packages/powerline/bindings/config.py", line 225, in create_powerline_logger config = get_main_config(args) File "/usr/lib/python3.14/site-packages/powerline/bindings/config.py", line 221, in get_main_config return load_config('config', find_config_files, config_loader) File "/usr/lib/python3.14/site-packages/powerline/__init__.py", line 193, in load_config for path in found_files: ^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/powerline/__init__.py", line 40, in _find_config_files raise IOError('Config file not found in search paths ({0}): {1}'.format( ...<2 lines>... )) OSError: Config file not found in search paths (/usr/lib/python3.14/site-packages/powerline/config_files, /home/luya/.config/powerline): config.json Traceback (most recent call last): File "/usr/bin/powerline-config", line 20, in <module> pl = config.create_powerline_logger(args) File "/usr/lib/python3.14/site-packages/powerline/bindings/config.py", line 225, in create_powerline_logger config = get_main_config(args) File "/usr/lib/python3.14/site-packages/powerline/bindings/config.py", line 221, in get_main_config return load_config('config', find_config_files, config_loader) File "/usr/lib/python3.14/site-packages/powerline/__init__.py", line 193, in load_config for path in found_files: ^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/powerline/__init__.py", line 40, in _find_config_files raise IOError('Config file not found in search paths ({0}): {1}'.format( ...<2 lines>... )) OSError: Config file not found in search paths (/usr/lib/python3.14/site-packages/powerline/config_files, /home/luya/.config/powerline): config.json
Me too. :-) The work around, since I do not have any local changes to the configuration is to call: $ ln -s /etc/xdg/powerline ~/.config/ So I make a link to the global configuration from my local config and now all works again. So this is a just shortcut while the original bug is not fixed.
`pkgdiff` helped me track down the root cause of this regression. It was introduced during the %pyproject migration by commit https://src.fedoraproject.org/rpms/powerline/c/814ecb0a725e4b778c018bc58833e649e784b237: the `sed calls` that modify `powerline/config.py` should have been moved from the %install section to %build. A fix is under way.
FEDORA-2025-da0c7fcdf6 (powerline-2.8.4-16.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2025-da0c7fcdf6
FEDORA-2025-da0c7fcdf6 has been pushed to the Fedora 43 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-da0c7fcdf6` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-da0c7fcdf6 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-da0c7fcdf6 (powerline-2.8.4-16.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report.