LibCrowds/libcrowds

Confirm setup on LibCrowds server

mialondon opened this issue · 4 comments

Message from Miguel Vieira, Principal Research Software Engineer at King's Digital Lab, who's been looking into the LibCrowds server/Playbills issues for us:

We have been trying to set up local copies of the project following the instructions at https://docs.libcrowds.com/setup/installation/, but we are having issues with versions of packages.

Would you be able to get for us the exact version of PyBossa (and dependencies) that are installed on the server. We are having conflicts between the latest version of PyBossa and the libcrowds plugins. We have tried several combinations of the PyBossa and it's dependencies but they are either incompatible with the libcrowds plugins or fail to set up.

Would you also be able to check if the server has changes that are not in GitHub.

I've just taken a quick look at the server and (from setup.py) it looks like we're using PyBossa 2.9.6 from this specific commit. It doesn't look like this release was tagged in the repository, however.

The requirements.txt file on the server contains


-e git+https://github.com/maxcountryman/flask-login.git@13af160b3fd14dfb5f35f9cdc3863771efe194eb#egg=Flask-Login
-e git+https://github.com/Scifabric/rq-dashboard.git#egg=rq-dashboard
-e git+https://github.com/Scifabric/flatten.git@5d57cc6336df277822305ad70b86adf8c6a1c947#egg=flatten_json
-e .

as in other releases I've checked >=2.9.5. The requirements in setup.py on the server are the same as the script in the commit, shown here.

Thank you for that, I have tried setting up locally with that version but there are issues with dependencies. Would it be possible for you to run a pip freeze of the PyBossa virtualenv to see the list of full packages that are being used? Thank you

Sure - contents of pip freeze in the virtualenv are listed below:

alabaster==0.7.10
alembic==0.9.9
arrow==0.12.1
asn1crypto==0.24.0
Babel==2.5.3
backports.functools-lru-cache==1.5
beautifulsoup4==4.6.0
blinker==1.4
certifi==2018.1.18
cffi==1.11.5
chardet==3.0.4
click==6.7
colorama==0.3.9
configparser==3.5.0
cov-core==1.15.0
coverage==4.5.1
cryptography==2.2.1
cssselect==1.0.3
debtcollector==1.19.0
decorator==4.2.1
docopt==0.4.0
docutils==0.14
entrypoints==0.2.3
enum34==1.1.6
factory-boy==2.4.1
Faker==0.8.15
feedparser==5.2.1
Flask==0.10.1
Flask-Assets==0.12
Flask-Babel==0.9
Flask-Cors==3.0.2
Flask-DebugToolbar==0.10.1
Flask-HTTPAuth==3.2.3
flask-json-multidict==1.0.0
-e git+https://github.com/maxcountryman/flask-login.git@13af160b3fd14dfb5f35f9cdc3863771efe194eb#egg=Flask_Login
Flask-Mail==0.9.1
Flask-Misaka==0.3.0
Flask-OAuthlib==0.9.1
Flask-Plugins==1.6.1
flask-profiler==1.6
Flask-SimpleLDAP==1.1.2
Flask-SQLAlchemy==2.0
Flask-WTF==0.9.5
Flask-Z3950==1.0.1
-e git+https://github.com/Scifabric/flatten.git@5d57cc6336df277822305ad70b86adf8c6a1c947#egg=flatten_json
freezegun==0.3.9
funcsigs==1.0.2
google-api-python-client==1.5.5
html2text==2014.7.3
httplib2==0.11.0
humanize==0.5.1
idna==2.6
iiif-prezi==0.2.9
imagesize==0.7.1
infinity==1.4
intervals==0.8.1
ip-associations-python-novaclient-ext==0.2
ipaddress==1.0.19
iso8601==0.1.12
itsdangerous==0.24
Jinja2==2.10
jsmin==2.2.2
keyring==12.0.0
keystoneauth1==3.4.0
libsass==0.14.2
lxml==4.2.1
mailchimp==2.0.9
Mako==1.0.7
Markdown==2.6.11
MarkupSafe==1.0
misaka==1.0.2
mock==2.0.0
mollyZ3950===2.04-molly1
monotonic==1.4
msgpack==0.5.6
msgpack-python==0.4.8
ndg-httpsclient==0.4.4
netaddr==0.7.19
netifaces==0.10.6
nose==1.3.7
nose-cov==1.6
numpy==1.14.2
oauth2client==4.1.2
oauthlib==2.0.7
os-diskconfig-python-novaclient-ext==0.1.3
os-networksv2-python-novaclient-ext==0.26
os-virtual-interfacesv2-python-novaclient-ext==0.20
oslo.config==5.2.0
oslo.i18n==3.20.0
oslo.serialization==2.25.0
oslo.utils==3.36.0
otpauth==1.0.1
pandas==0.20.2
pbr==1.10.0
Pillow==3.4.2
pkg-resources==0.0.0
ply==3.10
positional==1.2.1
prettytable==0.7.2
psycopg2==2.7.4
pyasn1==0.4.2
pyasn1-modules==0.2.1
-e git+https://github.com/SciFabric/pybossa@f8adc602de032c5e78c4600373bbd46d72001f81#egg=pybossa
pybossa-onesignal==1.1
pybossa-z3950==0.1.7
pycodestyle==2.3.1
pycountry==18.2.23
pycparser==2.18
pycryptodome==3.6.1
pygeoip==0.3.2
Pygments==2.2.0
PyJWT==1.6.1
PyLD==1.0.3
pyldap==3.0.0
pymarc==3.1.7
pyOpenSSL==17.5.0
pyparsing==2.2.0
pyrax==1.9.8
python-dateutil==2.7.0
python-editor==1.0.3
python-keystoneclient==3.15.0
python-ldap==3.0.0
python-novaclient==2.27.0
pytz==2018.3
PyYAML==3.12
rackspace-auth-openstack==1.3
rackspace-novaclient==2.1
raven==4.2.3
rax-default-network-flags-python-novaclient-ext==0.4.0
rax-scheduled-images-python-novaclient-ext==0.3.1
readability-lxml==0.6.2
redis==2.9.1
rednose==1.3.0
requests==2.18.4
requests-oauthlib==0.8.0
rfc3986==1.1.0
rq==0.4.6
-e git+https://github.com/Scifabric/rq-dashboard.git@4e06e81340c3c273c014ced2dc6a47c88e8eb8f3#egg=rq_dashboard
rq-scheduler==0.5.1
rsa==3.4.2
SecretStorage==2.3.1
simplejson==3.13.2
six==1.11.0
snowballstemmer==1.2.1
speaklater==1.3
Sphinx==1.6.4
sphinxcontrib-websupport==1.0.1
SQLAlchemy==1.1.7
stevedore==1.28.0
termstyle==0.1.11
text-unidecode==1.2
times==0.7
titlecase==0.12.0
twitter==1.17.1
typing==3.6.2
Unidecode==0.4.21
uritemplate==3.0.0
urllib3==1.22
uWSGI==2.0.15
validators==0.12.1
webassets==0.12.1
Werkzeug==0.14.1
wrapt==1.10.11
WTForms==1.0.5
WTForms-Components==0.10.3
yacryptopan==1.0.0

I'm assuming this is done?