tkf / auto-complete-rst

Auto-complete extension for ReST and Sphinx
9 stars 1 forks source link

Failed to eval the source generated by genesource.py #2

Open ChillarAnand opened 9 years ago

ChillarAnand commented 9 years ago

if i add (auto-complete-rst-init) to .emacs, it it throwing

Warning (emacs): [auto-complete-rst] Failed to eval the source generated by genesource.py. Got: (void-variable Traceback)
stig commented 9 years ago

I also see this.

stig commented 9 years ago

My python install was missing some modules. This fixed it for me:

brew install python # necessary to get pip on os x mavericks
pip install jinja2 docutils sphinx
stardiviner commented 8 years ago

@stig How to you specify the vairable auto-complete-rst-sphinx-extensions ?

stig commented 8 years ago

@stardiviner I don't... I have this config:

(use-package auto-complete-rst
  :mode "\\.rst\'"
  :config
  (auto-complete-rst-init)
  (setq auto-complete-rst-other-sources
        '(ac-source-filename
          ac-source-abbrev
          ac-source-dictionary
          ac-source-yasnippet)))

See my full ReST-related config here: https://github.com/stig/dot-files/blob/master/emacs.d/README.org#sphinx--restructuredtext