Closed Sebastien-Raguideau closed 5 years ago
Hi Sebastien,
nice to see that the insterest for Pantgruel is gaining momentum! only annoying it fails that close to the start of the test run...
this seems to be an issue with lftp
client. I don't know much about it, but a quick internet search suggest it might be an issue of domain name resolution due to the address being under the new protocol IPv6, see https://github.com/debian-pi/raspbian-ua-netinst/issues/495. That apprently is fixable by setting the dns:order
variable in the ~/.lftprc
configuration file as:
set dns:order "inet inet6"
this is the default in my version of lftp (4.8.1) that comes with a basic Ubuntu 18.04.1 distribution, but maybe not in yours. I can only suggest you try that see what it says, and please let me know the outcome.
this is one of the few errors reported lately that relate to dependence issues, and indeed the scope for such issues is wide given the large set of dependences of Pantgruel... but rejoice! with @pveber we're working right now to finalize the docker image that would provide a container with everything needed and stable in it for Panagruel runtime.
Bestwishes, Florent
Hi Florent,
I had a look and my lftp was a bit old. After upgrading it works fine.
Though I still had an issue after that. Somehow during installation homebrew managed to add the wrong path in .bash_profile here is the content of my .bash_profile. So the correct path should start with "/home/sebr/"....
. "$HOME/.profile"
export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"
export MANPATH="/home/linuxbrew/.linuxbrew/share/man:$MANPATH"
export INFOPATH="/home/linuxbrew/.linuxbrew/share/info:$INFOPATH"
Also, just realised that on my ubuntu (16.04) servers, bash_profile is never loaded. And indeed save for newly installed brew paths, nothing is present in bash_profile. So anything installed via brew was somehow not seen...
I'm now somehow stuck with prokka. It does not work for some reason and basically does not find any CDS and this crash the pipeline. Bradyrhizobium_sp_cf659.log
I am not sure you can help with that, I'll write an issue on prokka. Fun fact is that the 2 servers I'm using, both set in the same way do produce this same issue with prokka.
Anyway thanks for the swift answer, I'll update if I finally make it works :)
Best,
Seb
hi Seb,
if you installed linuxbrew
with sudo, it is normal for it to create a separate user (called linuxbrew) from which it will operate and in which home directory it will install the brew recipes (in /home/linuxbrew/.linuxbrew/
); otherwise the linuxbrew recipes will indeed be installed in $USER/.linuxbrew/
(see https://docs.brew.sh/Homebrew-on-Linux). The latter is actually less flexible so I would encourage you to re-install brew with sudo instead; the easiest way is to use:
sudo apt install linuxbrew-wrapper
If you don't want to do that, what you can do instead is to manually change the lines that were written to your ~/.bash_profile
.
Also there are several reasons why your .bash_profile files are not read when you start a session, for instance if your using ssh -X
(or -Y
from a Mac) (see this thread) instead of connecting to a plain login shell with bash. So with the linuxbrew user setting, the .bash_profile
file would be read because it runs with a login shell.... at least that's my coarse understanding.
I hope that helps. Let me know if you face more issues. (and also remember that the docker image alternative is on its way very soon - just testing task 05 with it now)
Cheers Florent
Hi Florent,
Linuxbrew basically installed itself with pantagruel. The thing that is non consistent is indeed the fact that while referring to /home/linuxbrew/.linuxbrew/ in ~/.bash_profile, no such folder was created during installation. I did the path changing already which allowed me to run pantagruel :)
Yes I am indeed by default connecting with -X so I can see figs and pdf. Good to know, thanks.
Well, I'll be sure to go for the docker image once it's available, it'll save me a lot of time.
Cheers, Seb
Hi Seb, nice to know this can be fixed. However the fact that you used the normal procedure to install Homebrew and that it was not working lead me to make the installation script more robust (commit 39866fe). let me know if anything else goes wrong! Cheers Florent
Hello,
I just installed pantagruel and trying the minimal test.
I ran the initialisation :
and then the actual test :
/pantagruel_pipeline/pantagruel/pantagruel -i ./testPTGdatabase/environ_pantagruel_testPTGdatabase.sh all
I get the following error which look like a weird ftp connection faillure. Any idea on how to fix that?