Re: [Server-devel] [XSCE] Proposal : Disable pathagar installation by default
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 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-taggi
Re: [Server-devel] olpc-dm/Xorg segfault only if during systemd boot
The resolution to the segfault in olpc-dm turned out to be obvious. XSCE developers have responded to on-the-ground requests for teamviewer, and added it to the ansible playbook, without realizing that it is not compatible with olpc-dm. Teamviewer daemon was being pulled in by graphical.target. The ansible playbook will be updated On Mon, Sep 7, 2015 at 3:37 PM, James Cameron wrote: > The first message is a result of your problem, not a cause. > > The second message is normal, verified in my test just now, therefore > not related to your problem. > > To look at the systemd journal for olpc-dm ... > > systemctl status olpc-dm.service | cat > > To look at olpc-dm client logs ... > > cat /tmp/olpc-dm* > > Do both of these in the failed state as well as the working state to > identify the differences. > > On Mon, Sep 07, 2015 at 03:21:10PM -0700, George Hunt wrote: > > I missed one obvious clue, thinking that Xorg.log was the strategic > place to > > look. > > > > /var/log/messages (search olpc-dm) shows > > > > • "olpc-dm.service holdoff time over, scheduling restart" > > • and then "xauth: file /var/tmp/olpc-auth/.Xauthority does not exist" > > > > googling "Xauthority create olpc" does not give a good hit, but suggests > I > > should learn olpc-utils better. > > > > On Mon, Sep 7, 2015 at 2:44 PM, James Cameron <[1]qu...@laptop.org> > wrote: > > > > I'm interested in finding the cause; any such race condition that > > prevents X startup may eventually occur depending on timing, so is > > there some simple reproducer that we can apply to OLPC OS? > > > > Where are your changes relative to OLPC OS? > > > > What does the systemd journal say about olpc-dm service? > > > > How do the journal, olpc-dm logs, and X logs differ between working > > and failing case? > > > > Where does gdb show the segmentation fault occurs? > > > > -- > > James Cameron > > [2]http://quozl.linux.org.au/ > > > > References: > > > > [1] mailto:qu...@laptop.org > > [2] http://quozl.linux.org.au/ > > > ___ > > Devel mailing list > > de...@lists.laptop.org > > http://lists.laptop.org/listinfo/devel > > > -- > James Cameron > http://quozl.linux.org.au/ > ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] [XSCE] Proposal : Disable pathagar installation by default
Great! On Fri, Sep 11, 2015 at 1:36 PM, Anish Mangal 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 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 wrote: >> >>> >>> >>> > On September 11, 2015 at 9:41 AM Gonzalo Odiard >>> > 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 >>> 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 >>> > > >