Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Representing inches with a quote mark causes causes import error #58

Closed
RobertHorst opened this issue Jul 22, 2020 · 5 comments
Closed

Comments

@RobertHorst
Copy link

Some part descriptions represent inches with a double quote (e.g. 0.91" OLED). When this is imported back to KiCAD, attempting to open the schematic causes an error. The schematic can be opened only after using a text editor to remove the quote from the .sch file. Single quotes likely have the same problem.

Best would be to escape single and double quotes.

If that is difficult or causes other problems, it would be OK to give an error message and refuse to import data with quotes in the data fields.

@xesscorp
Copy link
Collaborator

I pushed a new commit to the development branch that may fix this issue. You can install it with

pip install git+https://github.com/xesscorp/KiField@development

Let me know if this works for you. If not, please send me some files that illustrate the problem.

@RobertHorst
Copy link
Author

RobertHorst commented Jul 25, 2020 via email

@xesscorp
Copy link
Collaborator

I didn't get any attached files, but I was able to recreate your problem. Go ahead and try the latest version in the development branch.

@RobertHorst
Copy link
Author

RobertHorst commented Jul 26, 2020 via email

@xesscorp
Copy link
Collaborator

Sounds good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants