smartparens icon indicating copy to clipboard operation
smartparens copied to clipboard

Generating info file

Open excalamus opened this issue 3 years ago • 1 comments

Expected behavior

Generate an info file

Actual behavior

(virtualenv) user@LAPTOP-MN6L48C1:~/smartparens/docs$ python -V
Python 2.7.17
(virtualenv) user@LAPTOP-MN6L48C1:~/smartparens/docs$ pip list
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Package                  Version
------------------------ ---------
alabaster                0.7.12
argh                     0.26.2
Babel                    2.9.0
backports-abc            0.5
certifi                  2020.11.8
chardet                  3.0.4
docutils                 0.16
futures                  3.3.0
idna                     2.10
imagesize                1.2.0
Jinja2                   2.11.2
livereload               2.6.3
MarkupSafe               1.1.1
packaging                20.7
pathtools                0.1.2
pip                      20.3.1
pkg-resources            0.0.0
port-for                 0.3.1
Pygments                 2.5.2
pyparsing                2.4.7
pytz                     2020.4
PyYAML                   5.3.1
requests                 2.25.0
rst                      0.1
setuptools               44.1.1
sexpdata                 0.0.3
singledispatch           3.4.0.3
six                      1.15.0
snowballstemmer          2.0.0
Sphinx                   1.8.5
sphinx-autobuild         0.7.1
sphinx-rtd-theme         0.5.0
sphinxcontrib-emacs      0.4
sphinxcontrib-websupport 1.1.2
tornado                  5.1.1
typing                   3.7.4.3
urllib3                  1.26.2
watchdog                 0.10.4
wheel                    0.36.1
(virtualenv) user@LAPTOP-MN6L48C1:~/smartparens/docs$ make info
sphinx-build -b texinfo -d _build/doctrees   . _build/texinfo
Running Sphinx v1.8.5

Exception occurred:
  File "/home/user/virtualenv/local/lib/python2.7/site-packages/sphinxcontrib/emacs/domain.py", line 106, in __init__
    build_env.config.emacs_lisp_load_path,
AttributeError: 'NoneType' object has no attribute 'emacs_lisp_load_path'
The full traceback has been saved in /tmp/sphinx-err-mZz4V1.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!
Makefile:173: recipe for target 'info' failed
make: *** [info] Error 2

Steps to reproduce the problem

Set up python2 virtualenv, ran pip install -r requirements, then make info as above.

Tried with python3 and got an error about missing sphinxcontrib.emacs. I assume that's the python2 package: https://pypi.org/project/sphinxcontrib-emacs/

Backtraces if necessary (M-x toggle-debug-on-error)

Environment & version information

  • smartparens version
(virtualenv) user@LAPTOP-MN6L48C1:~/smartparens/docs$ git log
commit b8bdd9265e6950e038bbcd68ead5582c6964baf2 (HEAD -> master, origin/master, origin/HEAD)
Merge: 7f5825d 9e48911
Author: Matus Goljer <[email protected]>
Date:   Sat Nov 28 23:12:36 2020 +0100

    Merge pull request #1054 from mnewt/fix-while-no-input-compilation

    Fix compilation of sp--while-no-input
  • OS:
(virtualenv) user@LAPTOP-MN6L48C1:~/smartparens/docs$ cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.5 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.5 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

excalamus avatar Dec 04 '20 18:12 excalamus

Hi. As I don't understand this pipeline at all I'm not going to fix this. If you know sphinx and info, I'm happy to take a pull request.

The sphinx emacs extension seems to be abandoned so I'm not sure there's much to do here, probably it wasn't ment to be consumed by info.

Fuco1 avatar Dec 05 '20 16:12 Fuco1