On Tue, 16 Dec 2025 10:28:34 -0800, Phil Dibowitz <[email protected]> wrote:
> On 12/15/25 2:47 AM, Eric Valette wrote:
> > On 12/14/25 22:40, Phil Dibowitz wrote:  
> >> Solaar 1.1.18 crashes now in what I believe is an incompatibility with
> >> python 3.13, which Debian sid now uses. This leads to several
> >> application crashes. Here's one:  
> > 
> > 
> > Should be something else. Works for me both X11 and wayland although 
> > there are some limitations on wayland.
> > 
> > Except the device id if have the same output for solaar show.
> 
> It may be related to #1122382 - I have a Logitech Omni receiver (is that 
> the same thing as a "bolt receiver"? I dunno).
> 
> Either way - the code in the stacktrace is handling Enum's in a way 
> that's not compatible with Py 3.3, if I'm understanding it correctly. 
>  From the docs in:
> 
> https://docs.python.org/3.13/whatsnew/3.11.html#enum
> 
> ```
> Changed Enum.__format__() (the default for format(), str.format() and 
> f-strings) to always produce the same result as Enum.__str__(): for 
> enums inheriting from ReprEnum it will be the member’s value; for all 
> other enums it will be the enum and member name (e.g. Color.RED).
> ```
> 
> Which I believe is why ":06X" fails.

This is a known issue upstream, see
https://github.com/pwr-Solaar/Solaar/issues/3074; it will be fixed in the
next release.

Regards,

Stephen

Attachment: pgpZqhi72F_Bb.pgp
Description: OpenPGP digital signature

Reply via email to