Keep getting an "invalid character’ error from the footprint editor in pcbnew.
I have no idea what this means, I’ve doubled checked the file name, *REF and value and cant find anything wrong.
I cant save my footprint because of this error, I need to make this go away.
Please give us more details. We can not look at your pc.
What exactly did you call your footprint.
Can you make a screenshot of the dialog that pops for choosing the name.
Can you make a screenshot of the footprint settings. (make sure that we can read what the field footprint name in library contains.)
Drag and drop should work. Open the file browser and simply drag it into the edit field.
Or use the upload button.
(New users can only post one picture per post.)
I had a similar problem adding 3d models, even after deleting the 3d path, it seems to get stuck with an invalid path somewhere. I can’t remember how I got round it, I suspect it’s a bug. What version are you running?
Can you try it without the space to rule it out definitely?
This should not take long, but if it is the problem it will be faster than searching for another non existing problem.
By the way it might work under your operating system. This restrictions are there such that your design is portable to other operating systems. So i would remove the space anyways just to be sure.
Strange enough removing the space in “My Connectors” seems to work.
But I’m afraid it might screw things up in the future since the file name has changed.
Looking at the source code, the only place that error is generated is on the module name. If it worked before, maybe it was a different version. I think that error is checked for only when you try to save a module, but ‘space’ might work ok when loading the modules.
But as of now, the characters in that error message are not allowed in module name. It’s a pain, but you will need to rename all references to that library
Well, there is somewhere a function that allows spaces and a function that doesn’t: this is the reason there is a bug.
I created a library with a whitespace, loaded to the fp-lib-table and everything went OK.
Then I edited a footprint and save it to that library. OK.
The only place I had a problem, solved deleting the library name under “Footprint Name in Library” was in the properties menu.
Furthermore, the problem persisted with a library name with no whitespaces at all!!
Yes, I think the rules are not applied consistently, pretty confusing!
I’m not sure why “space” was excluded, it can cause applications problems particularly on the command line, but is not actually an illegal character for a filename (allowed in Windows, Linux), unlike say ‘\’ or ‘/’.
I wouldn’t mind either way, I usually avoid “space” (old habits). I guess we kick the problem over to the Committee on User Interface Standards (meets once yearly at the Dog and Onion).