Footprint editor keeps giving error (invalid character)

A second test:

This time, removing the whitespace, worked, though a library with that name and no spaces didn’t exist (neither was created). But the footprint was not saved anywhere.

Only after quitting the “Footprint properties” window, I was able to save the footprint to the current library with a whitespace.

If someone can reproduce the behaviour I described, I will fill a bug report.

Hi,

I had the same problem. I copied and pasted the filename:

W:/MyProgramFiles_W/KiCad/share/kicad/modules/packages3d/Connector_Phoenix_MSTB.3dshapes/PhoenixContact_MSTBVA_2.5_4-G-5.08_1x04_P5.08mm_Vertical.wrl

Into Notepadd++ and found the fileneme exceeded 255 which is the maximum filename allowed in Windows.

Hope this helps

RJG

Whoops!! I miscounted. The line was less than 255. Sorry about that

According to Microsoft, it is 260 or approximately 32767 if using the Windows API, unless you have Win10 and enable long paths. https://docs.microsoft.com/en-us/windows/desktop/fileio/naming-a-file#maximum-path-length-limitation