GithubHelp home page GithubHelp logo

SqliteFailure about mcfly HOT 15 OPEN

cantino avatar cantino commented on August 11, 2024 1
SqliteFailure

from mcfly.

Comments (15)

sivaswami avatar sivaswami commented on August 11, 2024 1

It works now after deleting the bash_history file. You are creating a new screen itself. is there any way, we can do half-screen alone just like fzf ? What are the intelligence I get from mcfly ? any inputs or documentation link ? Just to understand as beginner.

from mcfly.

cantino avatar cantino commented on August 11, 2024

Hey @sivaswami, that's a new one. Are you just installing McFly for the first time?

from mcfly.

sivaswami avatar sivaswami commented on August 11, 2024

yes. for first time.

from mcfly.

cantino avatar cantino commented on August 11, 2024

could you try deleting the ~/.mcfly directoy and see if it happens again?

from mcfly.

sivaswami avatar sivaswami commented on August 11, 2024

• • • rm -rf ~/.mcfly ; source mcfly.bash
McFly: Importing Bash history for the first time. This may take a minute or two...thread 'main' panicked at 'McFly error: Insert to
work: NulError(NulError(0, [0, 108, 115]))', src/libcore/result.rs:999:5
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace.

from mcfly.

sivaswami avatar sivaswami commented on August 11, 2024

• • • rm -rf ~/.mcfly ; export RUST_BACKTRACE=1 ; source mcfly.bash
McFly: Importing Bash history for the first time. This may take a minute or two...thread 'main' panicked at 'McFly error: Insert to
work: NulError(NulError(0, [0, 108, 115]))', src/libcore/result.rs:999:5
stack backtrace:
0:
1:
2:
3:
4:
5:
6:
7:
8: main
9: __libc_start_main
10:

from mcfly.

cantino avatar cantino commented on August 11, 2024

Thank you @sivaswami. I suspect there's something in your existing history file that's causing an import error. I wish I knew what it was. I suspect that if you move .bash_history to a new name temporarily, then remove ~/.mcfly, it will work.

from mcfly.

sivaswami avatar sivaswami commented on August 11, 2024

I use timestamp with my history. is this could be a problem? content of history file looks like this:

#1529475153
ls
#1529475159
cd test

my settings in bashrc :
export HISTIGNORE='&:ssh*:*bin/se:. bin/se:*history:mutt:[bf]g:exit:pwd:
hostname:*cd ..:bash:zsh:*echo:cs:h:pushd:popd'
export HISTTIMEFORMAT='%F %T '

from mcfly.

sivaswami avatar sivaswami commented on August 11, 2024

does mcfly handles HISTTIMEFORMAT and other History related env parameter settings ?
some more options include:
export HISTTIMEFORMAT=”%a %h %d – %r ”
export HISTTIMEFORMAT=”%A %B %d – %r ”

from mcfly.

sivaswami avatar sivaswami commented on August 11, 2024

in some env, I also change $HISTFILE to point to different file.

from mcfly.

cantino avatar cantino commented on August 11, 2024

Ah! We do support timestamps, but currently only in the default epoch format. I suspect if you unset HISTTIMEFORMAT it'd work.

from mcfly.

cantino avatar cantino commented on August 11, 2024

Hey @sivaswami, glad it's working! The current UI is full screen. If you'd want to work on a half-screen view, you'd be welcome to. I find the current experience meets my needs well.

from mcfly.

Tatsh avatar Tatsh commented on August 11, 2024

If there are 'bad lines' in ~/.bash_history/etc, can they be ignored?

from mcfly.

cantino avatar cantino commented on August 11, 2024

They should be, @Tatsh. What are you seeing?

from mcfly.

Tatsh avatar Tatsh commented on August 11, 2024

I had a different error that was caused by using su without a new login shell (su -). This caused an issue with a temporary file mcfly writes to, because environment variables were inherited.

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.