Just to report, Pathagar upstream merged the pull request mentioned previously:
https://github.com/PathagarBooks/pathagar/commits/master On Fri, Sep 11, 2015 at 1:47 PM, Anish Mangal <anis...@umich.edu> wrote: > To be honest, I haven't tested extensively. Here's what works: > > 1. Install goes cleanly > 2. Website opens > 3. I can log in > 4. I can upload a book > 5. I can download a book > > Havent tested tags, searching etc. > > On Fri, Sep 11, 2015 at 10:08 PM, Gonzalo Odiard <godi...@gmail.com> > wrote: > >> Great! >> >> On Fri, Sep 11, 2015 at 1:36 PM, Anish Mangal <anis...@umich.edu> wrote: >> >>> Update: >>> >>> Using django-taggit, it works!! >>> >>> Here are the changes I made... >>> >>> (1) Use --use-wheel flag >>> (2) Change version to 0.14.0 >>> >>> diff --git a/roles/pathagar/tasks/main.yml >>> b/roles/pathagar/tasks/main.yml >>> index 57a05fe..2e6ff08 100644 >>> --- a/roles/pathagar/tasks/main.yml >>> +++ b/roles/pathagar/tasks/main.yml >>> @@ -44,7 +44,7 @@ >>> - Django==1.4.5 >>> - django-tagging==0.3.1 >>> - django-sendfile==0.3.6 >>> - - django-taggit==0.10 >>> + - django-taggit==0.14.0 >>> - lxml==3.4.4 >>> when: not {{ use_cache }} and not {{ no_network }} >>> tags: >>> @@ -52,14 +52,14 @@ >>> >>> - name: Install pathagar requirements in a virtualenv >>> pip: name={{ item }} >>> - extra_args="--no-index --find-links=file://{{ pip_packages_dir >>> }}" >>> + extra_args="--no-index --use-wheel --find-links=file://{{ >>> pip_packages_dir }}" >>> virtualenv={{ pathagar_venv }} >>> virtualenv_site_packages=yes >>> with_items: >>> - Django==1.4.5 >>> - django-tagging==0.3.1 >>> - django-sendfile==0.3.6 >>> - - django-taggit==0.10 >>> + - django-taggit==0.14.0 >>> - lxml==3.4.4 >>> >>> - name: Create pathagar postgresql user >>> >>> >>> >>> >>> On Fri, Sep 11, 2015 at 9:05 PM, Anish Mangal <anis...@umich.edu> wrote: >>> >>>> Perhaps the version should be 0.14.0 there? I'll give it a go :) >>>> >>>> On Fri, Sep 11, 2015 at 8:54 PM, Jerry Vonau <m...@jvonau.ca> wrote: >>>> >>>>> >>>>> >>>>> > On September 11, 2015 at 9:41 AM Gonzalo Odiard <godi...@gmail.com> >>>>> > wrote: >>>>> > >>>>> > >>>>> > Hi Anish, >>>>> > >>>>> > I have been contributing recently to Pathagar, and is true that >>>>> > development >>>>> > is a little dormant, >>>>> > but I think is not broken, but maybe need a different configuration >>>>> than >>>>> > in >>>>> > xsce. >>>>> > They have a pull request waiting to merge (for a long time) [1] >>>>> > that request django-taggit==0.14.0, maybe you can try with that? >>>>> > >>>>> > Also I was not able to use pathagar with Postgress as is configured >>>>> in >>>>> > xsce, but could be a mistake I did. >>>>> > >>>>> > Please try to contact Pathagar devels, and fond a solution. >>>>> > >>>>> > Gonzalo >>>>> > >>>>> > [1] https://github.com/PathagarBooks/pathagar/pull/65 >>>>> > >>>>> > On Fri, Sep 11, 2015 at 11:25 AM, Anish Mangal <anis...@umich.edu> >>>>> wrote: >>>>> > >>>>> > > Hi, >>>>> > > >>>>> > > Pathagar has been broken for QUITE some time on master, and it >>>>> fails >>>>> > > (without fail) on a fresh install. I propose that we disable it >>>>> > > completely >>>>> > > until fixed by maintainer. >>>>> > > >>>>> > > Sorry for sounding a bit harsh - master is broken by default due to >>>>> > > this. >>>>> > > >>>>> > > Will happily create a PR if people agree. >>>>> > > >>>>> > > FWIW, here's the log from the latest run (centos-7-x64 on an >>>>> intel-nuc) >>>>> > > >>>>> > > TASK: [pathagar | Remove if exist pathagar rpm version] >>>>> > > *********************** >>>>> > > ok: [127.0.0.1] >>>>> > > >>>>> > > TASK: [pathagar | Install pathagar pre requisites] >>>>> > > **************************** >>>>> > > changed: [127.0.0.1] => >>>>> > > >>>>> (item=python-virtualenv,python-pip,python-psycopg2,mod_wsgi,libxml2-devel,libxslt-devel) >>>>> > > >>>>> > > TASK: [pathagar | Create destination folder] >>>>> > > ********************************** >>>>> > > changed: [127.0.0.1] >>>>> > > >>>>> > > TASK: [pathagar | Create books destination folder] >>>>> > > **************************** >>>>> > > changed: [127.0.0.1] >>>>> > > >>>>> > > TASK: [pathagar | Clone pathagar repo] >>>>> > > **************************************** >>>>> > > changed: [127.0.0.1] >>>>> > > >>>>> > > TASK: [pathagar | download pathagar requirements in a virtualenv] >>>>> > > ************* >>>>> > > ok: [127.0.0.1] => (item=Django==1.4.5) >>>>> > > ok: [127.0.0.1] => (item=django-tagging==0.3.1) >>>>> > > ok: [127.0.0.1] => (item=django-sendfile==0.3.6) >>>>> > > ok: [127.0.0.1] => (item=django-taggit==0.10) >>>>> > > ok: [127.0.0.1] => (item=lxml==3.4.4) >>>>> > > >>>>> > > TASK: [pathagar | Install pathagar requirements in a virtualenv] >>>>> > > ************** >>>>> > > changed: [127.0.0.1] => (item=Django==1.4.5) >>>>> > > changed: [127.0.0.1] => (item=django-tagging==0.3.1) >>>>> > > changed: [127.0.0.1] => (item=django-sendfile==0.3.6) >>>>> > > failed: [127.0.0.1] => (item=django-taggit==0.10) => {"cmd": >>>>> > > "/usr/local/pathagar/venv/bin/pip install --no-index >>>>> > > --find-links=file:///opt/schoolserver/pip-packages >>>>> > > django-taggit==0.10", >>>>> > > "failed": true, "item": "django-taggit==0.10"} >>>>> > > msg: stdout: Ignoring indexes: https://pypi.python.org/simple/ >>>>> > > Downloading/unpacking django-taggit==0.10 >>>>> > > Could not find any downloads that satisfy the requirement >>>>> > > django-taggit==0.10 >>>>> > > Cleaning up... >>>>> > > No distributions at all found for django-taggit==0.10 >>>>> > > Storing complete log in /root/.pip/pip.log >>>>> > > >>>>> > > >>>>> > > changed: [127.0.0.1] => (item=lxml==3.4.4) >>>>> > > >>>>> > > FATAL: all hosts have already failed -- aborting >>>>> > > >>>>> > > PLAY RECAP >>>>> > > >>>>> ******************************************************************** >>>>> > > to retry, use: --limit @/root/xsce.retry >>>>> > > >>>>> > > 127.0.0.1 : ok=405 changed=196 unreachable=0 >>>>> > > failed=1 >>>>> > > >>>>> > > >>>>> > > >>>>> > > ======================================================= >>>>> > > >>>>> > > This is the pip log >>>>> > > >>>>> > > Ignoring indexes: https://pypi.python.org/simple/ >>>>> > > >>>>> > > Downloading/unpacking django-taggit==0.10 >>>>> > > >>>>> > > URLs to search for versions for django-taggit==0.10: >>>>> > > Skipping link file:///opt/schoolserver/pip-packages (from -f); >>>>> not a >>>>> > > file >>>>> > > Skipping link >>>>> > > file:///opt/schoolserver/pip-packages/pyzmq-14.7.0.tar.gz; >>>>> > > wrong project name (not django-taggit) >>>>> > > Skipping link >>>>> > > >>>>> file:///opt/schoolserver/pip-packages/speedtest_cli-0.3.2-py2.py3-none-any.whl; >>>>> > > unknown archive format: .whl >>>>> > > Skipping link >>>>> > > file:///opt/schoolserver/pip-packages/xs-authserver-0.1.7.tar.gz; >>>>> wrong >>>>> > > project name (not django-taggit) >>>>> > > Skipping link >>>>> > > file:///opt/schoolserver/pip-packages/Flask-0.10.1.tar.gz; >>>>> > > wrong project name (not django-taggit) >>>>> > > Skipping link >>>>> > > >>>>> file:///opt/schoolserver/pip-packages/Werkzeug-0.10.4-py2.py3-none-any.whl; >>>>> > > unknown archive format: .whl >>>>> > > Skipping link >>>>> > > >>>>> file:///opt/schoolserver/pip-packages/Jinja2-2.8-py2.py3-none-any.whl; >>>>> > > unknown archive format: .whl >>>>> > > Skipping link >>>>> > > file:///opt/schoolserver/pip-packages/itsdangerous-0.24.tar.gz; >>>>> wrong >>>>> > > project name (not django-taggit) >>>>> > > Skipping link >>>>> > > file:///opt/schoolserver/pip-packages/MarkupSafe-0.23.tar.gz; wrong >>>>> > > project >>>>> > > name (not django-taggit) >>>>> > > Skipping link >>>>> > > file:///opt/schoolserver/pip-packages/ez_setup-0.9.tar.gz; >>>>> > > wrong project name (not django-taggit) >>>>> > > Skipping link >>>>> > > >>>>> file:///opt/schoolserver/pip-packages/pytz-2015.4-py2.py3-none-any.whl; >>>>> > > unknown archive format: .whl >>>>> > > Skipping link >>>>> > > >>>>> file:///opt/schoolserver/pip-packages/Internet-in-a-Box-0.5.10.tar.gz; >>>>> > > wrong project name (not django-taggit) >>>>> > > Skipping link >>>>> > > file:///opt/schoolserver/pip-packages/Flask-Babel-0.9.tar.gz; wrong >>>>> > > project >>>>> > > name (not django-taggit) >>>>> > > Skipping link >>>>> > > file:///opt/schoolserver/pip-packages/Flask-AutoIndex-0.5.tar.gz; >>>>> wrong >>>>> > > project name (not django-taggit) >>>>> > > Skipping link >>>>> > > file:///opt/schoolserver/pip-packages/Flask-SQLAlchemy-2.0.tar.gz; >>>>> > > wrong >>>>> > > project name (not django-taggit) >>>>> > > Skipping link >>>>> > > file:///opt/schoolserver/pip-packages/SQLAlchemy-1.0.8.tar.gz; >>>>> wrong >>>>> > > project name (not django-taggit) >>>>> > > Skipping link >>>>> > > file:///opt/schoolserver/pip-packages/Whoosh-2.7.0.tar.gz; >>>>> > > wrong project name (not django-taggit) >>>>> > > Skipping link >>>>> > > file:///opt/schoolserver/pip-packages/backports.lzma-0.0.3.tar.gz; >>>>> > > wrong >>>>> > > project name (not django-taggit) >>>>> > > Skipping link >>>>> > > file:///opt/schoolserver/pip-packages/repoze.lru-0.6.tar.gz; wrong >>>>> > > project >>>>> > > name (not django-taggit) >>>>> > > Skipping link >>>>> file:///opt/schoolserver/pip-packages/Babel-2.0.tar.gz; >>>>> > > wrong project name (not django-taggit) >>>>> > > Skipping link >>>>> > > file:///opt/schoolserver/pip-packages/speaklater-1.3.tar.gz; wrong >>>>> > > project >>>>> > > name (not django-taggit) >>>>> > > Skipping link >>>>> > > file:///opt/schoolserver/pip-packages/Flask-Silk-0.2.tar.gz; wrong >>>>> > > project >>>>> > > name (not django-taggit) >>>>> > > Skipping link >>>>> file:///opt/schoolserver/pip-packages/Whoosh-2.6.0.zip; >>>>> > > wrong project name (not django-taggit) >>>>> > > Skipping link >>>>> > > file:///opt/schoolserver/pip-packages/Django-1.4.5.tar.gz; >>>>> > > wrong project name (not django-taggit) >>>>> > > Skipping link >>>>> > > file:///opt/schoolserver/pip-packages/django-tagging-0.3.1.tar.gz; >>>>> > > wrong >>>>> > > project name (not django-taggit) >>>>> > > Skipping link >>>>> > > file:///opt/schoolserver/pip-packages/django-sendfile-0.3.6.tar.gz; >>>>> > > wrong >>>>> > > project name (not django-taggit) >>>>> > > Skipping link >>>>> > > >>>>> file:///opt/schoolserver/pip-packages/Django-1.8.4-py2.py3-none-any.whl; >>>>> > > unknown archive format: .whl >>>>> > > Skipping link >>>>> > > file:///opt/schoolserver/pip-packages/Unidecode-0.04.18.tar.gz; >>>>> wrong >>>>> > > project name (not django-taggit) >>>>> > > Skipping link >>>>> > > >>>>> file:///opt/schoolserver/pip-packages/django_taggit-0.10-py2.py3-none-any.whl; >>>>> > > unknown archive format: .whl >>>>> > > Skipping link >>>>> > > file:///opt/schoolserver/pip-packages/lxml-3.4.4.tar.gz; >>>>> > > wrong project name (not django-taggit) >>>>> > > Could not find any downloads that satisfy the requirement >>>>> > > django-taggit==0.10 >>>>> > > >>>>> > > Cleaning up... >>>>> > > >>>>> > > Removing temporary dir /usr/local/pathagar/venv/build... >>>>> > > No distributions at all found for django-taggit==0.10 >>>>> > > >>>>> > > Exception information: >>>>> > > Traceback (most recent call last): >>>>> > > File >>>>> > > >>>>> "/usr/local/pathagar/venv/lib/python2.7/site-packages/pip/basecommand.py", >>>>> > > line 134, in main >>>>> > > status = self.run(options, args) >>>>> > > File >>>>> > > >>>>> "/usr/local/pathagar/venv/lib/python2.7/site-packages/pip/commands/install.py", >>>>> > > line 236, in run >>>>> > > requirement_set.prepare_files(finder, >>>>> > > force_root_egg_info=self.bundle, >>>>> > > bundle=self.bundle) >>>>> > > File >>>>> > > "/usr/local/pathagar/venv/lib/python2.7/site-packages/pip/req.py", >>>>> > > line 1085, in prepare_files >>>>> > > url = finder.find_requirement(req_to_install, >>>>> upgrade=self.upgrade) >>>>> > > File >>>>> > > >>>>> "/usr/local/pathagar/venv/lib/python2.7/site-packages/pip/index.py", >>>>> > > line >>>>> > > 265, in find_requirement >>>>> > > raise DistributionNotFound('No distributions at all found for >>>>> %s' % >>>>> > > req) >>>>> > > DistributionNotFound: No distributions at all found for >>>>> > > django-taggit==0.10 >>>>> > > >>>>> > > >>>>> > > -- >>>>> > > Anish >>>>> > > >>>>> > >>>>> > >>>>> > >>>>> > -- >>>>> > Gonzalo Odiard >>>>> >>>>> I've ran across this issue in the past, does the fix in PR 411[1] look >>>>> correct? >>>>> >>>>> Jerry >>>>> >>>>> 1. https://github.com/XSCE/xsce/pull/411/files >>>>> >>>> >>>> >>>> >>>> >>> >>> >>> >> >> >> -- >> Gonzalo Odiard >> >> > > > -- Gonzalo Odiard
_______________________________________________ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel