Kitware / flow

Full data science workflows on the web
http://resonant-flow.readthedocs.org
Apache License 2.0
20 stars 15 forks source link

vagrant provision currently broken #176

Closed zackgalbreath closed 8 years ago

zackgalbreath commented 8 years ago

I see the following error when running vagrant up:

TASK: [romanesco | install girder plugin (also builds web client)] ************ 
...
pkg_resources.DistributionNotFound: The 'six==1.9.0' distribution was not found and is required by girder

Looks like requirement mismatch between romanesco & girder. I think the correct fix here is to update the version of girder available from pip.

zackgalbreath commented 8 years ago

To be more clear, romanesco is installing six v1.10.0, while girder seems to want 1.9.0. It looks like girder has also moved to 1.10.0, hence my recommendation of a version upgrade for pip-installable girder.

jeffbaumes commented 8 years ago

I believe @danlamanna has seen this. Is there a fix yet?

zachmullen commented 8 years ago

We are due for a new girder release, I'll try and make that happen today.

curtislisle commented 8 years ago

Dan has generated a patch that I’ve been using in the meantime. I do a clone, then patch, then do vagrant up, generally. Patch attached in the meantime.

On Feb 15, 2016, at 9:31 AM, Zach Mullen notifications@github.com wrote:

We are due for a new girder release, I'll try and make that happen today.

— Reply to this email directly or view it on GitHub https://github.com/Kitware/flow/issues/176#issuecomment-184229460.

chinchliff commented 8 years ago

there are similar issues with most of the other dependencies as well (e.g. requests, Mako, others). @curtislisle i didn't see a patch attached... am i just overlooking it? anyway i went into the vm and manually updated /usr/local/lib/python2.7/dist-packages/girder-1.4.1-py2.7.egg-info/requires.txt to match https://github.com/girder/girder/blob/114b5dda576bc0611617a92f88942f3a55dabe7d/requirements.txt, and now the vagrant provisioning seems to be working and i can pull up a running arbor instance on localhost:9080

curtislisle commented 8 years ago

@chinchliff , congrats on getting your instance working! Sorry you had to open the hood and tweak the internal dependencies. I burned in the previously mentioned patch to the "pin_girder_and_romanesco" branch of this repository, fixing the versions to avoid python six dependency issues. For now, I use this branch when initializing new instances. I plan to continue this approach through for the next two months to have stable instance for Arbor use. In the meantime, Kitware is re-engineering an improved architecture with more type management support. I don't plan to switch our instances over until after the end of April.

chinchliff commented 8 years ago

Thanks for the update curt! On Wed, Mar 16, 2016 at 6:34 AM Curtis Lisle notifications@github.com wrote:

@chinchliff https://github.com/chinchliff , congrats on getting your instance working! Sorry you had to open the hood and tweak the internal dependencies. I burned in the previously mentioned patch to the "pin_girder_and_romanesco" branch of this repository, fixing the versions to avoid python six dependency issues. For now, I use this branch when initializing new instances. I plan to continue this approach through for the next two months to have stable instance for Arbor use. In the meantime, Kitware is re-engineering an improved architecture with more type management support. I don't plan to switch our instances over until after the end of April.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/Kitware/flow/issues/176#issuecomment-197332313

danlamanna commented 8 years ago

This has been fixed in master.