pykaldi / pykaldi

A Python wrapper for Kaldi
https://pykaldi.github.io
Apache License 2.0
997 stars 247 forks source link

svn: E170013: Unable to connect to a repository at URL 'https://llvm.org/svn/llvm-project/llvm/trunk' #196

Open gogyzzz opened 4 years ago

gogyzzz commented 4 years ago

I tried to install clif with "./install_clif.sh", but got this error.

$ ./install_clif.sh
Destination /data/public/rw/heron/pykaldi/tools/clif already exists.
Already up to date.
/root/.local/bin//ninja
Using ninja for the clif backend build.
svn: E170013: Unable to connect to a repository at URL 'https://llvm.org/svn/llvm-project/llvm/trunk'
svn: E000110: Error running context: Connection timed out
kkawabat commented 4 years ago

I also had issues relating to svn, the .install_clif.sh script installs llvm repository using svn and it has been known to have issues with large repositories.

specifically this line in tools/install_clif.sh

mkdir -p "$LLVM_DIR"
cd "$LLVM_DIR"
svn co http://llvm.org/svn/llvm-project/llvm/trunk@307315 llvm 

What I did was:

victorC97 commented 3 years ago

Hello @kkawabat,

I was trying to follow your instructions on that issue but I have some struggle with svn command... I'm working on a Mac Big Sur version.

At this point I follow your instructions : It seems that the line I have to comment out was in INSTALL.sh (used by tools/install_clif.sh I guess).

First I did : svn co http://llvm.org/svn/llvm-project/llvm/trunk@307315 llvm in pykaldi/tools/clif_backend returns : svn: E170011: Repository moved temporarily to 'https://llvm.org/svn/llvm-project/llvm/trunk'

Then I did : svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm as advised by the last error returns : svn: E170013: Unable to connect to a repository at URL 'https://llvm.org/svn/llvm-project/llvm/trunk' svn: E175013: Access to '/svn/llvm-project/llvm/trunk' denied

I decided to use svn cleanup && svn up as advised on your instructions but it returns : svn: E155007: '/Users/admin/pykaldi/tools/clif_backend' not a working copy directory

After some researches on svn, I didn't really understand this error... There are not so many documentation in my native language and I'm struggling with english documentation on svn...

Have you ever encountered this kind of error ?

Thank you very much, Victor

kkawabat commented 3 years ago

Hello Victor,

It's been a while since I worked on this and I don't use svn but looking at your error "not a working copy directory" seems to indicate that you aren't in the actual directory of the repo you are downloading. You will need to go into llvm to run the svn cleanup && svn up command. It might even be worth deleting the downloaded repo and start over.

victorC97 commented 3 years ago

I'll start over and check the possible issues you suggested.

Thanks a lot for your time and help, Have a good day ! Victor