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

Unexpected rest #11

Open
tgross35 opened this issue Aug 12, 2023 · 0 comments
Open

Unexpected rest #11

tgross35 opened this issue Aug 12, 2023 · 0 comments

Comments

@tgross35
Copy link
Contributor

Few examples;

unsupported key for `PolyLine`: Y1=-50 (via `FromRecord` derive)
unsupported key for `PolyLine`: X2=82 (via `FromRecord` derive)
unsupported key for `PolyLine`: Y2=-60 (via `FromRecord` derive)
unsupported key for `PolyLine`: X1=82 (via `FromRecord` derive)
unsupported key for `PolyLine`: Y1=-11 (via `FromRecord` derive)
unsupported key for `PolyLine`: X2=82 (via `FromRecord` derive)
unsupported key for `PolyLine`: X1=70 (via `FromRecord` derive)
unsupported key for `PolyLine`: X2=82 (via `FromRecord` derive)
thread '<unnamed>' panicked at 'unexpected rest: [00, 00]', altium\src\sch\pin.rs:58:9

Connector.schlib

unsupported file header key Rotation15:270
unsupported file header key Rotation17:90
unsupported file header key Rotation18:90
unsupported file header key Rotation19:90
unsupported file header key Bold19:T
unsupported file header key Rotation20:180
unsupported file header key Rotation21:270
thread '<unnamed>' panicked at 'unexpected rest: [00, 00]', altium\src\sch\pin.rs:58:9
stack backtrace:
   0: std::panicking::begin_panic_handler
             at /rustc/864bdf7843e1ceabc824ed86d97006acad6af643/library\std\src\panicking.rs:617
   1: core::panicking::panic_fmt
             at /rustc/864bdf7843e1ceabc824ed86d97006acad6af643/library\core\src\panicking.rs:67
   2: altium::sch::pin::SchPin::parse
             at C:\Users\TGross\Documents\code\altium\altium\src\sch\pin.rs:58
   3: altium::sch::component::parse_all_records
             at C:\Users\TGross\Documents\code\altium\altium\src\sch\component.rs:135
   4: altium::sch::component::Component::from_buf
             at C:\Users\TGross\Documents\code\altium\altium\src\sch\component.rs:41
   5: altium::sch::schlib::SchLib<std::fs::File>::try_get_component<std::fs::File>
             at C:\Users\TGross\Documents\code\altium\altium\src\sch\schlib.rs:105
   6: altium::sch::schlib::impl$4::next<std::fs::File>
             at C:\Users\TGross\Documents\code\altium\altium\src\sch\schlib.rs:177
   7: alloc::vec::Vec<altium::sch::component::Component,alloc::alloc::Global>::extend_desugared<altium::sch::component::Component,alloc::alloc::Global,altium::sch::schlib::ComponentsIter<std::fs::File> >
             at /rustc/864bdf7843e1ceabc824ed86d97006acad6af643\library\alloc\src\vec\mod.rs:2796
   8: alloc::vec::spec_extend::impl$0::spec_extend<altium::sch::component::Component,altium::sch::schlib::ComponentsIter<std::fs::File>,alloc::alloc::Global>
             at /rustc/864bdf7843e1ceabc824ed86d97006acad6af643\library\alloc\src\vec\spec_extend.rs:17
   9: alloc::vec::spec_from_iter_nested::impl$0::from_iter<altium::sch::component::Component,altium::sch::schlib::ComponentsIter<std::fs::File> >
             at /rustc/864bdf7843e1ceabc824ed86d97006acad6af643\library\alloc\src\vec\spec_from_iter_nested.rs:43
  10: alloc::vec::spec_from_iter::impl$0::from_iter<altium::sch::component::Component,altium::sch::schlib::ComponentsIter<std::fs::File> >
             at /rustc/864bdf7843e1ceabc824ed86d97006acad6af643\library\alloc\src\vec\spec_from_iter.rs:33
  11: alloc::vec::impl$14::from_iter<altium::sch::component::Component,altium::sch::schlib::ComponentsIter<std::fs::File> >
             at /rustc/864bdf7843e1ceabc824ed86d97006acad6af643\library\alloc\src\vec\mod.rs:2696
  12: core::iter::traits::iterator::Iterator::collect<altium::sch::schlib::ComponentsIter<std::fs::File>,alloc::vec::Vec<altium::sch::component::Component,alloc::alloc::Global> >
             at /rustc/864bdf7843e1ceabc824ed86d97006acad6af643\library\core\src\iter\traits\iterator.rs:1895
  13: ecadview::backend::open_file_worker
             at .\src\backend.rs:111
  14: ecadview::backend::open_file::closure$1
             at .\src\backend.rs:95
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
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

1 participant