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

Plugin syntax errors fail misteriously #826

Closed
ralsina opened this issue Oct 12, 2013 · 0 comments
Closed

Plugin syntax errors fail misteriously #826

ralsina opened this issue Oct 12, 2013 · 0 comments
Labels

Comments

@ralsina
Copy link
Member

ralsina commented Oct 12, 2013

To reproduce:

  1. Add a syntax error in a plugin
  2. Try to run Nikola

You will get something like this:

No handlers could be found for logger "yapsy"
Error loading mako template system plugin

This happens whenever Yapsy wants to log something. Here's how it initializes logging:

# provide a default named log for package-wide use
import logging
log = logging.getLogger('yapsy')

Solution is to use logbook's logging compatibility module.

ralsina added a commit that referenced this issue Oct 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant