[Python-modules-team] Bug#832854: python-restless: FTBFS: RuntimeError: Working outside of request context.

Lucas Nussbaum lucas at debian.org
Fri Jul 29 07:58:03 UTC 2016


Source: python-restless
Version: 2.0.1-6
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160728 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/«PKGBUILDDIR»'
> dh_auto_build
> I: pybuild base:184: /usr/bin/python setup.py build 
> running build
> running build_py
> creating /«PKGBUILDDIR»/.pybuild/pythonX.Y_2.7/build/restless
> copying restless/it.py -> /«PKGBUILDDIR»/.pybuild/pythonX.Y_2.7/build/restless
> copying restless/data.py -> /«PKGBUILDDIR»/.pybuild/pythonX.Y_2.7/build/restless
> copying restless/preparers.py -> /«PKGBUILDDIR»/.pybuild/pythonX.Y_2.7/build/restless
> copying restless/dj.py -> /«PKGBUILDDIR»/.pybuild/pythonX.Y_2.7/build/restless
> copying restless/constants.py -> /«PKGBUILDDIR»/.pybuild/pythonX.Y_2.7/build/restless
> copying restless/pyr.py -> /«PKGBUILDDIR»/.pybuild/pythonX.Y_2.7/build/restless
> copying restless/utils.py -> /«PKGBUILDDIR»/.pybuild/pythonX.Y_2.7/build/restless
> copying restless/resources.py -> /«PKGBUILDDIR»/.pybuild/pythonX.Y_2.7/build/restless
> copying restless/exceptions.py -> /«PKGBUILDDIR»/.pybuild/pythonX.Y_2.7/build/restless
> copying restless/__init__.py -> /«PKGBUILDDIR»/.pybuild/pythonX.Y_2.7/build/restless
> copying restless/fl.py -> /«PKGBUILDDIR»/.pybuild/pythonX.Y_2.7/build/restless
> copying restless/tnd.py -> /«PKGBUILDDIR»/.pybuild/pythonX.Y_2.7/build/restless
> copying restless/serializers.py -> /«PKGBUILDDIR»/.pybuild/pythonX.Y_2.7/build/restless
> I: pybuild base:184: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /«PKGBUILDDIR»/.pybuild/pythonX.Y_3.5/build/restless
> copying restless/it.py -> /«PKGBUILDDIR»/.pybuild/pythonX.Y_3.5/build/restless
> copying restless/data.py -> /«PKGBUILDDIR»/.pybuild/pythonX.Y_3.5/build/restless
> copying restless/preparers.py -> /«PKGBUILDDIR»/.pybuild/pythonX.Y_3.5/build/restless
> copying restless/dj.py -> /«PKGBUILDDIR»/.pybuild/pythonX.Y_3.5/build/restless
> copying restless/constants.py -> /«PKGBUILDDIR»/.pybuild/pythonX.Y_3.5/build/restless
> copying restless/pyr.py -> /«PKGBUILDDIR»/.pybuild/pythonX.Y_3.5/build/restless
> copying restless/utils.py -> /«PKGBUILDDIR»/.pybuild/pythonX.Y_3.5/build/restless
> copying restless/resources.py -> /«PKGBUILDDIR»/.pybuild/pythonX.Y_3.5/build/restless
> copying restless/exceptions.py -> /«PKGBUILDDIR»/.pybuild/pythonX.Y_3.5/build/restless
> copying restless/__init__.py -> /«PKGBUILDDIR»/.pybuild/pythonX.Y_3.5/build/restless
> copying restless/fl.py -> /«PKGBUILDDIR»/.pybuild/pythonX.Y_3.5/build/restless
> copying restless/tnd.py -> /«PKGBUILDDIR»/.pybuild/pythonX.Y_3.5/build/restless
> copying restless/serializers.py -> /«PKGBUILDDIR»/.pybuild/pythonX.Y_3.5/build/restless
> PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html
> Running Sphinx v1.4.5
> making output directory...
> loading pickled environment... not yet created
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 21 source files that are out of date
> updating environment: 21 added, 0 changed, 0 removed
> reading sources... [  4%] contributing
> reading sources... [  9%] cookbook
> reading sources... [ 14%] extending
> reading sources... [ 19%] index
> reading sources... [ 23%] philosophy
> reading sources... [ 28%] reference/constants
> reading sources... [ 33%] reference/data
> reading sources... [ 38%] reference/exceptions
> reading sources... [ 42%] reference/preparers
> reading sources... [ 47%] reference/resources
> 
> Exception occurred:
>   File "/usr/lib/python2.7/dist-packages/flask/globals.py", line 37, in _lookup_req_object
>     raise RuntimeError(_request_ctx_err_msg)
> RuntimeError: Working outside of request context.
> 
> This typically means that you attempted to use functionality that needed
> an active HTTP request.  Consult the documentation on testing for
> information about how to avoid this problem.
> The full traceback has been saved in /tmp/sphinx-err-mn4x9G.log, if you want to report the issue to the developers.
> Please also report this if it was a user error, so that a better error message can be provided next time.
> A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
> make[1]: *** [override_dh_auto_build] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/07/28/python-restless_2.0.1-6_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Python-modules-team mailing list