kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #33583
Re: spaces not allowed in SCH library nicknames
Seth,
I finally got around to testing this patch and I'm getting a cache
library load error when I add a symbol from a library nickname with a
space. I manually edited my sym-lib-table file and modified a library
nickname with space then added a symbol to a schematic. I saved the
schematic, closed KiCad, reran KiCad, and then opened the schematic to
get the cache error message. The schematic loads correctly but the
library does not so this needs to be corrected before I can merge this
patch.
Cheers,
Wayne
On 1/26/2018 3:00 PM, Seth Hillbrand wrote:
> Wayne-
>
> Would you object to a patch like the attached? It reads the name line
> in reverse order, allowing spaces in the component name. If this is an
> acceptable approach, I'll make the other required internal changes.
>
> -Seth
>
> 2018-01-26 10:22 GMT-08:00 Tomasz Wlostowski <tomasz.wlostowski@xxxxxxx
> <mailto:tomasz.wlostowski@xxxxxxx>>:
>
> On 26/01/18 19:18, Wayne Stambaugh wrote:
> > On 1/26/2018 1:01 PM, Tomasz Wlostowski wrote:
> >> Hi all,
> >>
> >> Why are space characters not allowed in the SCH library nicknames, but
> >> are OK for the FP libraries? Is this an overlook on SCH/PCB side?
> >>
> >> I'd like to disable the space check in eeschema, it's very annoying if
> >> the library file names contain spaces.
> >>
> >> Regards,
> >> Tom
> >
> > For the same reason you can have spaces in symbol names, library symbol
> > names are not quoted in the schematic file format. If you can figure
> > out a way to fix this without changing the schematic file format and
> > breaking anything, then I'm ok with that. The new schematic file format
> > will use quoted strings for symbol library links (which will only be for
> > reverting or updating since symbols will be embedded in the schematic)
> > so I will remove this restriction once the new file formats are in play.
> >
>
> Hi Wayne,
>
> Now I understand the reason for not allowing spaces. What about the
> slashes?
>
> Tom
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> <https://launchpad.net/~kicad-developers>
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~kicad-developers
> <https://launchpad.net/~kicad-developers>
> More help : https://help.launchpad.net/ListHelp
> <https://help.launchpad.net/ListHelp>
>
>
References