Closed cmaeder closed 8 years ago
lmh install ...
fails with
Unable to make connection
git@gl.mathhub.info's password:
it is "lmh install -y
" inside https://github.com/KWARC/localmh/blob/lmh_install/bin/testHello.sh
Despite installing the package python3-lxml
(on trusty) I get the message:
Missing lxml module
If you are using localmh_docker you might want to:
lmh docker pull
and re-create the image or manually run:
lmh docker sshell; pip3 install lxml ; exit
...
see https://travis-ci.org/KWARC/localmh/builds/103622714
How do you check for lxml
? Do you require a specific version?
It turns out that I could make it work by disallowing password ssh access for the user git
on gl.mathhub.info
.
The lxml installation on travis worked with sudo -i pip3 install lxml
. The -i switch
for sudo was needed on travis to find the proper pip3 executable. The Ubuntu package python3-lxml
also works if '/usr/bin' comes earlier in the PATH.
The only problem left is that lmh install -y group/repo
returns a wrong exit of 1
(that made my test script fail before appending && true
to the call).
I had to change /etc/ssh/sshd_config
on maple again. Appending:
Match user git
PasswordAuthentication no
I restarted the ssh daemon by invoke-rc.d ssh restart
.
In https://github.com/KWARC/localmh/blob/hello_test/bin/testHello.sh I needed to checkout the HelloWorld repositories manually in order to run further tests.
@kohlhase do we need an MMT issue to report failures via a final (non-zero) exit code? (see https://travis-ci.org/KWARC/localmh/builds/92687511 for current pdf and omdoc failures)