1. Georg Brandl
  2. sphinx-contrib
  3. Issues
Issue #25 open

AttributeError: 'SQLTable'

Anonymous created an issue

Python Version: Python 2.7.1+ ubuntu

python-sphinx 1.0.1-1

$ sphinx-build -b html -d build/doctrees source build/html Running Sphinx v1.0.1 Initializing SQLTable loading pickled environment... done building [html]: targets for 1 source files that are out of date updating environment: 0 added, 1 changed, 0 removed Connecting to sqlite:///sampledata.db
Running query u"select name as 'Name', email as 'E-mail' from users\norder by Name asc"

Exception occurred: File "/usr/local/lib/python2.7/dist-packages/sphinxcontrib_sqltable-1.0-py2.7.egg/sphinxcontrib/sqltable.py", line 95, in run self.add_name(table_node) AttributeError: 'SQLTable' object has no attribute 'add_name' The full traceback has been saved in /tmp/sphinx-err-6vttHl.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. Either send bugs to the mailing list at http://groups.google.com/group/sphinx-dev/, or report them in the tracker at http://bitbucket.org/birkenfeld/sphinx/issues/. Thanks!

{{{ $ echo "select * from users;" | sqlite3 sampledata.db
John|john@example.com Jane|jane@example.com Bobby|bobby@example.com Suzy|suzy@example.com }}}

Comments (2)

  1. Laurent Pageon

    Same problem on a fresh install of sqltable contrib :(

    Sphinx version: 1.1.3

    Python version: 2.6.5

    Docutils version: 0.7 release

    Jinja2 version: 2.5.5

    Traceback (most recent call last): ... File "/usr/local/lib/python2.6/dist-packages/sphinxcontrib_sqltable-1.0-py2.6.egg/sphinxcontrib/sqltable.py", line 95, in run self.add_name(table_node) AttributeError: 'SQLTable' object has no attribute 'add_name'

  2. Log in to comment