Sorry guys; I’m not sure when I’ll have time to fix this. I took a quick look into the issue, and it looks like maybe the Memrise backend changed and is now erroring out because of how quickly the script tries to update entries.
I just did a test-run on a test-course and it went through, albeit not changing all entries to green. Did you change anything, @neoncube or is it just that it might be working again due to Memrise having reverted their DB-changes?
Just tested. It’s working totally fine for me now.
I didn’t change anything, so I guess something changed on the Memrise side of things. Glad to hear it’s working again!
There is still a type of entry that the script is not fixing.
I started by having an entry “Absolute plural.” I changed it to “absolute plural.”
I now get both items in the multiple choice list.
I deleted all the words that had “absolute plural” as a option and reentered them.
I ran the script both after the delete and, again, after the reentry with no success.
My guess is that the find/replace sequence is not case sensitive.
I found an issue that may be related to this post.
I have deleted an item from my course, but it still continues to show up in my multiple choice options.
Hi @swigartd,
After looking at your post again, I think I might know the problem
While editing your course, can you go into the “Databases” tab and search to see if the uppercase variant of the word is still there? Deleting a word from the “Levels” tab doesn’t delete it from the database, and if it’s still in the database, then it might show up while learning or reviewing words
Thanks for the reply.
Both forms of the answer do not appear in the database. In other words, I do not see the erroneous items in the database.
My guess is that Memrise creates a table separate from the database which holds all the multiple choice answers. Maybe from this table the review items and multiple choice answers are selected.
I expect this table is rebuilt when running the script. If that is true, then this table should be deleted and regenerated from scratch.
Just a guess…
Hi Eli,
Thank you very much for your straightforward solution.
I was able to run the code and all words appear in green however I did not know how to see if still there is phantoms.
All the best
Mohammad
Hi Mohammad,
You’re welcome!
I don’t think there’s an easy way to check if all of the phantoms are really gone, sorry. If the script worked, then you should just no longer see phantoms while reviewing or studying.
The phantoms were not removed. I decided to create my own program to replace Memrise. The way I have done it there will be no phantoms.
Thanks for your help.
Dave
I ran the script on my course. The phantom entries were not removed.
notice the bottom 2 entries in the right hand column. They are identical except for the capitalization. The bottom entry is not in the database
Hi Eli,
I have just seen phantoms again. Apparently, the code does not work.
All the best
Mohammad
@Havaledar and @swigartd, Thanks for letting me know. I haven’t used this script lately, so I’m not sure if it still works or not, sorry.
Is anyone else seeing this problem?
Hello @neoncube, thank you for building this script.
It did not work for me either. I installed it via Tampermonkey on Firefox.
When I run it, it takes a while to start (where the browser allows me to kill the tab or wait), and then it starts highlighting one by one all the items inside each level until it reaches the bottom of the last level.
However, at the end of it the database remains intact, and I can see the tens of phantom items still there.
I personally decided to spend two hours cleaning up so now I don’t have any phantom entries anymore, but I thought I would leave feedback here anyway.
Thanks, @ferranglez; that’s good to know
When you say “the database remains intact”, do you mean that you can see entries in the course’s Database tab that aren’t supposed to be there?
Yes, that is why I meant, sorry for the confusion. I expected that the entries from the database that were not used in the course would be removed using this script, but they were not removed.
No worries! Sorry for the confusion.
This script tries to fix “phantom entries”, which is a different issue (although it can be related to having unused entries in the course’s database). I do have a different script that removes unused entries in the database, if you’re interested, although it sounds like you’ve already fixed the issue manually.
After deleting entries from the database, some words still appear as answers in my quizzes, actually. Is that what is referred to as phantom entries? I will try the script again when I have a moment (it takes a while because the course has some 10k words), and get back to you!