jnthbdn / rs-gerber2svg

Simple lib to convert gerber file to SVG elements
3 stars 0 forks source link

stream did not contain valid UTF-8 #1

Open LimesKey opened 3 months ago

LimesKey commented 3 months ago

I've compiled the program and I'm using a gerber zip file generated from KiCad and I get

thread 'main' panicked at /home/ryan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gerber_parser-0.1.2/src/parser.rs:31:28:
called `Result::unwrap()` on an `Err` value: Error { kind: InvalidData, message: "stream did not contain valid UTF-8" }

extruderevolved.zip I've attached the example gerber file I used

jnthbdn commented 3 months ago

Hello,

Sorry for the delay. Can you post the command you used?

The problem seems to come from the gerber_parser library.