Comments (10)
Thanks, I'll try to fix it.
from mcfly.
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.
Sorry for the delay. This does sound like a real issue. Odd that I haven't had it happen myself.
from mcfly.
I can attest that this happens frequently with me as well. I am using v0.3.3.
from mcfly.
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.
from mcfly.
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.
Sure! I included it in this release: https://github.com/cantino/mcfly/releases/tag/v0.3.4
from mcfly.
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.
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)
- Draft releases messed up HOT 4
- zsh-vi-mode conflict
- Allow <TAB> to cycle through options instead of select HOT 3
- Allow ENTER to select the command and put it on commandline
- Handle multiple commands separated by "\n" in Fish shell HOT 2
- F3 key does not work with 'vim' key scheme HOT 1
- Powershell support documentation HOT 1
- F3 breaks standard terminal's line limit HOT 3
- Request for Dynamic Fuzz Search Toggle Within Search Interface HOT 1
- Vulnerabilities mio and zerocopy dependency HOT 1
- Panic in `src/fake_typer.rs` - broken edit and run commands HOT 8
- Bug in mcfly.fish HOT 5
- Installing mcfly on Ubuntu 24.04 doesn't bind CTRL+R and "mcfly search" throws error HOT 16
- Add an X86_64 build for linux HOT 2
- Windows binaries missing HOT 3
- init shell failed? HOT 5
- question: how do I show more results? HOT 2
- Question:how the Neural Network help mcfly for better performance? HOT 3
- Dirty environment after uninstalling HOT 4
- Consider releasing as a .deb package HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mcfly.