-
Notifications
You must be signed in to change notification settings - Fork 450
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 command - unknown extension error #3118
Comments
Can you show your config file?
…--
Chris Warrick <https://chriswarrick.com/>
On Tue, Jul 10, 2018, 18:49 leingang ***@***.***> wrote:
Environment
*Python Version:* 3.6.5
*Nikola Version:* 8.0.0b2
*Operating System:* macOS High Sierra 10.13.5/Darwin Kernel Version 17.6.0
Description:
I am trying to migrate to Nikola v8 as described in Upgrading to Nikola v8
<https://getnikola.com/blog/upgrading-to-nikola-v8.html>. I have updated
the nikola package, and it builds without errors.
I next wanted to update the metadata, but the nikola plugin command gave
me an error:
$ nikola plugin -i upgrade_metadata_v8
Scanning posts.COMPILERS in conf.py does not tell me how to handle '.html' extensions.
I checked in conf.py, and with a print, I can verify that COMPILERS is
set to handle .html. But I get the same error as above.
Not *every* command results in this error, though. For instance, nikola
status works fine. And it's not restricted to installing plugins. nikola
plugin --url gives the error too.
Digging into the plugin modules, I wonder if the fact that most command
plugins have needs_config = True set, but plugin command plugins have needs_config
= False.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3118>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAT-mxsS8uFG-HRWvKfhVd0tUBk6BhPGks5uFNsLgaJpZM4VJw36>
.
|
I pasted it into the original post. |
Cannot reproduce. Could you push the entire site source somewhere? For reproduction, I chagned conf.py to yours, created
|
The error message is also interesting since both the default config and your config include support for |
Closing due to no response and no reproduction in 1.5 months. |
Environment
Python Version: 3.6.5
Nikola Version: 8.0.0b2
Operating System: macOS High Sierra 10.13.5/Darwin Kernel Version 17.6.0
Description:
I am trying to migrate to Nikola v8 as described in Upgrading to Nikola v8. I have updated the nikola package, and it builds without errors.
I next wanted to update the metadata, but the
nikola plugin
command gave me an error:I checked in
conf.py
, and with aprint
, I can verify thatCOMPILERS
is set to handle.html
. But I get the same error as above.Not every command results in this error, though. For instance,
nikola status
works fine. And it's not restricted to installing plugins.nikola plugin --url
gives the error too.Digging into the plugin modules, I wonder if the fact that most command plugins have
needs_config = True
set, but plugin command plugins haveneeds_config = False
.Here is my config file:
The text was updated successfully, but these errors were encountered: