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

Error: Unexpected character at index 16286 #52

Closed
Weissnix4711 opened this issue Nov 4, 2023 · 7 comments
Closed

Error: Unexpected character at index 16286 #52

Weissnix4711 opened this issue Nov 4, 2023 · 7 comments
Labels
bug Something isn't working parsing An issue with the parser

Comments

@Weissnix4711
Copy link

Fails to open this project. No idea why, but it would be nice to see this working. Other projects seem to open just fine. Tried both browsers I currently have installed. Logs below.

Chromium:

Error: Unexpected character at index 16286: ·
Context: 
    (fp_text user · (at 0.275 -0.95 90) (layer F.SilkS)
    at tokenize (kicanvas.js:929:430)
    at Nn.next (<anonymous>)
    at listify_tokens (kicanvas.js:935:82)
    at Os.next (<anonymous>)
    at Function.from (<anonymous>)
    at listify_tokens (kicanvas.js:935:192)
    at Os.next (<anonymous>)
    at Function.from (<anonymous>)
    at listify_tokens (kicanvas.js:935:192)
    at Os.next (<anonymous>)
setup_project @ kicanvas.js:1783

LibreWolf:

Error: Unexpected character at index 16286: ·
Context: 
    (fp_text user · (at 0.275 -0.95 90) (layer F.SilkS)
    Nn https://kicanvas.org/kicanvas/kicanvas.js:929
    Os https://kicanvas.org/kicanvas/kicanvas.js:935
    Os https://kicanvas.org/kicanvas/kicanvas.js:935
    Os https://kicanvas.org/kicanvas/kicanvas.js:935
    Os https://kicanvas.org/kicanvas/kicanvas.js:935
    Us https://kicanvas.org/kicanvas/kicanvas.js:935
    g https://kicanvas.org/kicanvas/kicanvas.js:935
    Ve https://kicanvas.org/kicanvas/kicanvas.js:936
    #n https://kicanvas.org/kicanvas/kicanvas.js:971
kicanvas.js:1783:978
    setup_project https://kicanvas.org/kicanvas/kicanvas.js:1783
@Weissnix4711 Weissnix4711 added bug Something isn't working parsing An issue with the parser labels Nov 4, 2023
@theacodes
Copy link
Owner

Is this a KiCAD 5 project?

@Weissnix4711
Copy link
Author

Yes, I believe it is.

@Weissnix4711
Copy link
Author

Ah, I see #34 now. Is kicad 5 support planned/do you have an ETA? Purely out of interest, I'm not trying to pressure you or anything.

@theacodes
Copy link
Owner

theacodes commented Nov 4, 2023 via email

@Weissnix4711
Copy link
Author

No worries.

How hard do you think it would be to add support? Ie. Should I waste my time trying to learn about KiCAD's file formats, and understand this codebase, to try and add support myself? Or do you think I should not bother?

@theacodes
Copy link
Owner

theacodes commented Nov 4, 2023 via email

@theacodes
Copy link
Owner

Closed, duplicate of #34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working parsing An issue with the parser
Projects
None yet
Development

No branches or pull requests

2 participants