trgkanki / remaining_time

GNU Affero General Public License v3.0
18 stars 3 forks source link

Add-on does not load. Edit: Read a solved issue which said version above 2.1.26 required. Will it not work on anki 2.1.15? #37

Closed Playandstudy closed 3 years ago

Playandstudy commented 3 years ago

Bug report

Describe the bug

The add-on fails to load on Anki 2.1.15 using Windows 7 on my laptop

A clear and concise description of what the bug is.

Reproduction step

Steps to reproduce the behavior:

  1. Go to 'Anki'
  2. See error: Error appears as soon as Anki opens

Expected behavior

A clear and concise description of what you expected to happen. The add-on to work

Actual behavior

Add-on did not load

If applicable, add screenshots to help explain your problem. image

Anki/OS versions

Additional context

Add any other context about the problem here.

mac-s-g commented 3 years ago

I'm running into the same version running 2.1.15 on ubuntu.

mac-s-g commented 3 years ago

fwiw, the issue was resolved by upgrading anki to 2.1.38 (as expected). thanks to @trgkanki for an awesome add-on!

Playandstudy commented 3 years ago

Thank you for the update, but I can't upgrade my anki version. (Using Windows 7, and a fatal error appears on upgrading) Is there any other solution?

phu54321 commented 3 years ago

You're using Anki 2.1.15, right?

It's quite hard for me to test multiple anki versions at once, really. I'll try, but don't expect too much.

phu54321 commented 3 years ago

Anki 2.1.15 doesn't support hooking webview_did_receive_js_message, which is necessary for this addon to function.

https://github.com/ankitects/anki/commit/d54f719558bd2f04962d83ddf96830cec019a07f

This function has been added since 2.1.20, so you should upgrade at least to 2.1.20.