Git Product home page Git Product logo

dblog's Issues

SphinxWarning: autodoc_default_flags is now deprecated, treated as error

Dear @lsaffre ,

I followed your tutorial for making my own blog based on the template you have (dblog). Everything seems to work fine until I execute inv bd.

The command starts to execute and it crashes with the following output:
"""
Invoking Sphinx in directory /home/localaccount/lab_8/blog/docs...
Invoke sphinx-build -b html -T -W . /home/localaccount/lab_8/blog/docs/.build
Running Sphinx v1.8.0
loading translations [en]... done

Traceback (most recent call last):
File "/home/localaccount/lab_8/venv8/local/lib/python2.7/site-packages/sphinx/cmd/build.py", line 303, in build_main
args.tags, args.verbosity, args.jobs, args.keep_going)
File "/home/localaccount/lab_8/venv8/local/lib/python2.7/site-packages/sphinx/application.py", line 251, in init
self.emit('config-inited', self.config)
File "/home/localaccount/lab_8/venv8/local/lib/python2.7/site-packages/sphinx/application.py", line 510, in emit
return self.events.emit(event, self, *args)
File "/home/localaccount/lab_8/venv8/local/lib/python2.7/site-packages/sphinx/events.py", line 80, in emit
results.append(callback(*args))
File "/home/localaccount/lab_8/venv8/local/lib/python2.7/site-packages/sphinx/ext/autodoc/init.py", line 1565, in merge_autodoc_default_flags
logger.warning(__('autodoc_default_flags is now deprecated. '
File "/usr/lib/python2.7/logging/init.py", line 1456, in warning
self.logger.warning(msg, *args, **kwargs)
File "/usr/lib/python2.7/logging/init.py", line 1179, in warning
self._log(WARNING, msg, args, **kwargs)
File "/usr/lib/python2.7/logging/init.py", line 1286, in _log
self.handle(record)
File "/usr/lib/python2.7/logging/init.py", line 1296, in handle
self.callHandlers(record)
File "/usr/lib/python2.7/logging/init.py", line 1336, in callHandlers
hdlr.handle(record)
File "/usr/lib/python2.7/logging/init.py", line 755, in handle
rv = self.filter(record)
File "/usr/lib/python2.7/logging/init.py", line 617, in filter
if not f.filter(record):
File "/home/localaccount/lab_8/venv8/local/lib/python2.7/site-packages/sphinx/util/logging.py", line 412, in filter
raise SphinxWarning(message)
SphinxWarning: autodoc_default_flags is now deprecated. Please use autodoc_default_options instead.

Warning, treated as error:
autodoc_default_flags is now deprecated. Please use autodoc_default_options instead.
"""

"localaccount" is an alias for my local user account and not a typo.

My venv has these versions installed:

  • python 2.7.13
  • atelier 1.1.8
  • Sphinx 1.8.0

Btw, did not spot a "requirements.txt" so I was not sure if had the versions correctly.

I also noticed by some brief research on the error that similar sphinx-related issues were reported (in different context) in the past few days.

Thank you in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.