Closed rschwager closed 1 hour ago
When running the script, I received a Division by Zero error. Here's the stack trace.
$ imessage-exporter -f html -c compatible -p ./00008101-001E08180CFA001E -a iOS -o ~/iphone-backup_export Building cache... [1/4] Caching chats... [2/4] Caching chatrooms... [3/4] Caching participants... [4/4] Caching tapbacks... Cache built! Estimated export size: 31.42 GB Exporting to /Users/rschwager/iphone-backup_export as html... ⠂ [0s] [>-------------------] 11,880/260,062 (26,796.7629/s, ETA: 9s) Attachment not found at specified path: "./00008101-001E08180CFA001E/fd/fdd9f4ccb4bb83eb5be0a01f500e73a260ee373f" Attachment not found at specified path: "./00008101-001E08180CFA001E/3b/3bf4e7294c5fd4250311592a51766abda1425dab" ⠄ [19s] [#>------------------] 22,671/260,062 (1,106.7204/s, ETA: 4m) Attachment not found at specified path: "./00008101-001E08180CFA001E/1e/1e1268d008d1e1cb52deba652f4f3cc1556deeaf" Attachment not found at specified path: "./00008101-001E08180CFA001E/65/652d6eb3145e39e3013b6ef4254ee88229ed4732" ⠖ [23s] [#>------------------] 25,047/260,062 (832.7403/s, ETA: 5m) Attachment not found at specified path: "./00008101-001E08180CFA001E/fa/fa6236114097a7545570bfb894a73690b29293f1" ⠋ [27s] [##>-----------------] 27,522/260,062 (727.6322/s, ETA: 5m) Attachment not found at specified path: "./00008101-001E08180CFA001E/76/76e9d29a563cf2819794aaa46b80a75752ee2699" Attachment not found at specified path: "./00008101-001E08180CFA001E/76/76e9d29a563cf2819794aaa46b80a75752ee2699" Attachment not found at specified path: "./00008101-001E08180CFA001E/76/76e9d29a563cf2819794aaa46b80a75752ee2699" Attachment not found at specified path: "./00008101-001E08180CFA001E/76/76e9d29a563cf2819794aaa46b80a75752ee2699" ⠤ [31s] [##>-----------------] 33,066/260,062 (772.3421/s, ETA: 5m) Attachment not found at specified path: "./00008101-001E08180CFA001E/1c/1c195bbb9e7d1601496a4bfec2e179ad3a0c9ada" ⠐ [32s] [##>-----------------] 33,561/260,062 (785.0808/s, ETA: 5m) thread 'main' panicked at imessage-database/src/message_types/handwriting/models.rs:215:5: attempt to divide by zero stack backtrace: 0: 0x1050af350 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h14dcb4794e811c9f 1: 0x104fca914 - core::fmt::write::h49a9cf68bfb4a321 2: 0x1050b3178 - std::io::Write::write_fmt::h00e4f1b82d71ad85 3: 0x10509dcd8 - std::panicking::default_hook::{{closure}}::hda52b8046522f561 4: 0x10509d8a0 - std::panicking::default_hook::h9566cb73367aef3e 5: 0x10509f25c - std::panicking::rust_panic_with_hook::hfa41181adbcf532d 6: 0x1050b1bf4 - std::panicking::begin_panic_handler::{{closure}}::ha417e66bf9de7acf 7: 0x1050b1b90 - std::sys::backtrace::__rust_end_short_backtrace::hc7b890f013fa9efb 8: 0x10509e0f8 - _rust_begin_unwind 9: 0x105225720 - core::panicking::panic_fmt::h29609029db4d41f4 10: 0x1052259e0 - core::panicking::panic_const::panic_const_div_by_zero::h5cf9d62e3dc82604 11: 0x105003814 - <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter::h71dc948b0c5b49bd 12: 0x104fdf064 - imessage_database::message_types::handwriting::models::HandwrittenMessage::from_payload::h1894738c65c8ef8c 13: 0x104f82684 - <imessage_exporter::exporters::html::HTML as imessage_exporter::exporters::exporter::Writer>::format_message::hf3f0dfbfe29c1e62 14: 0x104f80810 - <imessage_exporter::exporters::html::HTML as imessage_exporter::exporters::exporter::Exporter>::iter_messages::hf62db04cdaca232b 15: 0x10501af78 - imessage_exporter::app::runtime::Config::start::h27ffcedf4acece28 16: 0x105025384 - imessage_exporter::main::h3732f55fc6a3f71d zsh: abort imessage-exporter -f html -c compatible -p ./00008101-001E08180CFA001E -a iOS
I apologize. This looks like a duplicate of issue #360.
No problem, thank you for the report. I may push out a point release for this if it is more widespread.
When running the script, I received a Division by Zero error. Here's the stack trace.