{"action":"closed","issue":{"url":"https://api.github.com/repos/kundajelab/chipseq_pipeline/issues/8","repository_url":"https://api.github.com/repos/kundajelab/chipseq_pipeline","labels_url":"https://api.github.com/repos/kundajelab/chipseq_pipeline/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/kundajelab/chipseq_pipeline/issues/8/comments","events_url":"https://api.github.com/repos/kundajelab/chipseq_pipeline/issues/8/events","html_url":"https://github.com/kundajelab/chipseq_pipeline/issues/8","id":170659159,"number":8,"title":"software installation","user":{"login":"wcstcyx","id":14361316,"avatar_url":"https://avatars.githubusercontent.com/u/14361316?v=3","gravatar_id":"","url":"https://api.github.com/users/wcstcyx","html_url":"https://github.com/wcstcyx","followers_url":"https://api.github.com/users/wcstcyx/followers","following_url":"https://api.github.com/users/wcstcyx/following{/other_user}","gists_url":"https://api.github.com/users/wcstcyx/gists{/gist_id}","starred_url":"https://api.github.com/users/wcstcyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wcstcyx/subscriptions","organizations_url":"https://api.github.com/users/wcstcyx/orgs","repos_url":"https://api.github.com/users/wcstcyx/repos","events_url":"https://api.github.com/users/wcstcyx/events{/privacy}","received_events_url":"https://api.github.com/users/wcstcyx/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-11T14:27:26Z","updated_at":"2016-12-13T23:20:47Z","closed_at":"2016-12-13T23:20:47Z","body":"I have encountered the following problem.\n\n```\nError: ERROR: placeholder '/root/miniconda3/envs/_build_placehold_placehold_placehold_placehold_placehold_p' too short in: glib-2.43.0-2\n```\n\nAnd then I followed your instruction: \"If you see the following error, then update your Anaconda with `conda update conda` and downgrade it to 4.0.5 `conda install conda==4.0.5`.\" But it didn't work.\nI found that the problem came from\n\n```\nconda create -n aquas_chipseq --file requirements.txt -y -c defaults -c bioconda -c r\n```\n\nin your `install_dependencies.sh`.\nThen I read [https://github.com/conda/conda-build/pull/877](https://github.com/conda/conda-build/pull/877) and [https://groups.google.com/a/continuum.io/forum/#!topic/anaconda/fgDBJ2YwETI](https://groups.google.com/a/continuum.io/forum/#!topic/anaconda/fgDBJ2YwETI).\nMy anaconda path is\n\n```\n/share_bio/nas5/amsszhangsh_group/wangcan/software/python/anaconda3\n```\n\nIt seemed that when I run\n\n```\nconda create -n aquas_chipseq --file requirements.txt -y -c defaults -c bioconda -c r\n```\n\nthe  prefix was\n\n```\n/share_bio/nas5/amsszhangsh_group/wangcan/software/python/anaconda3/envs/aquas_chipseq\n```\n\nwhich consisted of 86 characters. Then I tried to limit it to 80 characters. So I trimmed the trailing 6 characters in `aquas_chipseq` and run\n\n```\nconda create -n aquas_c --file requirements.txt -y -c defaults -c bioconda -c r\n```\n\nAnd I succeeded. \nI found that **conda 4.0.5 and 4.1.11 are no different on this problem**. So the version of conda is not the point.\nTo solve this problem without modifying your script, I re-installed the anaconda in a directory with a shorter absolute path\n\n```\n/share_bio/nas5/amsszhangsh_group/wangcan/anaconda3\n```\n\nThen there were no problem when I run `install_dependencies.sh`.\nIf one does not want to re-install anaconda, I think to use `conda create -p your_short_path` can also work. For example, use\n\n```\nconda create -p /share_bio/nas5/amsszhangsh_group/wangcan/aquas_chipseq\n```\n\nto replace\n\n```\nconda create -n aquas_chipseq\n```\n\nin\n\n```\nconda create -n aquas_chipseq --file requirements.txt -y -c defaults -c bioconda -c r\n```\n"}}
{"actor":{"display_login":"leepc12"}}