Skip to content

Instantly share code, notes, and snippets.

@greut
Created May 23, 2014 14:57
Show Gist options
  • Select an option

  • Save greut/6439ecf10b17b01b125e to your computer and use it in GitHub Desktop.

Select an option

Save greut/6439ecf10b17b01b125e to your computer and use it in GitHub Desktop.
before vs after greut:sphinx-warnings
running build_sphinx
creating /home/vagrant/invenio/docs/_build/doctrees
Running Sphinx v1.2.2
Please run: `pip install sphinx_rtd_theme`
/home/vagrant/.virtualenvs/pu/local/lib/python2.7/site-packages/pyparsing.py:3546: DeprecationWarning: Operator '<<' is deprecated, use '<<=' instead
ret << Group( Suppress(opener) + ZeroOrMore( ignoreExpr | ret | content ) + Suppress(closer) )
/home/vagrant/.virtualenvs/pu/local/lib/python2.7/site-packages/sqlalchemy/dialects/mysql/base.py:392: SADeprecationWarning: Passing arguments to type object constructor <class 'sqlalchemy.dialects.mysql.base.INTEGER'> is deprecated
super(_NumericType, self).__init__(**kw)
loading pickled environment... not yet created
loading intersphinx inventory from https://docs.python.org/2.7/objects.inv...
loading intersphinx inventory from http://flask.pocoo.org/docs/objects.inv...
loading intersphinx inventory from http://flask-registry.readthedocs.org/en/latest/objects.inv...
loading intersphinx inventory from http://werkzeug.pocoo.org/docs/objects.inv...
loading intersphinx inventory from http://flask-assets.readthedocs.org/en/latest/objects.inv...
building [html]: all source files
updating environment: 34 added, 0 changed, 0 removed
reading sources... [ 2%] api
reading sources... [ 5%] base
reading sources... [ 8%] developers/extensions
reading sources... [ 11%] developers/git-workflow
reading sources... [ 14%] developers/howtomodule
reading sources... [ 17%] developers/howtomodulepart2
reading sources... [ 20%] developers/howtomodulepart3
reading sources... [ 23%] developers/index
reading sources... [ 26%] developers/introduction
reading sources... [ 29%] developers/kwalitee
reading sources... [ 32%] developers/models
reading sources... [ 35%] developers/modules
reading sources... [ 38%] developers/registries
reading sources... [ 41%] developers/templates
reading sources... [ 44%] ext/assets
reading sources... [ 47%] ext/sqlalchemy
reading sources... [ 50%] getting-started/common-concepts
reading sources... [ 52%] getting-started/demo
reading sources... [ 55%] getting-started/features
reading sources... [ 58%] getting-started/first-steps
reading sources... [ 61%] getting-started/index
reading sources... [ 64%] getting-started/introduction
reading sources... [ 67%] index
reading sources... [ 70%] legacy/bibrecord
reading sources... [ 73%] license
reading sources... [ 76%] modules/annotations
reading sources... [ 79%] modules/apikeys
reading sources... [ 82%] modules/documents
reading sources... [ 85%] modules/formatter
reading sources... [ 88%] modules/jsonalchemy
reading sources... [ 91%] modules/tags
reading sources... [ 94%] modules/upgrader
reading sources... [ 97%] modules/workflows
reading sources... [100%] upgrading
/home/vagrant/invenio/invenio/base/wrappers.py:docstring of invenio.base.wrappers:36: ERROR: Inconsistent literal block quoting.
/home/vagrant/invenio/docs/developers/extensions.rst:18: WARNING: Title underline too short.
Plugging an Existing Extension
-----------------------------
/home/vagrant/invenio/docs/developers/git-workflow.rst:55: ERROR: Error in "code-block" directive:
maximum 1 argument(s) allowed, 8 supplied.
.. code-block:: console
$ cd ~/src
$ git clone http://invenio-software.org/repo/invenio.git
/home/vagrant/invenio/docs/developers/modules.rst:6: ERROR: Unknown target name: "sqlalchemy".
/home/vagrant/invenio/docs/developers/modules.rst:6: ERROR: Unknown target name: "flask".
/home/vagrant/invenio/docs/developers/modules.rst:6: ERROR: Unknown target name: "jinja2".
INSTALL.rst:42: ERROR: Error in "code-block" directive:
maximum 1 argument(s) allowed, 23 supplied.
.. code-block:: console
$ sudo add-apt-repository ppa:chris-lea/node.js
$ sudo apt-get update
$ sudo apt-get install nodejs
$ sudo su -c "npm install -g bower grunt-cli"
/home/vagrant/invenio/docs/getting-started/index.rst:5: WARNING: duplicate label getting-started, other instance in /home/vagrant/invenio/docs/developers/index.rst
/home/vagrant/invenio/invenio/legacy/bibrecord/__init__.py:docstring of invenio.legacy.bibrecord.create_record:14: ERROR: Unknown directive type "example".
.. example::
______
|record|
------
__________________________|_______________________________________
|record['001'] |record['909'] |record['520'] |
| | | |
[list of fields] [list of fields] [list of fields] ...
| ______|______________ |
|[0] |[0] |[1] | |[0]
___|_____ _____|___ ___|_____ ... ____|____
|Field 001| |Field 909| |Field 909| |Field 520|
--------- --------- --------- ---------
| _______________|_________________ | |
... |[0] |[1] |[2] | ... ...
| | | |
[list of subfields] 'C' '4'
___|__________________________________________
| | |
('a', 'value') ('b', 'value for subfield b') ('a', 'value for another a')
/home/vagrant/invenio/invenio/legacy/bibrecord/__init__.py:docstring of invenio.legacy.bibrecord.print_recs:4: ERROR: Unexpected indentation.
/home/vagrant/invenio/invenio/legacy/bibrecord/__init__.py:docstring of invenio.legacy.bibrecord.record_add_fields:7: WARNING: Field list ends without a blank line; unexpected unindent.
/home/vagrant/invenio/invenio/legacy/bibrecord/__init__.py:docstring of invenio.legacy.bibrecord.record_delete_fields:12: WARNING: Field list ends without a blank line; unexpected unindent.
/home/vagrant/invenio/invenio/legacy/bibrecord/__init__.py:docstring of invenio.legacy.bibrecord.record_find_field:16: WARNING: Field list ends without a blank line; unexpected unindent.
/home/vagrant/invenio/invenio/legacy/bibrecord/__init__.py:docstring of invenio.legacy.bibrecord.record_get_field:5: WARNING: Field list ends without a blank line; unexpected unindent.
/home/vagrant/invenio/invenio/legacy/bibrecord/__init__.py:docstring of invenio.legacy.bibrecord.record_get_subfields:5: WARNING: Field list ends without a blank line; unexpected unindent.
/home/vagrant/invenio/invenio/legacy/bibrecord/__init__.py:docstring of invenio.legacy.bibrecord.record_move_fields:7: WARNING: Field list ends without a blank line; unexpected unindent.
AUTHORS:95: WARNING: Inline interpreted text or phrase reference start-string without end-string.
AUTHORS:98: WARNING: Inline interpreted text or phrase reference start-string without end-string.
/home/vagrant/invenio/invenio/modules/apikeys/__init__.py:docstring of invenio.modules.apikeys.build_web_request:7: ERROR: Unexpected indentation.
/home/vagrant/invenio/invenio/modules/apikeys/__init__.py:docstring of invenio.modules.apikeys.build_web_request:8: WARNING: Block quote ends without a blank line; unexpected unindent.
/home/vagrant/invenio/invenio/modules/formatter/__init__.py:docstring of invenio.modules.formatter.format_record:26: ERROR: Unexpected indentation.
/home/vagrant/invenio/invenio/modules/formatter/__init__.py:docstring of invenio.modules.formatter.format_record:29: WARNING: Block quote ends without a blank line; unexpected unindent.
/home/vagrant/invenio/invenio/modules/formatter/__init__.py:docstring of invenio.modules.formatter.format_records:34: ERROR: Unexpected indentation.
/home/vagrant/invenio/invenio/modules/formatter/__init__.py:docstring of invenio.modules.formatter.format_records:37: WARNING: Block quote ends without a blank line; unexpected unindent.
/home/vagrant/invenio/invenio/modules/jsonalchemy/parser.py:docstring of invenio.modules.jsonalchemy.parser:2: WARNING: Title underline too short.
invenio.modules.jsonalchemy.parser
---------------------------------
/home/vagrant/invenio/invenio/modules/jsonalchemy/parser.py:docstring of invenio.modules.jsonalchemy.parser.ModelParser.resolve_models:7: WARNING: Field list ends without a blank line; unexpected unindent.
/home/vagrant/invenio/invenio/modules/jsonalchemy/storage.py:docstring of invenio.modules.jsonalchemy.storage.Storage.get_field_values:5: WARNING: Field list ends without a blank line; unexpected unindent.
/home/vagrant/invenio/invenio/modules/tags/models.py:docstring of invenio.modules.tags.models.wash_tag_silent:5: WARNING: Field list ends without a blank line; unexpected unindent.
<autodoc>:0: WARNING: duplicate object description of invenio.modules.tags.views.attach, other instance in /home/vagrant/invenio/docs/modules/tags.rst, use :noindex: for one of them
<autodoc>:0: WARNING: duplicate object description of invenio.modules.tags.views.create, other instance in /home/vagrant/invenio/docs/modules/tags.rst, use :noindex: for one of them
<autodoc>:0: WARNING: duplicate object description of invenio.modules.tags.views.delete, other instance in /home/vagrant/invenio/docs/modules/tags.rst, use :noindex: for one of them
<autodoc>:0: WARNING: duplicate object description of invenio.modules.tags.views.detach, other instance in /home/vagrant/invenio/docs/modules/tags.rst, use :noindex: for one of them
<autodoc>:0: WARNING: duplicate object description of invenio.modules.tags.views.display_cloud, other instance in /home/vagrant/invenio/docs/modules/tags.rst, use :noindex: for one of them
<autodoc>:0: WARNING: duplicate object description of invenio.modules.tags.views.display_list, other instance in /home/vagrant/invenio/docs/modules/tags.rst, use :noindex: for one of them
<autodoc>:0: WARNING: duplicate object description of invenio.modules.tags.views.editor, other instance in /home/vagrant/invenio/docs/modules/tags.rst, use :noindex: for one of them
<autodoc>:0: WARNING: duplicate object description of invenio.modules.tags.views.record_tags, other instance in /home/vagrant/invenio/docs/modules/tags.rst, use :noindex: for one of them
<autodoc>:0: WARNING: duplicate object description of invenio.modules.tags.views.tag_details, other instance in /home/vagrant/invenio/docs/modules/tags.rst, use :noindex: for one of them
<autodoc>:0: WARNING: duplicate object description of invenio.modules.tags.views.tag_edit, other instance in /home/vagrant/invenio/docs/modules/tags.rst, use :noindex: for one of them
<autodoc>:0: WARNING: duplicate object description of invenio.modules.tags.views.tokenize, other instance in /home/vagrant/invenio/docs/modules/tags.rst, use :noindex: for one of them
<autodoc>:0: WARNING: duplicate object description of invenio.modules.tags.views.update_annotation, other instance in /home/vagrant/invenio/docs/modules/tags.rst, use :noindex: for one of them
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [ 2%] api
writing output... [ 5%] base
writing output... [ 8%] developers/extensions
writing output... [ 11%] developers/git-workflow
writing output... [ 14%] developers/howtomodule
writing output... [ 17%] developers/howtomodulepart2
writing output... [ 20%] developers/howtomodulepart3
writing output... [ 23%] developers/index
writing output... [ 26%] developers/introduction
writing output... [ 29%] developers/kwalitee
writing output... [ 32%] developers/models
writing output... [ 35%] developers/modules
writing output... [ 38%] developers/registries
writing output... [ 41%] developers/templates
writing output... [ 44%] ext/assets
writing output... [ 47%] ext/sqlalchemy
writing output... [ 50%] getting-started/common-concepts
writing output... [ 52%] getting-started/demo
writing output... [ 55%] getting-started/features
writing output... [ 58%] getting-started/first-steps
writing output... [ 61%] getting-started/index
writing output... [ 64%] getting-started/introduction
writing output... [ 67%] index
writing output... [ 70%] legacy/bibrecord
writing output... [ 73%] license
writing output... [ 76%] modules/annotations
writing output... [ 79%] modules/apikeys
writing output... [ 82%] modules/documents
writing output... [ 85%] modules/formatter
writing output... [ 88%] modules/jsonalchemy
writing output... [ 91%] modules/tags
writing output... [ 94%] modules/upgrader
writing output... [ 97%] modules/workflows
writing output... [100%] upgrading
writing additional files... genindex py-modindex search
copying images... [ 10%] _static/logo-full.png
copying images... [ 20%] _static/snap2.gif
copying images... [ 30%] _static/invenio-git-workflow.png
copying images... [ 40%] _static/invenio_formats.jpg
copying images... [ 50%] _static/invenio-git-branches.png
copying images... [ 60%] _static/snap4.gif
copying images... [ 70%] _static/Inspire20120611.png
copying images... [ 80%] _static/snap3.gif
copying images... [ 90%] _static/CDS20120611.png
copying images... [100%] _static/snap1.gif
copying static files... done
copying extra files... done
dumping search index... done
dumping object inventory... done
build succeeded, 40 warnings.
running build_sphinx
creating /home/vagrant/invenio/docs/_build/doctrees
Running Sphinx v1.2.2
Template sphinx_rtd_theme not found, run:
pip install -r /home/vagrant/invenio/docs/requirements.txt
/home/vagrant/.virtualenvs/pu/local/lib/python2.7/site-packages/pyparsing.py:3546: DeprecationWarning: Operator '<<' is deprecated, use '<<=' instead
ret << Group( Suppress(opener) + ZeroOrMore( ignoreExpr | ret | content ) + Suppress(closer) )
/home/vagrant/.virtualenvs/pu/local/lib/python2.7/site-packages/sqlalchemy/dialects/mysql/base.py:392: SADeprecationWarning: Passing arguments to type object constructor <class 'sqlalchemy.dialects.mysql.base.INTEGER'> is deprecated
super(_NumericType, self).__init__(**kw)
loading pickled environment... not yet created
loading intersphinx inventory from http://docs.sqlalchemy.org/en/latest/objects.inv...
loading intersphinx inventory from http://jinja.pocoo.org/docs/objects.inv...
loading intersphinx inventory from https://docs.python.org/2.7/objects.inv...
loading intersphinx inventory from http://flask.pocoo.org/docs/objects.inv...
loading intersphinx inventory from http://werkzeug.pocoo.org/docs/objects.inv...
loading intersphinx inventory from http://flask-assets.readthedocs.org/en/latest/objects.inv...
loading intersphinx inventory from http://flask-registry.readthedocs.org/en/latest/objects.inv...
building [html]: all source files
updating environment: 34 added, 0 changed, 0 removed
reading sources... [ 2%] api
reading sources... [ 5%] base
reading sources... [ 8%] developers/extensions
reading sources... [ 11%] developers/git-workflow
reading sources... [ 14%] developers/howtomodule
reading sources... [ 17%] developers/howtomodulepart2
reading sources... [ 20%] developers/howtomodulepart3
reading sources... [ 23%] developers/index
reading sources... [ 26%] developers/introduction
reading sources... [ 29%] developers/kwalitee
reading sources... [ 32%] developers/models
reading sources... [ 35%] developers/modules
reading sources... [ 38%] developers/registries
reading sources... [ 41%] developers/templates
reading sources... [ 44%] ext/assets
reading sources... [ 47%] ext/sqlalchemy
reading sources... [ 50%] getting-started/common-concepts
reading sources... [ 52%] getting-started/demo
reading sources... [ 55%] getting-started/features
reading sources... [ 58%] getting-started/first-steps
reading sources... [ 61%] getting-started/index
reading sources... [ 64%] getting-started/introduction
reading sources... [ 67%] index
reading sources... [ 70%] legacy/bibrecord
reading sources... [ 73%] license
reading sources... [ 76%] modules/annotations
reading sources... [ 79%] modules/apikeys
reading sources... [ 82%] modules/documents
reading sources... [ 85%] modules/formatter
reading sources... [ 88%] modules/jsonalchemy
reading sources... [ 91%] modules/tags
reading sources... [ 94%] modules/upgrader
reading sources... [ 97%] modules/workflows
reading sources... [100%] upgrading
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [ 2%] api
writing output... [ 5%] base
writing output... [ 8%] developers/extensions
writing output... [ 11%] developers/git-workflow
writing output... [ 14%] developers/howtomodule
writing output... [ 17%] developers/howtomodulepart2
writing output... [ 20%] developers/howtomodulepart3
writing output... [ 23%] developers/index
writing output... [ 26%] developers/introduction
writing output... [ 29%] developers/kwalitee
writing output... [ 32%] developers/models
writing output... [ 35%] developers/modules
writing output... [ 38%] developers/registries
writing output... [ 41%] developers/templates
writing output... [ 44%] ext/assets
writing output... [ 47%] ext/sqlalchemy
writing output... [ 50%] getting-started/common-concepts
writing output... [ 52%] getting-started/demo
writing output... [ 55%] getting-started/features
writing output... [ 58%] getting-started/first-steps
writing output... [ 61%] getting-started/index
writing output... [ 64%] getting-started/introduction
writing output... [ 67%] index
writing output... [ 70%] legacy/bibrecord
writing output... [ 73%] license
writing output... [ 76%] modules/annotations
writing output... [ 79%] modules/apikeys
writing output... [ 82%] modules/documents
writing output... [ 85%] modules/formatter
writing output... [ 88%] modules/jsonalchemy
writing output... [ 91%] modules/tags
writing output... [ 94%] modules/upgrader
writing output... [ 97%] modules/workflows
writing output... [100%] upgrading
writing additional files... genindex py-modindex search
copying images... [ 10%] _static/logo-full.png
copying images... [ 20%] _static/snap2.gif
copying images... [ 30%] _static/invenio-git-workflow.png
copying images... [ 40%] _static/invenio_formats.jpg
copying images... [ 50%] _static/invenio-git-branches.png
copying images... [ 60%] _static/snap4.gif
copying images... [ 70%] _static/Inspire20120611.png
copying images... [ 80%] _static/snap3.gif
copying images... [ 90%] _static/CDS20120611.png
copying images... [100%] _static/snap1.gif
copying static files... done
copying extra files... done
dumping search index... done
dumping object inventory... done
build succeeded.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment