-
-
Notifications
You must be signed in to change notification settings - Fork 946
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
Fix 'anon-view' KeyError #724
Conversation
The "anon-view" translation key is the correct one to use for accessing anonymous view within the search results. "config-anon-view" is only for the configuration menu on the home page.
Hey @glitsj16, I just reverted this change in 7688c1a because the "anon-view" key is actually the correct value to use in search results. "config-anon-view" should only be used on the home page config menu. Can you re-try with the latest code and see if you're still getting the error? If so, could you also share which language you have configured for your instance? |
Hi @benbusby. I've done another test. My configured language in whoogle.env is
and on the server I can see the exact same error message as before... It still does so after upgrading my instance to the latest git code. Perhaps I made a mistake in setting the relevant env var, not sure. I used GH search and can only see that env var in config.py. Hope this clears up what I reported before. Feel free to ask if there's anything else I can do to help. |
Hmmm, that's very strange. Could you do a quick sanity check to see if I'll keep looking into it as well. Could you also see if enabling anonymous view from the home page config also causes the problem if |
Very strange indeed. During the weekend I have some more time to investigate what could be causing this on my end. For now I can confirm the sanity check: |
@benbusby Aha, |
Fix for #723.