ODB++ export result occurs error with setting unit "Inches"

Description

  • When exporting ODB++ of KiCad demo project with choosing unit as "Inches", ODB++ Viewer 2409 loaded failed the outputs with error info as below.
  • The error does not happen when choosing "MM".

image

Steps to reproduce

  1. Open ODB++ Export dialog
  2. Choose "Inches", click "Export".

image

KiCad Version

Application: KiCad PCB Editor x64 on x64

Version: 8.99.0-3429-g23db557317-dirty, debug build

Libraries:
	wxWidgets 3.2.6
	FreeType 2.13.3
	HarfBuzz 10.0.1
	FontConfig 2.15.0

Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW
OpenGL: Intel, Intel(R) UHD Graphics 630, 4.6.0 - Build 30.0.101.1273

	wxWidgets: 3.2.6 (wchar_t,wx containers)
	Boost: 1.86.0
	OCC: 7.8.1
	Curl: 8.10.1-DEV
	ngspice: 43
	Compiler: Visual C++ 1942 without C++ ABI

Build settings:
	KICAD_IPC_API=ON
	KICAD_STDLIB_DEBUG=OFF
	KICAD_STDLIB_LIGHT_DEBUG=OFF
	KICAD_SANITIZE_ADDRESS=OFF
	KICAD_SANITIZE_THREADS=OFF

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