-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dockerfile fails to compile (poetry install, step 27) #503
Comments
Hey Daniele, Unfortunately, due to a large rewrite effort, that fact that the Docker setup was contributed by an external collaborator and also not currently used by us, the existing Dockerfile has been somewhat left behind. We intend to fix this with the next "big" version of SCope, although I realize this doesn't help you right now. I've tried to also do some debugging, but have come to the same conclusion as you, that for some reason, running the commands manually within the container seems to work, but the build is broken. I managed to overcome the llvm issues, but ran into problems with scipy refusing to install via the wheel. Although not optimal, is running using a conda environment locally an option for you at the moment? This is how we currently run our main instance. Sorry I haven't been more help. Cheers, Kris |
Dear Kris, Thanks a lot for your answer. I have not tried to do install SCope through Conda, do you have a .yaml file I can use? Also, do I need to install some dependency system wide? I was using Docker because I fear that nodejs installation may broke other tools and dependencies. If you have some instruction to share on your local install that differs from the one listed on the README page, I'll be glad to test them on! Cheers, Daniele |
Hey Daniele, I don't have a .yaml but poetry should lock the versions of the python packages you need. The benefit of conda here is that you can actually install both python and nodejs within the conda env which will prevent issues with system dependencies. This conda create command should work for master: If you have issues, just let me know and I'll see where I can help out. Cheers, Kris |
Helo Kris, I have tried following the instructions listed on the site in a conda environment created using your specifications and the I attach here the (quite long) error log, it seems to be a problem of some package that is corrupted (at the beginning of the log) that subsequently create the error cascade. Can you look it up and point me to the right fix? Thanks! Cheers, Daniele |
Hey Daniele, I've seen this sometimes be cause by the package.lock files from npm, can you try removing these two files from the root ofthe repository Cheers, Kris |
Hi kris, After a few workarounds (machine-related issues), I managed to successfully complete the However, I honestly don't know where to look up, I even installed poetry as a dependency and re-run the installation on a separate machine. I attach here both the npm-install log and the npm-run-scope error logs. Thanks again, Daniele |
Hey Daniele, I'm really sorry about all of these problems - this is of course not the experience we want people to have when trying to run SCope. It looks like due to various updates, certain parts of the install are not working. I have worked out a set of commands here, that from a fresh start will get SCope running for you. Would you mind giving these a go?
Cheers, Kris |
Hi @KrisDavie, No worries, I understand that these problems may occur, especially with nodejs, and they are quite pesky to resolve. I followed your instructions carefully but, alas, the here is the error log:
A few things that I tried:
I sadly have no confidence with I attach here the two error logs generated by the In case this process becomes too painful to debug, we can also meet and check it together, no problem for me. Ciao, Daniele |
Ciao Kris, Thanks a lot for your help, your time and for all the precious info that you gave me, now everything is a little bit clearer :) I attach here a small .md file that sums up all the operations that we did yesterday. I hope that I did not forget something. Feel free to edit and distribute it as much as you want, hopefully it can be useful for other SCope users as well! Waiting for the new Scope to unroll, keep up with the good work! Ciao, Daniele |
Dear SCope Team,
First of all, congratulations for SCope and SCENIC such nice tools, I find them incredibly useful for my analyses.
I however have an issue when trying to rebuild SCope using the Dockerfile you provided on a local machine in my Institute
Before I gon any further, a couple of technical details:
Machine OS: Ubuntu Server 18.04
Docker version: 20.10.7
The issue occurs at line 48
RUN cd /app/opt && poetry install
it seems that all the packages that should be installed by the
poetry
tools fails to compileI attach here the Docker-build log from step 27 (the moment in which Docker fails) onwards.
Docker-build.log
On a side note, I found that running each command inside
docker
manually works (i.e., I create an empty Debian Docker container and I copy paste all commands that yu wrote in theDockerfile)I am scratching my head around the issue but I cannot find a way to solve it. Can you point me to the right direction?
Thanks,
Daniele
The text was updated successfully, but these errors were encountered: