You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to parse this file crashes with a Stream Length should be an integer error. It seems to be caused by the figure included using the LaTeX svg package.
Here's the full stack trace:
thread 'main' panicked at 'StreamLength should be an integer.',libcore/option.rs:914:5
stack backtrace:0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
at libstd/sys/unix/backtrace/tracing/gcc_s.rs:491: std::sys_common::backtrace::print
at libstd/sys_common/backtrace.rs:71
at libstd/sys_common/backtrace.rs:592: std::panicking::default_hook::{{closure}}
at libstd/panicking.rs:2053: std::panicking::default_hook
at libstd/panicking.rs:2214: <std::panicking::begin_panic::PanicPayload<A> as core::panic::BoxMeUp>::get
at libstd/panicking.rs:4575: std::panicking::try::do_call
at libstd/panicking.rs:3446: std::panicking::try::do_call
at libstd/panicking.rs:3227: <&'a Tas core::fmt::Display>::fmt
at libcore/panicking.rs:718: core::ptr::drop_in_place
at libcore/option.rs:9149: alloc::raw_vec::alloc_guard
at /Users/travis/build/rust-lang/rust/src/libcore/option.rs:30210: lopdf::parser::stream::{{closure}}
at /Users/ek/.cargo/registry/src/github.com-1ecc6299db9ec823/lopdf-0.15.1/src/parser.rs:11411: <pdf_word_count::WordCountas core::default::Default>::default
at /Users/ek/.cargo/registry/src/github.com-1ecc6299db9ec823/pom-1.1.0/src/parser.rs:50112: lopdf::encodings::bytes_to_string::{{closure}}
at /Users/travis/build/rust-lang/rust/src/libcore/result.rs:62113: <pdf_word_count::WordCountas core::default::Default>::default
at /Users/ek/.cargo/registry/src/github.com-1ecc6299db9ec823/pom-1.1.0/src/parser.rs:50114: <pdf_word_count::WordCountas core::default::Default>::default
at /Users/ek/.cargo/registry/src/github.com-1ecc6299db9ec823/pom-1.1.0/src/parser.rs:2315: <pdf_word_count::WordCountas core::default::Default>::default
at /Users/ek/.cargo/registry/src/github.com-1ecc6299db9ec823/pom-1.1.0/src/parser.rs:3416: <pdf_word_count::WordCountas core::default::Default>::default
at /Users/ek/.cargo/registry/src/github.com-1ecc6299db9ec823/pom-1.1.0/src/parser.rs:2317: <pdf_word_count::WordCountas core::default::Default>::default
at /Users/ek/.cargo/registry/src/github.com-1ecc6299db9ec823/pom-1.1.0/src/parser.rs:52018: <pdf_word_count::WordCountas core::default::Default>::default
at /Users/ek/.cargo/registry/src/github.com-1ecc6299db9ec823/pom-1.1.0/src/parser.rs:2319: <pdf_word_count::WordCountas core::default::Default>::default
at /Users/ek/.cargo/registry/src/github.com-1ecc6299db9ec823/pom-1.1.0/src/parser.rs:51620: <pdf_word_count::WordCountas core::default::Default>::default
at /Users/ek/.cargo/registry/src/github.com-1ecc6299db9ec823/pom-1.1.0/src/parser.rs:2321: <pdf_word_count::WordCountas core::default::Default>::default
at /Users/ek/.cargo/registry/src/github.com-1ecc6299db9ec823/pom-1.1.0/src/parser.rs:46922: <pdf_word_count::WordCountas core::default::Default>::default
at /Users/ek/.cargo/registry/src/github.com-1ecc6299db9ec823/pom-1.1.0/src/parser.rs:2323: <pdf_word_count::WordCountas core::default::Default>::default
at /Users/ek/.cargo/registry/src/github.com-1ecc6299db9ec823/pom-1.1.0/src/parser.rs:45324: lopdf::encodings::bytes_to_string::{{closure}}
at /Users/travis/build/rust-lang/rust/src/libcore/result.rs:62125: <pdf_word_count::WordCountas core::default::Default>::default
at /Users/ek/.cargo/registry/src/github.com-1ecc6299db9ec823/pom-1.1.0/src/parser.rs:45326: <pdf_word_count::WordCountas core::default::Default>::default
at /Users/ek/.cargo/registry/src/github.com-1ecc6299db9ec823/pom-1.1.0/src/parser.rs:2327: <pdf_word_count::WordCountas core::default::Default>::default
at /Users/ek/.cargo/registry/src/github.com-1ecc6299db9ec823/pom-1.1.0/src/parser.rs:46928: <pdf_word_count::WordCountas core::default::Default>::default
at /Users/ek/.cargo/registry/src/github.com-1ecc6299db9ec823/pom-1.1.0/src/parser.rs:2329: <pdf_word_count::WordCountas core::default::Default>::default
at /Users/ek/.cargo/registry/src/github.com-1ecc6299db9ec823/pom-1.1.0/src/parser.rs:46930: <pdf_word_count::WordCountas core::default::Default>::default
at /Users/ek/.cargo/registry/src/github.com-1ecc6299db9ec823/pom-1.1.0/src/parser.rs:2331: <pdf_word_count::WordCountas core::default::Default>::default
at /Users/ek/.cargo/registry/src/github.com-1ecc6299db9ec823/pom-1.1.0/src/parser.rs:46932: <pdf_word_count::WordCountas core::default::Default>::default
at /Users/ek/.cargo/registry/src/github.com-1ecc6299db9ec823/pom-1.1.0/src/parser.rs:2333: lopdf::reader::Reader::read_object
at /Users/ek/.cargo/registry/src/github.com-1ecc6299db9ec823/lopdf-0.15.1/src/reader.rs:13934: <std::collections::hash::map::RandomStateas core::hash::BuildHasher>::build_hasher
at /Users/ek/.cargo/registry/src/github.com-1ecc6299db9ec823/lopdf-0.15.1/src/reader.rs:9135: lopdf::reader::<impl lopdf::document::Document>::load_internal
at /Users/ek/.cargo/registry/src/github.com-1ecc6299db9ec823/lopdf-0.15.1/src/reader.rs:3836: lopdf::reader::<impl lopdf::document::Document>::load_from
at /Users/ek/.cargo/registry/src/github.com-1ecc6299db9ec823/lopdf-0.15.1/src/reader.rs:2637: pdf_word_count::Collector::process_document
at ./src/lib.rs:2738: pdf_wc::main
at src/main.rs:2339: std::rt::lang_start::{{closure}}
at /Users/travis/build/rust-lang/rust/src/libstd/rt.rs:7440: std::panicking::try::do_call
at libstd/rt.rs:59
at libstd/panicking.rs:30441: panic_unwind::dwarf::eh::read_encoded_pointer
at libpanic_unwind/lib.rs:10542: std::sys_common::cleanup
at libstd/panicking.rs:283
at libstd/panic.rs:361
at libstd/rt.rs:5843: std::rt::lang_start
at /Users/travis/build/rust-lang/rust/src/libstd/rt.rs:7444: pdf_wc::main
The text was updated successfully, but these errors were encountered:
Trying to parse this file crashes with a
Stream Length should be an integer
error. It seems to be caused by the figure included using the LaTeX svg package.Here's the full stack trace:
The text was updated successfully, but these errors were encountered: