kagi_strings is not defined #4
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
I installed the plugin and configured it.
Using chrome and edge I get this error:
ext.php?f=freshrss-kagi-summarizer%2Fstatic%2Fscript.js&t=js&1736340048:65 Uncaught ReferenceError: kagi_strings is not defined
at summarizeButtonClick (ext.php?f=freshrss-kagi-summarizer%2Fstatic%2Fscript.js&t=js&1736340048:65:30)
at HTMLDivElement. (ext.php?f=freshrss-kagi-summarizer%2Fstatic%2Fscript.js&t=js&1736340048:14:11)
I can see the button and press it but nothing success. If I open in new tab I can read the response json.
What version of FreshRSS are you using?
1.23.2-dev
Any chance you could try upgrading to the latest FreshRSS release (1.25.0) and see if the problem persists? I'm not able to reproduce any problems and don't have an easy way to test against older versions.
You could also try v0.2 of this extension and see if that works for you--it's possible that the custom CSS stuff I added in the latest release doesn't work correctly in older versions of FreshRSS (but v0.2 had been working for me as far back as v1.22.0 of FreshRSS).
I updated to
1.25.1-dev
. I don't know if-dev
can have any issue but the problem persist (It's a clean installation in a new maquine)@felipem775 do you configure your FreshRSS with a non-
en
language?If so I bet this is a problem with translation/language settings. The extension only has English strings defined, so I wonder if I have something misconfigured where non-english installations are trying to load translations that don't exist.
Could you try setting the "Output language" in the extension's settings to "English" instead of "Default" (or something else) and see if that fixes the issue for you? I think I just need to remove that option unless I actually add translations of the strings.Edit: Actually that setting may be unrelated to FreshRSS, it should only affect the output language of the actual summaries provided by Kagi. I may need to do further research to figure out why FreshRSS is trying to load non-existent translations if it turns out that is the problem.
I just tested using a fresh 1.25.1-dev docker instance, setting the language to Deutsch instead of English, but was still unable to reproduce the issue. The extension worked OK and showed the English strings, so I don't think missing or misconfigured extension translations is the problem.
Maybe you can walk me through the steps taken on the fresh install that reproduced the problem for you so I can follow along and see if I can get the problem to happen for me that way?
I use docker with
image: freshrss/freshrss:edge
(I don't know why choose it) Which version do you want me to try?Hmm, that is the same image I used.
Followed by going to
localhost:80
and creating an admin account, then logging in and going to extension config, enabling the Kagi Summarizer, then configuring my Kagi account token.I was able to then go back to the feed list which showed the default feed of all the FreshRSS version update notes, and clicking "Summarize" summarized the posts without any error.
Is that similar to how you're setting it up?