Skip to content

[BUG]: create_local_json.py creates invalid paths on Windows #1418

Description

@Martin-HiPi

What happened?

Hi,

I'm using Raspberry Pi Imager 2.0.3 on Windows 11 25H2. Once the os_list_local.json file is created, I run Raspberry Pi Imager ("C:\Program Files\Raspberry Pi Ltd\Imager\rpi-imager.exe" --repo "D:\Download_D\RaspberryPiLocal\os_list_local.json").
I go through the steps, and once I select "WRITE", I get "Error: Source file not found: //d"

os_list_local.json

Version

2.0.2 (Default)

What host operating system were you using?

Windows

Host OS Version

Windows 11 25H2 26200.7462

Selected OS

Raspberry Pi OS (64-bit) Trixie 2025-12-04

Which Raspberry Pi Device are you using?

Raspberry Pi 5, 500, and Compute Modules 5

What kind of storage device are you using?

microSD Card in a USB reader

OS Customisation

  • Yes, I was using OS Customisation when the bug occurred.

Relevant log output

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions