WK Real Numbers (userscript)

Alrighty then. This script is obviously giving a lot of people unnecessary difficulties. No idea why, but now @sglinert can’t even edit the damned thing. For non-programmers i shouldn’t have suggested to edit the script manually, because that’s just not right. This should all go automagically! If that’s not the case, what are we but mere savages?

So what do we do if the almighty creator of a script (or any program) has left the building ? (do i sense an analogy with The Man Sitting On A Cloud Himself?! ) We, mortal humans, take over. So basically i have created a new script on GreasyFork which i (and anyone who wants to) will maintain from now on.

I used the fixed script written by @srfacanha for this. While i haven’t tested it myself, technically, it should work. (i know, that’s a very dangerous thing to say in the computer science business)

https://greasyfork.org/en/scripts/11244-wanikani-real-numbers

Be sure to post any questions/suggestions or report bugs.

@sglinert: hope it works now.


Hello, I’m only getting blank circles (with penx’s version) instead of numbers.  When I tried another version I only got a pop-up saying “API Error: User does not exist” even after generating new API keys (with Mempo’s version). Can someone help me?

Interesting, I’m getting the “blank circles” bug too now. I first thought a recent update broke the script, but I see someone else had the same issue a couple of months ago and it worked fine for me just yesterday. Any advice?
Edit: replacing the old script with Mempo’s version seems to have fixed the issue. But why didn’t the old one stop working until now?

CaoxKitty said... Hello, I'm only getting blank circles (with penx's version) instead of numbers.  When I tried another version I only got a pop-up saying "API Error: User does not exist" even after generating new API keys (with Mempo's version). Can someone help me?
Oops, i'm very sorry i didn't see this. Two months ago? I was probably on vacation then, so that's why i missed this. This shows one of the problems of WK forums: if it's not in the top 5 recently talked about topics, you usually miss it!

But anyway... Weird that the updated script didn't work. I reinstalled it myself now and it still works. The API error means the script somehow extracted a faulty/incomplete API key and the server couldn't find you! Or it was a server-side problem, which wouldn't have persisted long.

@CaoxKitty: if you read this and still have problems, post a reply below. I'll keep an eye on this topic.

@
Bicorn: I wouldn't call "blank circles" a bug per se. I remember encountering it sometimes, but it's never been a persisting issue. A refresh of the page and some patience usually solves the problem. As to why the old one broke: no idea. Scripts can be magic, but can also be very fragile, often times operating at the whims of the Computer Gods.

Mempo said...https://greasyfork.org/en/scripts/11244-wanikani-real-numbers

Be sure to post any questions/suggestions or report bugs.

For some reason, it doesn't set the API key for me. I'm using a version of Firefox (Pale Moon) with Greasemonkey. When I wisit any Wanikani page, it keeps displaying the message:

 WaniKani Real Numbers has no API key entered!
Press OK to go to your settings page and retrieve your API key!
...and when I click okay, it redirects to the settings page and says:

WaniKani Real Numbers API key set to: (abunchoflettersandnumbers)
...which is the correct API key.






Starker said...
Mempo said...https://greasyfork.org/en/scripts/11244-wanikani-real-numbers

Be sure to post any questions/suggestions or report bugs.

For some reason, it doesn't set the API key for me. I'm using a version of Firefox (Pale Moon) with Greasemonkey. When I wisit any Wanikani page, it keeps displaying the message:

 WaniKani Real Numbers has no API key entered!
Press OK to go to your settings page and retrieve your API key!
...and when I click okay, it redirects to the settings page and says:

WaniKani Real Numbers API key set to: (abunchoflettersandnumbers)
...which is the correct API key.
 Have you tried:
  • Hitting refresh repeatedly
  • Clearing your browser cache
  • Restarting your browser
  • Deleting and redownloading the script
  • Rebooting your computer
  • Rebooting the universe
Darcinon said... Have you tried:
  • Hitting refresh repeatedly
  • Clearing your browser cache
  • Restarting your browser
  • Deleting and redownloading the script
  • Rebooting your computer
  • Rebooting the universe
  • Yes
  • Yes
  • Yes
  • Yes
  • Yes
  • Not that I know of
Also tried setting a new API key.


Starker said...
Mempo said...https://greasyfork.org/en/scripts/11244-wanikani-real-numbers

Be sure to post any questions/suggestions or report bugs.

For some reason, it doesn't set the API key for me. I'm using a version of Firefox (Pale Moon) with Greasemonkey. When I wisit any Wanikani page, it keeps displaying the message:

 WaniKani Real Numbers has no API key entered!
Press OK to go to your settings page and retrieve your API key!
...and when I click okay, it redirects to the settings page and says:

WaniKani Real Numbers API key set to: (abunchoflettersandnumbers)
...which is the correct API key.

 So it finds your API key correctly, but doesn't store it? Um ok, i'll try to find you an answer.
Mempo said...
Starker said...
Mempo said...https://greasyfork.org/en/scripts/11244-wanikani-real-numbers

Be sure to post any questions/suggestions or report bugs.

For some reason, it doesn't set the API key for me. I'm using a version of Firefox (Pale Moon) with Greasemonkey. When I wisit any Wanikani page, it keeps displaying the message:

 WaniKani Real Numbers has no API key entered!
Press OK to go to your settings page and retrieve your API key!
...and when I click okay, it redirects to the settings page and says:

WaniKani Real Numbers API key set to: (abunchoflettersandnumbers)
...which is the correct API key.

 So it finds your API key correctly, but doesn't store it? Um ok, i'll try to find you an answer.
 Hehe, apparently Pale Moon is a Firefox fork and let me quote wikipedia here:

Because it is a fork of Firefox, Pale Moon is compatible with most (but not all) of the available Firefox extensions and plugins.
If you say the API key is not stored, then there's something wrong with the GM_setValue() method. This is a GreaseMonkey method, so the only advice i can give is 'be sure to have the latest version of GreaseMonkey installed'.

Its fine by me if someone uses unconventional (non-mainstream) software, but expect that not everything will work on it. Because i didn't even know such a fork existed, it's safe to say i'm not qualified to deal with this type of bug. And i'm not gonna delve into the inner workings of a Pale Moon. I hope it gets solved by the aforementioned suggestions and if not, there's really only 1 other option: REBOOT THE UNIVERSE. Or download firefox/chrome.

No worries. Thanks for looking into it!

Link to download the script doesn’t seem to be working for me… it just says no server found. Anyone else having this problem?

userscripts has been down for a while. replace “userscripts” with “userscripts-mirror” in the url and it should work.

chrispthompson said... Link to download the script doesn't seem to be working for me... it just says no server found. Anyone else having this problem?
 Nope it is not! As the good consumer of scripts you are, you should have checked the last page, where i provided a working link to the script. But that's indeed easily forgotten.

ShotgunLagoon said... userscripts has been down for a while. replace "userscripts" with "userscripts-mirror" in the url and it should work.
 Indeed, that works, but that's still the older version of the script, which won't work anymore.

So i hope i won't have to do this every page (really people, not so difficult to read the last dozen responses on a thread), but here is a working link (i even checked it to be sure):

https://greasyfork.org/en/scripts/11244-wanikani-real-numbers

Mempo said...
 Nope it is not! As the good consumer of scripts you are, you should have checked the last page, where i provided a working link to the script. But that's indeed easily forgotten.
A million apologies, I did actually check -- I made it back three pages worth of troubleshooting posts but alas missed the relevant one. I'm stupid that way.

So i hope i won't have to do this every page (really people, not so difficult to read the last dozen responses on a thread), but here is a working link (i even checked it to be sure):
 You know what, you probably are going to have to do this with every page, as many will surely make the same dumb mistake I did, no matter how often you reprimand. 

Maybe a solution is to create a fresh post that you can edit, with the latest working version, and have Shotgun change the link on the master list of API and Third party apps (which is where most people, myself included will find your script). Then this old thread could be left to die. That might save you lots of trouble.

Either way, thanks for continuing to support it!! 

chrispthompson said...
Mempo said...
 Nope it is not! As the good consumer of scripts you are, you should have checked the last page, where i provided a working link to the script. But that's indeed easily forgotten.
A million apologies, I did actually check -- I made it back three pages worth of troubleshooting posts but alas missed the relevant one. I'm stupid that way.

So i hope i won't have to do this every page (really people, not so difficult to read the last dozen responses on a thread), but here is a working link (i even checked it to be sure):
 You know what, you probably are going to have to do this with every page, as many will surely make the same dumb mistake I did, no matter how often you reprimand. 

Maybe a solution is to create a fresh post that you can edit, with the latest working version, and have Shotgun change the link on the master list of API and Third party apps (which is where most people, myself included will find your script). Then this old thread could be left to die. That might save you lots of trouble.

Either way, thanks for continuing to support it!! 

 I also thought about that being a more permanent solution. Thanks for suggesting it. I'll do that tomorrow.

Okay, now this is going to sound like a really stupid question but…
How exactly does one install the script? I click on the green button, but it just takes me to a page of code… Am I doing something wrong?

Phaesri said... Okay, now this is going to sound like a really stupid question but...
How exactly does one install the script? I click on the green button, but it just takes me to a page of code... Am I doing something wrong?
 /t/Visual-Guide-on-How-To-Install-A-Userscript/12136/1
Glias said...
Phaesri said... Okay, now this is going to sound like a really stupid question but...
How exactly does one install the script? I click on the green button, but it just takes me to a page of code... Am I doing something wrong?
 /t/Visual-Guide-on-How-To-Install-A-Userscript/12136/1
It's also advisable to install this version of the script: /t/Userscript-WK-Real-Numbers/10713/24
This thread is no longer being maintained by the OP.
Mempo said...
Glias said...
Phaesri said... Okay, now this is going to sound like a really stupid question but...
How exactly does one install the script? I click on the green button, but it just takes me to a page of code... Am I doing something wrong?
 /t/Visual-Guide-on-How-To-Install-A-Userscript/12136/1
It's also advisable to install this version of the script: /t/Userscript-WK-Real-Numbers/10713/24
This thread is no longer being maintained by the OP.
 Hey, thanks so much to everyone for answering!! But uh, the second link doesn't send me to a usable script at all...? ^^;

https://greasyfork.org/en/scripts/11244-wanikani-real-numbers
is this the one?