Comments (6)
@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.
from dragonfire.
@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.
@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.
from dragonfire.
Fixed with 8019008
from dragonfire.
Related Issues (20)
- deeppavlov 0.8.0 not supported HOT 3
- charger dragonfire hors installation HOT 6
- Can't install on Ubuntu 20.04 HOT 2
- Compatible OS! HOT 8
- This Dosen't Work HOT 3
- Python 3.8 & Ubuntu20.04 support HOT 12
- Try docker version not go
- Don't installing
- Support for modern TTS models for various languages
- dragonfire windows
- Dragonfire command not found HOT 2
- ModuleNotFound HOT 1
- Install error ubuntu 21.10 HOT 4
- [Feature Request] Upgrade Speech-to-Text to Coqui STT
- Please create a snap package
- I can t initialize Dragonfire HOT 2
- Dragonfire not Starting
- problem with starting dragonfire 1.1.1
- Could'nt Install it on Ubuntu 20.04
- setup.py
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 dragonfire.