Coder Social home page Coder Social logo

Comments (6)

mertyildiran avatar mertyildiran commented on May 12, 2024

@rolfoz first of all, that's a very unexpected error for me. Thanks for reporting it. 😊 👍

It says, it cannot cd into tools/ so error comes from this line. But before coming to that line it should have executed this line which means cd /usr/share/kaldi.

Is that second time you try to install Dragonfire? What do you have under /usr/share/kaldi directory? Could you try to rm -rf /usr/share/kaldi? (because Dragonfire put that directory there)

If above solution does not work by itself then please also try to purge Dragonfire apt-get purge dragonfire.

If none of the above solutions works then instal-kaldi.sh is the same script so could you try to run bash ./install-kaldi.sh?

from dragonfire.

rolfoz avatar rolfoz commented on May 12, 2024

from dragonfire.

mertyildiran avatar mertyildiran commented on May 12, 2024

@rolfoz no, I actually realized my mistake:

I think you interrupted the installation while it's cloning Kaldi into /usr/share/kaldi which is an event that I haven't considered in the past. So we should change this part as:

if [ -d "$KALDI_DIRECTORY" ]; then
  rm -rf $KALDI_DIRECTORY
fi
mkdir $KALDI_DIRECTORY
cd $KALDI_DIRECTORY
git clone https://github.com/kaldi-asr/kaldi.git .

and also we should add a file named postrm into Dragonfire/debian/ directory with this content:

KALDI_DIRECTORY=/usr/share/kaldi
rm -rf $KALDI_DIRECTORY

so it will be able remove Kaldi when you run apt-get remove dragonfire or apt-get purge dragonfire.

After these changes we should check the validity by building the package and installing the new package. (a package named dragonfire_0.9.6_amd64.deb will be created in the upper directory ../)

Could you do that for me and send a pull request?

from dragonfire.

mertyildiran avatar mertyildiran commented on May 12, 2024

@rolfoz I'm waiting for your pull request. Are you planning to send a pull request anytime soon with the fix I mentioned in my the previous comment? If your answer is no then I will make the changes by myself. But because you are the reporter of this issue, I think you deserve to commit the changes more than me.

from dragonfire.

rolfoz avatar rolfoz commented on May 12, 2024

from dragonfire.

mertyildiran avatar mertyildiran commented on May 12, 2024

Fixed with 8019008

from dragonfire.

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.