--
You received this message because you are subscribed to the Google Groups "nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nikola-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
ERROR: Task generation 'render_site' has duplicated definition of 'render_tags:output/category/index.html'
Should this really be an error that stops the build?
I think it would be much better if Nikola was more lenient and handled these, perhaps with a warning, but just simply appending _2 (or perhaps a config pattern).
That's what I'd want to happen. I have posts coming in from many sources, trying to get multiple writers to submit their content in REST is hard enough, so usually the slug is just auto-generated from the title (to lower case, replace " " with "_" etc. I don't care if the titles / slugs are the same.
In the end I hacked up a plugin to try and keep nikola happy:
duplicate slugs
missing category and template refers to category
an empty line within meta calls
and a few other things that had me swearing late at night on a Friday :)
and a whole load of typical mistakes I see which can break nikola. The above error message was useful, this is not always the case, don't get me started on :ERROR: Task generation 'render_site' has duplicated definition of 'render_tags:output/category/index.html'
which is never anything to do with tags or category and seems to just be the first error triggered when something goes wrong .
I know the whole mantra of "fail hard fail early", but I reckon most of the time the problem is known and can be detected and fixed quietly.
Someone used to debugging will probably get to the bottom of the issue, but probably some are turned off. Might even mean less support for you guys which is always a good thing right?
Perhaps an option so those who want infuriation can have it, those of us who are happy to assume Nikola knows best, can have that as well :)
Is that really how it works?