Closed Mabroukiimen closed 7 months ago
Hi,
This is an error which python 3.11 started producing. It’s from the dataclass, they no longer allow default values of mutable types. The usual answer is to make the field immutable (if it is a dataclass adding frozen=True)
On Fri, 16 Feb 2024 at 05:01, Imen Mabrouki @.***> wrote:
I am trying to perform calibration on 8 cameras and this is the way I write the command: multical calibrate --cameras C11139,C11140,C11141,C11458,C11459,C11461,C11462,C11463 with : C11139,C11140,C11141,C11458,C11459,C11461,C11462,C11463 are the name of my 8 cameras but it gives me this error: ValueError: mutable default <class 'multical.config.arguments.PathOpts'> for field paths is not allowed: use default_factory Can someone please confirm how to write the command (what's to replace and what's not ? )
Thank you in advance!!
— Reply to this email directly, view it on GitHub https://github.com/oliver-batchelor/multical/issues/63, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAITRZNLH235AZCMS7R27T3YTYWMHAVCNFSM6AAAAABDKQTOIKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEZTMOJQGI4DANA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hello, I understand, thank you so much for the quick response and the excellent work!
I am trying to perform calibration on 8 cameras and this is the way I write the command: multical calibrate --cameras C11139,C11140,C11141,C11458,C11459,C11461,C11462,C11463 with : C11139,C11140,C11141,C11458,C11459,C11461,C11462,C11463 are the name of my 8 cameras but it gives me this error: ValueError: mutable default <class 'multical.config.arguments.PathOpts'> for field paths is not allowed: use default_factory Can someone please confirm how to write the command (what's to replace and what's not ? )
Thank you in advance!!