Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug al ejecutar make #4

Open
tanrax opened this issue May 1, 2015 · 3 comments
Open

Bug al ejecutar make #4

tanrax opened this issue May 1, 2015 · 3 comments

Comments

@tanrax
Copy link

tanrax commented May 1, 2015

Lo he intentado tanto en Debian como en OS X, y cuando ejecutas make html, o make epub te encuentras con el siguiente error.

    StandaloneHTMLBuilder.init(self)
  File "/usr/local/lib/python2.7/dist-packages/sphinx/builders/html.py", line 107, in init
    self.init_highlighter()
  File "/usr/local/lib/python2.7/dist-packages/sphinx/builders/html.py", line 155, in init_highlighter
    self.config.trim_doctest_flags)
  File "/usr/local/lib/python2.7/dist-packages/sphinx/highlighting.py", line 78, in __init__
    style = get_style_by_name(stylename)
  File "/usr/local/lib/python2.7/dist-packages/pygments/styles/__init__.py", line 61, in get_style_by_name
    (builtin and ", though it should be builtin") + ".")
ClassNotFound: Could not find style module 'matizze'.
@fgalvanbaez
Copy link

Me aparece el mismo error. El siguiente código es la raza completa que se puede encontrar en: /tmp/sphinx-err-xdnNJi.log en mi caso.

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/sphinx/cmdline.py", line 245, in main
app.build(opts.force_all, filenames)
File "/usr/local/lib/python2.7/dist-packages/sphinx/application.py", line 264, in build
self.builder.build_update()
File "/usr/local/lib/python2.7/dist-packages/sphinx/builders/init.py", line 240, in build_update
self.build(['all'], to_build)
File "/usr/local/lib/python2.7/dist-packages/sphinx/builders/init.py", line 316, in build
self.write(docnames, list(updated_docnames), method)
File "/usr/local/lib/python2.7/dist-packages/sphinx/builders/latex.py", line 107, in write
docwriter.write(doctree, destination)
File "/usr/local/lib/python2.7/dist-packages/docutils/writers/init.py", line 80, in write
self.translate()
File "/usr/local/lib/python2.7/dist-packages/sphinx/writers/latex.py", line 100, in translate
visitor = self.translator_class(self.document, self.builder)
File "/usr/local/lib/python2.7/dist-packages/sphinx/writers/latex.py", line 260, in init
builder.config.pygments_style, builder.config.trim_doctest_flags)
File "/usr/local/lib/python2.7/dist-packages/sphinx/highlighting.py", line 78, in init
style = get_style_by_name(stylename)
File "/usr/local/lib/python2.7/dist-packages/pygments/styles/init.py", line 61, in get_style_by_name
(builtin and ", though it should be builtin") + ".")

@EduardoZepeda
Copy link

Yo solucioné el problema de la siguiente manera:
Vayan al archivo llamado "conf.py", abranlo y encuentren lo siguiente:

Options for HTML output.
...
pygments_style = 'matizze'
...

Sustituyan la palabra 'matizze' por 'default', debe quedar así:

pygments_style = 'default'

Guarden el archivo e intenten correr de nuevo el comando make html o make epub desde la consola
Adjunto una captura de pantalla del archivo conf.py modificado.

captura de pantalla de 2015-06-30 13 31 21

@tanrax
Copy link
Author

tanrax commented Jun 30, 2015

Va perfecto!!! Ya he enviado un pull request con el cambio.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants