Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
First, I know already that this doesn't work. But I wanted to get what code I have up and then start some discussions on how to fix my errors.
The goal of this is to replace my existing
rss_ogg
plugin with something that's generic for any audio format, and any number of them. As such, its aTaskMultiplier
plugin, not aTask
plugin.I used my initial
rss_ogg
plugin as a base, and then compared it to thegzip
plugin to sort out how to do the task multiplication.In its current state, when I run
nikola list
(from a demo site, with only the plugin needed changes made toconf.py
) I get pages of this error.I know I have (at least) two distinct issues going on here with the code, and I'm sure its based on me not fully understanding something or other.
Firstly, this error seems to indicate that despite trying to register all the various paths with
site.register_path_handler()
, they don't seem to be foundSecond, it seems like the
process()
method on this is being called considerably more often than I'd expected, which I believe is the culprit behind eventually getting this errorWhat I think I'm missing/misunderstanding is