Skip to content

Error when trying to download data for California House races in 2026 #19

Description

@jeremiak

I get an error related to #1 when I try to download the data for 2026 California House campaigns into a SQLite database, which I've included below.

The command is libfec export --election 2026 --form-type F3 --office H --state CA -o fec.db and it worked as recently as May 29, 2026.

RUST_BACKTRACE=full libfec export --election 2026 --form-type F3 --office H --state CA -o fec.db
✓ Cached 0 filing(s) (0 B), skipped 4949 already cached                         Exporting filings to SQLite database at "fec.db"                                Error fetching filing: `Unsupported version '6.4', 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
372/4949 filings ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░ [00:00:02]                      
thread 'main' (2826165) panicked at crates/fec-cli/src/commands/export/sqlite/mod.rs:614:21:
not yet implemented
stack backtrace:
   0:        0x100c180cc - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hbeea7a819b623c65
   1:        0x10068d818 - core::fmt::write::hedd53bdb9e87b4cf
   2:        0x100bed9e0 - std::io::Write::write_fmt::hdd87f23e14dc5d26
   3:        0x100bf9c9c - std::panicking::default_hook::{{closure}}::hb13fd44d9edf00c4
   4:        0x100bf9b6c - std::panicking::default_hook::h3b3b0d3cdb46d087
   5:        0x100bfa088 - std::panicking::panic_with_hook::h657ee82e431041f8
   6:        0x100bf9d6c - std::panicking::panic_handler::{{closure}}::hd0ef6f87b4fd1427
   7:        0x100bf6c48 - std::sys::backtrace::__rust_end_short_backtrace::hbd8bf96e4ee54567
   8:        0x100be5768 - __rustc[16f1505adc47261a]::rust_begin_unwind
   9:        0x100ec569c - core::panicking::panic_fmt::ha09fb24313daf262
  10:        0x100ec5674 - core::panicking::panic::hb152b149bd05e810
  11:        0x100a1853c - libfec::commands::export::sqlite::cmd_export_sqlite::hdf92e1f18c0d61d1
  12:        0x10088c740 - libfec::commands::export::export::ha6522b93bf59a7d5
  13:        0x1008bf3fc - libfec::main::h8a6f0d4905967d81
  14:        0x1009ef348 - std::sys::backtrace::__rust_begin_short_backtrace::h97db5227db9e2b5c
  15:        0x1009454c4 - std::rt::lang_start::{{closure}}::h6df9db3f93ed1aef
  16:        0x100beefb8 - std::rt::lang_start_internal::h11fc0900699d88c7
  17:        0x1008f95fc - _main

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