Skip to content

Error when trying to download some 2011 receipts from Xavier Becerra's congressional campaign committeee #18

Description

@jeremiak

Here's a bug report, but please let me know if you would prefer it in a different format.

I am reliably getting an error when I try to use libfec to download filing FEC-735551 (Xavier Becerra's Congressional committee's 2011 July Quarterly filing).

When I run the following (which I adopted from the Exporting to CSV example):

RUST_BACKTRACE=full libfec export FEC-735551 --target receipts --output FEC-735551.db

I get:

Exporting filings to SQLite database at "FEC-735551.db"
Error fetching filing: `Unsupported version '7.0', only 8.0-8.5 are currently supported.`

Stack backtrace:
   0: std::backtrace::Backtrace::create
   1: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from
   2: fec_parser::Filing<R>::from_reader
   3: libfec::sourcer::resolve_from_path
   4: <libfec::sourcer::IterFilingsX as core::iter::traits::iterator::Iterator>::next
   5: libfec::commands::export::sqlite::cmd_export_sqlite
   6: libfec::commands::export::export
   7: libfec::main
   8: std::sys::backtrace::__rust_begin_short_backtrace
   9: std::rt::lang_start::{{closure}}
  10: std::rt::lang_start_internal
  11: _main
1/1 filings ██████████████████████████████ [00:00:00]                           
thread 'main' (14503035) panicked at crates/fec-cli/src/commands/export/sqlite/mod.rs:614:21:
not yet implemented
stack backtrace:
   0:        0x1053800cc - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hbeea7a819b623c65
   1:        0x104df5818 - core::fmt::write::hedd53bdb9e87b4cf
   2:        0x1053559e0 - std::io::Write::write_fmt::hdd87f23e14dc5d26
   3:        0x105361c9c - std::panicking::default_hook::{{closure}}::hb13fd44d9edf00c4
   4:        0x105361b6c - std::panicking::default_hook::h3b3b0d3cdb46d087
   5:        0x105362088 - std::panicking::panic_with_hook::h657ee82e431041f8
   6:        0x105361d6c - std::panicking::panic_handler::{{closure}}::hd0ef6f87b4fd1427
   7:        0x10535ec48 - std::sys::backtrace::__rust_end_short_backtrace::hbd8bf96e4ee54567
   8:        0x10534d768 - __rustc[16f1505adc47261a]::rust_begin_unwind
   9:        0x10562d69c - core::panicking::panic_fmt::ha09fb24313daf262
  10:        0x10562d674 - core::panicking::panic::hb152b149bd05e810
  11:        0x10518053c - libfec::commands::export::sqlite::cmd_export_sqlite::hdf92e1f18c0d61d1
  12:        0x104ff4740 - libfec::commands::export::export::ha6522b93bf59a7d5
  13:        0x1050273fc - libfec::main::h8a6f0d4905967d81
  14:        0x105157348 - std::sys::backtrace::__rust_begin_short_backtrace::h97db5227db9e2b5c
  15:        0x1050ad4c4 - std::rt::lang_start::{{closure}}::h6df9db3f93ed1aef
  16:        0x105356fb8 - std::rt::lang_start_internal::h11fc0900699d88c7
  17:        0x1050615fc - _main

I get the same error when I try to use the same command to download FEC-724044 (same Becerra committee's April 2011 quarterly report) or FEC-730059 (amendment to that April 2011 quarterly filing). However, I am able to download all of the other filings from Becerra's committee including the October 2011 quarterly filing.

From what I can tell, this might be related to #1.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions