Hello,

I experiment the exact same bug since my package update of monday 29 June 2026 (yesterday).

Powerline: 2.8.4-1
Python: 3.14.6

The fix is described in this github issue in the powerline repository:

https://github.com/powerline/powerline/issues/2280

Fixed in commit #2271: https://github.com/powerline/powerline/pull/2271/commits

The complete patch that fix the problem:
https://github.com/powerline/powerline/pull/2271/changes/9739ec502075d8053108f8ee83928f92ac64a642


I would recommend to update the package with the last git repository image that should fix the problem.


And, finally, a quick and dirty workaround in one line:

--- /usr/lib/python3/dist-packages/powerline/commands/daemon.py.orig 2026-06-30 11:14:59.797451645 +0200 +++ /usr/lib/python3/dist-packages/powerline/commands/daemon.py 2026-06-30 11:14:32.390720479 +0200
@@ -18,7 +18,7 @@
parser.add_argument('--socket', '-s', help='Specify socket which will be used for connecting to daemon.')
        exclusive_group = parser.add_mutually_exclusive_group()
exclusive_group.add_argument('--kill', '-k', action='store_true', help='Kill an already running instance.')
-       replace_group = exclusive_group.add_argument_group()
+       replace_group = parser.add_argument_group()
replace_group.add_argument('--foreground', '-f', action='store_true', help='Run in the foreground (don’t daemonize).') replace_group.add_argument('--replace', '-r', action='store_true', help='Replace an already running instance.')
        return parser

Regards
--
Emmanuel Fleury

Univ. de Bordeaux, LaBRI,   | Associate Professor,
351, Cours de la Libération | Email: [email protected]
33405 Talence Cedex, France | Web: http://www.labri.fr/~fleury

Reply via email to