Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #9646

Re: updating packages

Path csiph.com!weretis.net!feeder6.news.weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Brian May <bam@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: updating packages
Date Sat, 29 Jul 2017 12:30:02 +0200
Message-ID <u8xaq-P0-9@gated-at.bofh.it> (permalink)
References <tZi0V-7N4-7@gated-at.bofh.it> <u8wo2-fs-17@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Sat Jul 29 10:27:29 2017
Old-Return-Path <brian@microcomaustralia.com.au>
X-Amavis-Spam-Status No, score=-5.899 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FOURLA=0.1, GMAIL=1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .microcomaustralia. - helo: .mail-pg0-x22d.google. - helo-domain: .google.) FROM/MX_MATCHES_NOT_HELO(DOMAIN)=0; rate: -5
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=microcomaustralia.com.au; s=google; h=sender:from:to:cc:subject:in-reply-to:organization:references:date :message-id:mime-version; bh=qxx0UdSdCDytiCAB3QSgyJD+insILmQPlAw1KRkY/Ng=; b=C1URfr/OCJ/9Kvc5dZVkAM0bdq1vM4mUTIwKfpRCTNku3fY49GRCLWgmyMH1RrQnHB /1bbwuCarFKbiRBHC9hNlgqd0kb5sO+Xxkf2scNNMdtsw4PCWMO1GPvZ+pum68AA+cag h/96w9kXNu/AxfUYFu1wWCO4Ol/VFm4VWL9XI=
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to :organization:references:date:message-id:mime-version; bh=qxx0UdSdCDytiCAB3QSgyJD+insILmQPlAw1KRkY/Ng=; b=szAB5sI1/KIcVTJsiT5TRY7m+F0NBBJV3Ke8/M/ErrHQUH6p7Y7PrWXu/ILh2cgyEH oX4QOg36TztgZsTKFHN7MVHcsEH4swZmr+v5jqmg1Hn3yfCxadoqge+pYQy4PUtMK25C MWiupMUMY+27ryfNSMF5Gy4Qh2SQbOMUA7tctLM+4drQ2TkplBvOAew1FyuY0bjDE5J3 XFR4zcbHsVtxz1DR9CTfTl1wV4LEmDPtS5ASViiyqQf18UIWLYc9qfR92sNugYpTnp1Y 7hPxf0DzYF887OtvVFm0za8HAQ9+1htrCauwti5vhTjo2gavRSfThWJN0NsaQQ0EhmM8 pR7g==
X-Gm-Message-State AIVw111iE5VyTfMEB7vhHmiHzMIcMaWvGgHO9VgjSXySyomNPVPwoqKF 2jeKcbVjW6po3VCi
X-Received by 10.84.209.169 with SMTP id y38mr10628743plh.230.1501324027291; Sat, 29 Jul 2017 03:27:07 -0700 (PDT)
Sender robomod@news.nic.it
Organization Debian
MIME-Version 1.0
Content-Type text/plain
X-Mailing-List <debian-python@lists.debian.org> archive/latest/15027
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/87zibnr11m.fsf@prune.linuxpenguins.xyz
Approved robomod@news.nic.it
Lines 58
X-Original-Cc debian-python@lists.debian.org
X-Original-Date Sat, 29 Jul 2017 20:27:01 +1000
X-Original-Message-ID <87zibnr11m.fsf@prune.linuxpenguins.xyz>
X-Original-References <87h8ytma7m.fsf@prune.linuxpenguins.xyz> <CAEjvcd-y4VN8Cpt5m99yfP87UVatV3pWREPKYkHLjbofC8Ki+Q@mail.gmail.com>
X-Original-Sender Brian May <brian@microcomaustralia.com.au>
Xref csiph.com linux.debian.maint.python:9646

Show key headers only | View raw


Christopher Hoskin <christopher.hoskin@gmail.com> writes:

> sphinx_celery is already packaged as sphinx-celery:
>
> https://packages.qa.debian.org/s/sphinx-celery.html

Only has a Python 3 version. Not sure if this matters.

At the moment, when I try to build djangorestframework I get the
following error. Maybe jinja2 is too old or too new?

# Build the HTML documentation.
mkdir /<<PKGBUILDDIR>>/docs.debian
LC_ALL=C.UTF-8 PYTHONPATH=/usr/share/mkdocs/themes mkdocs build && mv site docs.debian/html
INFO    -  Building documentation to directory: /<<PKGBUILDDIR>>/site 
Traceback (most recent call last):
  File "/usr/bin/mkdocs", line 9, in <module>
    load_entry_point('mkdocs==0.15.3', 'console_scripts', 'mkdocs')()
  File "/usr/lib/python3/dist-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3/dist-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3/dist-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/mkdocs/__main__.py", line 137, in build_command
    ), clean_site_dir=clean)
  File "/usr/lib/python3/dist-packages/mkdocs/commands/build.py", line 290, in build
    build_pages(config)
  File "/usr/lib/python3/dist-packages/mkdocs/commands/build.py", line 234, in build_pages
    build_template('404.html', env, config, site_navigation)
  File "/usr/lib/python3/dist-packages/mkdocs/commands/build.py", line 149, in build_template
    output_content = template.render(context)
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1008, in render
    return self.environment.handle_exception(exc_info, True)
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 780, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 37, in reraise
    raise value.with_traceback(tb)
  File "/<<PKGBUILDDIR>>/docs_theme/404.html", line 1, in top-level template code
    {% extends "main.html" %}
  File "/<<PKGBUILDDIR>>/docs_theme/main.html", line 7, in top-level template code
    <title>{% if page.title %}{{ page.title }} - {% endif %}{{ config.site_name }}</title>
  File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 430, in getattr
    return getattr(obj, attribute)
jinja2.exceptions.UndefinedError: 'page' is undefined
debian/rules:12: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:9: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

-- 
Brian May <bam@debian.org>

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

updating packages Brian May <brian@linuxpenguins.xyz> - 2017-07-04 00:30 +0200
  Re: updating packages FladischerMichael@fladi.at - 2017-07-25 23:00 +0200
    Re: updating packages Brian May <bam@debian.org> - 2017-07-29 09:20 +0200
  Re: updating packages Christopher Hoskin <christopher.hoskin@gmail.com> - 2017-07-29 11:40 +0200
    Re: updating packages Brian May <bam@debian.org> - 2017-07-29 12:30 +0200
      Re: updating packages Christopher Hoskin <christopher.hoskin@gmail.com> - 2017-07-29 12:50 +0200
        Re: updating packages Brian May <bam@debian.org> - 2017-07-30 11:20 +0200
        Re: updating packages Michael Fladischer <michael@fladi.at> - 2017-08-01 10:30 +0200
          Re: updating packages Christopher Hoskin <christopher.hoskin@gmail.com> - 2017-08-01 12:00 +0200
            Re: updating packages Brian May <bam@debian.org> - 2017-08-01 12:20 +0200
            Re: updating packages Michael Fladischer <michael@fladi.at> - 2017-08-02 09:40 +0200

csiph-web