-
Notifications
You must be signed in to change notification settings - Fork 34
Error with sphinx-notfound-page
1.0.3 - 'tuple' object has no attribute 'default'
#240
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
Comments
We talked about this issue on #236 (review). I thought it was already fixed 🤔 |
Thanks @humitos! I get the build working updating to Sphinx 7.3.0. Most likely, this is the version where
I'm happy to submit a PR changing:
To:
|
PR with the fix: #241 |
I'm not yet sure to understand why this wasn't catch by the test we have for this config: https://github.com/rtfd/sphinx-notfound-page/blob/ccdda4977159004aca945bdd1c249b08cf685afe/tests/test_urls.py#L162-L201 We will need to research a little more that so we can write a test case that pass/break depending on the code we are fixing. |
I released 1.0.4, can you please confirm that it works as expected? 🙏🏼 |
Works fine, thanks! |
Context
I get the following error in some Sphinx-based projects with the latest release of the extension:
More details, I'm using:
notfound_urls_prefix
values inconf.py
are set toNone
or ``.Debugging
The issue might be here: 64ed88f#diff-83bfdb6415a043b1888e7ce5240bd78ea1f236af2f7094fcb5e7702f8672aa32R274
Is trying to access
app.config.values.get("notfound_urls_prefix").default
, but I'm not sure if the default is being defined.The text was updated successfully, but these errors were encountered: