Returned non-zero exit status 255

deleteme.zip (60.8 KB)
I have the attached PCB located in /home/myself/deleteme in a Fedora 41 system, and I am using

 $ kicad-cli-nightly --version
9.0.0

I am calling it from a Python script and I am getting subprocess.CalledProcessError: Command '['kicad-cli-nightly', 'pcb', 'render', '--output', '/home/myself/deleteme/PCB_report/data/3D/img/0.png', '--rotate', "'-45,0,22'", '--zoom', '.7', '--width', '1111', '--height', '1111', '--floor', '/home/myself/deleteme/deleteme.kicad_pcb']' returned non-zero exit status 255.. It is strange because some weeks ago it was working. The only change I can remember is upgrading Fedora from 40 to 41 after kicad-cli-nightly was installed.

When I open the PCB using the GUI:

Application: KiCad x86_64 on x86_64

Version: 9.0.0-rc1-1.20250114git21fb208.fc41, release build

Libraries:
	wxWidgets 3.2.6
	FreeType 2.13.3
	HarfBuzz 9.0.0
	FontConfig 2.15.0
	libcurl/8.9.1 OpenSSL/3.2.2 zlib/1.3.1.zlib-ng libidn2/2.3.7 nghttp2/1.62.1

Platform: Fedora Linux 41 (Workstation Edition), 64 bit, Little endian, wxGTK, X11, gnome, wayland

Build Info:
	Date: Jan 14 2025 18:16:09
	wxWidgets: 3.2.6 (wchar_t,wx containers) GTK+ 3.24
	Boost: 1.83.0
	OCC: 7.8.0
	Curl: 8.9.1
	ngspice: 44
	Compiler: GCC 14.2.1 with C++ ABI 1019
	KICAD_IPC_API=ON

Locale: 
	Lang: en_US
	Enc: UTF-8
	Num: 1,234.5
	Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)

everything looks fine, and the 3D view is correctly produced when hitting “Alt+3”.