-
Notifications
You must be signed in to change notification settings - Fork 846
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
i18n_subsites failing with KeyError on _NATIVE_CONTENT_URL_DB[content.source_path] #1032
Comments
Hi. I have the same kind of error running in a MS Windows 10 dev PC, python3.6.4, pelican 3.7.1:
There is an offset of a couple of lines in line # because I set an |
Does anyone found the problem? Do you have any hint? I have the same error while upgrading a old pelican website to latest versions. I'm trying to debug but this is still occuring. |
Error went away when i removed all |
Running into the same problem. The issue goes away when I remove |
I'm also getting the error I use pelican=3.7.1 and Python 3.8.12 Update to pelican=4.7.2 also returns the same error. |
The error still persists on pelican 4.8.0 with up-to-date i18n-subsites. It's strange. Yes, it works when you remove the translation metadata, but... how am I supposed to mark the page as a translation of another one if I don't use |
from the docs: For each extra used language code, a language-specific settings overrides dictionary must be given (but can be empty) in the I18N_SUBSITES dictionary PLUGINS = ['i18n_subsites', ...] mapping: language_code -> settings_overrides_dictI18N_SUBSITES = { |
I am getting following error when trying to use i18n_subsites plugin with default configuration:
Content looks like this:
Snippet from config:
Using latest pelican 3.7.1 and latest version of pelican-plugins.
The text was updated successfully, but these errors were encountered: