Python3.14 bug Causes crashes in DisplayCal and Virtual Machine Manager
@the-burrito
·
2026-04-24
·
via CachyOS Forum - Latest posts
I bought a new “quantum dot” LCD monitor and went to calibrate it with DisplayCal and the calibration process will work okay, but the final step in making the new .ICC profile fails: JSONEncoder.__init__() got an unexpected keyword argument 'encoding' Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/wx/core.py", line 3425, in <lambda> lambda event: event.callable(*event.args, **event.kw) ) ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/DisplayCAL/wxwindows.py", line 1383, in finish_processing state = self.get_app_state("plain") File "/usr/lib/python3.14/site-packages/DisplayCAL/wxwindows.py", line 1218, in get_app_state response = format_ui_element(win, format) File "/usr/lib/python3.14/site-packages/DisplayCAL/wxwindows.py", line 8015, in format_ui_element (child.Label and " " + demjson.encode(child.Label)), ~~~~~~~~~~~~~~^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/DisplayCAL/demjson_compat.py", line 153, in encode return json.dumps( ~~~~~~~~~~^ obj, ^^^^ ...<3 lines>... encoding=encoding or "utf-8", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/lib/python3.14/json/__init__.py", line 238, in dumps return cls( ~~~^ skipkeys=skipkeys, ensure_ascii=ensure_ascii, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ check_circular=check_circular, allow_nan=allow_nan, indent=indent, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ separators=separators, default=default, sort_keys=sort_keys, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ **kw).encode(obj) ^^^^^ TypeError: JSONEncoder.__init__() got an unexpected keyword argument 'encoding' I was going to also profile the monitor’s LED’s emission spectrum with a second spectrometer (StellarNet BlackComet) using an XP virtual machine. And again, the python3.14 issue strikes again. I can do everything to make the VM but it fails when clicking “Finish”–or when doing the manual setup clicking “Begin Installation” fails. In both cases, there is another python3.14 bug that crashes virtmanager: Unable to complete install: 'internal error: Process exited prior to exec: libvirt: error : cannot limit core file size of process 34534 to 18446744073709551615: Operation not permitted' Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/asyncjob.py", line 67, in cb_wrapper callback(asyncjob, *args, **kwargs) ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/virt-manager/virtManager/createvm.py", line 1969, in _do_async_install installer.start_install(guest, meter=meter) ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ File "/usr/share/virt-manager/virtinst/install/installer.py", line 722, in start_install domain = self._create_guest(guest, meter, initial_xml, final_xml, doboot, transient) File "/usr/share/virt-manager/virtinst/install/installer.py", line 664, in _create_guest domain = self.conn.createXML(initial_xml or final_xml, 0) File "/usr/lib/python3.14/site-packages/libvirt.py", line 4600, in createXML raise libvirtError('virDomainCreateXML() failed') libvirt.libvirtError: internal error: Process exited prior to exec: libvirt: error : cannot limit core file size of process 34534 to 18446744073709551615: Operation not permitted
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。