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