Giter VIP home page Giter VIP logo

Comments (9)

mattmartini avatar mattmartini commented on May 14, 2024

Another one:

 RUST_BACKTRACE=1 bogrep deepfake
thread 'main' panicked at 'byte index 1067 is not a char boundary; it is inside '—' (bytes 1065..1068) of `What can former U.S. president Richard Nixon possibly teach us about artificial intelligence today and the future of misinformation online? Nothing. The real Nixon died 26 years ago.But anAI-generated likeness of himshines new light on a quickly evolving t`[...]', src/cmd/search.rs:86:35
stack backtrace:
   0: _rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::str::slice_error_fail_rt
   3: core::str::slice_error_fail
   4: bogrep::cmd::search::search_bookmarks
   5: bogrep::cmd::search::search
   6: bogrep::main::{{closure}}
   7: tokio::runtime::park::CachedParkThread::block_on
   8: tokio::runtime::context::runtime::enter_runtime
   9: tokio::runtime::runtime::Runtime::block_on
  10: bogrep::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Here is the Full Backtrace:

RUST_BACKTRACE=full bogrep deepfake
thread 'main' panicked at 'byte index 1067 is not a char boundary; it is inside '—' (bytes 1065..1068) of `What can former U.S. president Richard Nixon possibly teach us about artificial intelligence today and the future of misinformation online? Nothing. The real Nixon died 26 years ago.But anAI-generated likeness of himshines new light on a quickly evolving t`[...]', src/cmd/search.rs:86:35
stack backtrace:
   0:        0x107c0a8c8 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::he69c0e17cb41f255
   1:        0x107c3590b - core::fmt::write::h66293df4c7dd941a
   2:        0x107bee206 - std::io::Write::write_fmt::h2f5a7ea5f48a0b56
   3:        0x107c0a690 - std::sys_common::backtrace::print::h71fd332624ce1826
   4:        0x107c0b6f5 - std::panicking::default_hook::{{closure}}::ha2a0e70fb3678142
   5:        0x107c0b471 - std::panicking::default_hook::hb166cd42dec7ff92
   6:        0x107c0bcb8 - std::panicking::rust_panic_with_hook::h2b924837648ff0c0
   7:        0x107c0bbf3 - std::panicking::begin_panic_handler::{{closure}}::h04e24a68d30d9f5c
   8:        0x107c0aaf9 - std::sys_common::backtrace::__rust_end_short_backtrace::hd45b5152c8265971
   9:        0x107c0b96d - _rust_begin_unwind
  10:        0x107c5d003 - core::panicking::panic_fmt::h9302663e63786640
  11:        0x107c30f22 - core::str::slice_error_fail_rt::h16947361fdce3fc4
  12:        0x107c5cee9 - core::str::slice_error_fail::hc7dbb20721e2925b
  13:        0x1077aecee - bogrep::cmd::search::search_bookmarks::he87011c56d994e70
  14:        0x1077ac0bb - bogrep::cmd::search::search::h7c9b200747f586e2
  15:        0x10775a7f0 - bogrep::main::{{closure}}::h9bf999662de91d64
  16:        0x10775a08b - tokio::runtime::park::CachedParkThread::block_on::h475f5be8938b1cdf
  17:        0x10773e2ef - tokio::runtime::context::runtime::enter_runtime::h0c39744fbd9d979e
  18:        0x107749a91 - tokio::runtime::runtime::Runtime::block_on::hcd0b6f794fbc0b1a
  19:        0x10773af7b - bogrep::main::h2c2d8feaaf0c8766
  20:        0x107728a36 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3044435b1b36dee6
  21:        0x107728a51 - std::rt::lang_start::{{closure}}::h849919968bfedf8b
  22:        0x107c0b854 - std::panicking::try::hb5cb29dbfee1dcfc
  23:        0x107bf6d6e - std::rt::lang_start_internal::h634e63ff6023f727
  24:        0x10773b05c - _main

from bogrep.

quambene avatar quambene commented on May 14, 2024

If I remember correctly this is due to the library I'm using to cache in markdown format.

Could you try to remove all markdown files in your cache and try again?

If this issue is due to the cache mode for markdown files, I will have to remove this option for caching in markdown format temporarily to maintain a stable version of bogrep.

from bogrep.

mattmartini avatar mattmartini commented on May 14, 2024

from bogrep.

mattmartini avatar mattmartini commented on May 14, 2024

There also seems to be a memory leak problem. I left the bogrep fetch --mode markdown running even though it seemed to stop processing and it ate all my memory and caused my computer to crash.

from bogrep.

quambene avatar quambene commented on May 14, 2024

I will remove markdown support temporarily in bogrep to fix that issue.

from bogrep.

quambene avatar quambene commented on May 14, 2024

Fixed on main branch by removing markdown support.

FYI, main branch includes changes for the config path on macOS: https://github.com/quambene/bogrep#supported-operating-systems

from bogrep.

mattmartini avatar mattmartini commented on May 14, 2024

Will you bring back markdown support? For the brief time it was working, it had nice output.

from bogrep.

quambene avatar quambene commented on May 14, 2024

It might be fixed already by filtering out the binary responses. will check later

from bogrep.

quambene avatar quambene commented on May 14, 2024

@mattmartini The related MR can be found here: #48 (WIP)

from bogrep.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.