Skip to content

Incorrect Slash Makes Path incorrect on Windows #516

@PeterHouseJr

Description

@PeterHouseJr

Using Windows 11, KiCad 9.x, and iBom 1.9.2 or 2.10.0, this is the path created/provided in the "Directory" input box on the PCB PlugIn UI page when opened:

Directory Input Box:
//MyServer/folder/ProjectPath\bom/

The backslash "" before the iBom folder name prevents the file from being saved and causes an error message.

Simply changing the backslash to the matching forward slash "/" corrects the problem and works.

Interesting: choosing the ellipsis "..." to browse for the path and choosing the bom folder returns with the Directory using ALL backslashes, no trailing slash, and works correctly.

Directory Input Box:
\MyServer\folder\ProjectPath\bom

More Interesting:
After creating a bom and re-openeing the dialog, the Direct Input Box now has all backslashes AND a trailing forward slash and again fails.

Directoy Input Box
\MyServer\folder\ProjectPath\bom/

Using the ellipsis button or removing the trailing forward slash, "/" again fixes the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions