GithubHelp home page GithubHelp logo

Comments (10)

cantino avatar cantino commented on August 11, 2024 1

Thanks, I'll try to fix it.

from mcfly.

cantino avatar cantino commented on August 11, 2024 1

Hi @pmarreck, I'm sorry to hear that. I haven't seen this before. According to this StackOverflow page, you could try copying the DB and moving it back:

mv ~/.mcfly/history.db temp.db
cp temp.db ~/.mcfly/history.db

Or something similar.

from mcfly.

cantino avatar cantino commented on August 11, 2024

Sorry for the delay. This does sound like a real issue. Odd that I haven't had it happen myself.

from mcfly.

raivivek avatar raivivek commented on August 11, 2024

I can attest that this happens frequently with me as well. I am using v0.3.3.

from mcfly.

cantino avatar cantino commented on August 11, 2024

I've been unable to reproduce this, but have a possible fix in #60. Would it be easy for either of you to test #60?

from mcfly.

cantino avatar cantino commented on August 11, 2024

@raivivek @mirage83 ^

from mcfly.

mirage83 avatar mirage83 commented on August 11, 2024

Can you provide a snapshot? I don't have Rust installed.
I don't have a reproducer for this issue. I just can use a snapshot and see if the issue reoccurs.

from mcfly.

cantino avatar cantino commented on August 11, 2024

Sure! I included it in this release: https://github.com/cantino/mcfly/releases/tag/v0.3.4

from mcfly.

pmarreck avatar pmarreck commented on August 11, 2024

ran into the same issue. and mcfly is generally taking many dozens of seconds after each command to return shell control to me. I've already limited the max history to 10K. Anything else I can do to either start over from a known-good place or repair the sqlite DB or...?

thread 'main' panicked at 'McFly error: Unable to create schema_versions db table (database is locked)', src/history/schema.rs:105:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

FWIW I'm on NixOS currently.

from mcfly.

pmarreck avatar pmarreck commented on August 11, 2024

Tried that, didn't help, but I realized that all of my disk operations seem slow as well, so I may have a disk issue; I'm going to look into how to troubleshoot slow disk ops in Linux (any tips welcome of course)

from mcfly.

Related Issues (20)

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.