Skip to content
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

stacked-up example is not working after install #16

Open
fchirigati opened this issue Mar 2, 2017 · 3 comments
Open

stacked-up example is not working after install #16

fchirigati opened this issue Mar 2, 2017 · 3 comments
Labels

Comments

@fchirigati
Copy link
Member

When running the runserver script:

 * Starting PostgreSQL 9.5 database server
Traceback (most recent call last):
  File "./manage.py", line 7, in <module>
    from django.core.management import execute_from_command_line
ImportError: No module named django.core.management
 * Stopping PostgreSQL 9.5 database server

This is caused by an error while installing the dependencies from stacked-up:

==> default: Collecting six==1.2.0 (from -r requirements.txt (line 12))
==> default:   Downloading six-1.2.0.tar.gz
==> default:     Complete output from command python setup.py egg_info:
==> default:     Traceback (most recent call last):
==> default:       File "<string>", line 1, in <module>
==> default:       File "/home/vagrant/.virtualenvs/stacked-up/local/lib/python2.7/site-packages/setuptools/__init__.py", line 160, in <module>
==> default:         monkey.patch_all()
==> default:       File "/home/vagrant/.virtualenvs/stacked-up/local/lib/python2.7/site-packages/setuptools/monkey.py", line 90, in patch_all
==> default:         patch_for_msvc_specialized_compiler()
==> default:       File "/home/vagrant/.virtualenvs/stacked-up/local/lib/python2.7/site-packages/setuptools/monkey.py", line 142, in patch_for_msvc_specialized_compiler
==> default:         msvc = import_module('setuptools.msvc')
==> default:       File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
==> default:         __import__(name)
==> default:       File "/home/vagrant/.virtualenvs/stacked-up/local/lib/python2.7/site-packages/setuptools/msvc.py", line 25, in <module>
==> default:         from six.moves import filterfalse
==> default:     ImportError: cannot import name filterfalse
@fchirigati fchirigati changed the title stacked-up example is not working stacked-up example is not working on the VM Mar 2, 2017
@remram44
Copy link
Member

remram44 commented Mar 3, 2017

This is why we have the Box and ReproZip 😉 Dependencies break.

It looks like setuptools updates six while it depends on it, and crashes?

@remram44
Copy link
Member

remram44 commented Mar 6, 2017

So stacked-up depends on six==1.2.0 (in requirements.txt) while setuptools & pip use six 1.10. pip downgrades six as requested then becomes broken. Changing the requirement to six>=1.2.0 might be enough (then we rely on six's backwards compatibility...)

@remram44 remram44 changed the title stacked-up example is not working on the VM stacked-up example is not working after install Oct 16, 2018
@remram44 remram44 added rotten and removed problem labels Oct 16, 2018
@remram44
Copy link
Member

This seems to work in the pre-built VM on OSF, so I'll mark this as "rotten".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants