Git Product home page Git Product logo

anki-limitnew's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

anki-limitnew's Issues

Tried to install this addon on Anki 2.1.22

Hi,

I tried to install this addon on Anki 2.1.22 to see if it works on 2.1.22.
GitHub Logo
This is the error I got not sure how I can solve this. I know that you put Anki requirement to 2.1.26 to use this Addon. Wanted to see if it is possible to use it.

Thank you for all the work and updates.

no changes in addon settings + one more

(Delete this: When setting the limits in the deck options, they don't get ported to the addon settings) <- figured out by reading the github page. A little confusing. Anyway...

Custom decks don't seem to be affected, but I haven't tested it a lot to be 100% sure. Can you confirm there's an issue yourself? As for me, I'll know for sure maybe in a week.

Slow startup

Anki normally starts within 2 seconds, With this add-on, it takes an extra 13 seconds. Is it possible to accelerate it?

error when syncing (Anki 2.1.22)

Thanks for the add-on it's a lifesaver. Unfortunately I keep getting the error below when syncing causing it to disable the add-on

Syncing failed:
Traceback (most recent call last):
File "aqt/sync.py", line 429, in _sync
File "aqt/sync.py", line 409, in _abortingSync
File "anki/sync.py", line 137, in sync
File "anki/sync.py", line 219, in sanityCheck
File "anki/schedv2.py", line 69, in reset
File "anki/schedv2.py", line 378, in _resetNew
File "anki/schedv2.py", line 375, in _resetNewCount
File "anki/schedv2.py", line 209, in _walkingCount
File "anki/schedv2.py", line 477, in _deckNewLimitSingle
File "anki/hooks.py", line 407, in call
File "/Users/xxxxxx/Library/Application Support/Anki2/addons21/anki-limitnew-master/versions/new_hook.py", line 343, in schedulerNewLimitForSingleDeck
newLimit = myDeckNewLimitSingle(mw.col.sched, deck)
AttributeError: 'NoneType' object has no attribute 'sched

Makes loading some screens slower

I noticed that some screens load slowlier with the add-on.

  1. the deck options screen
  2. the browser (major parts of it are white/contentless while loading)
  3. the review screen (the loading times decrease after a handful of consecutive reviews)

I can confirm this only for

Version 2.1.22 (0ecc189a)
Python 3.8.0 Qt 5.14.1 PyQt 5.14.1

old scheduler

Error when opening or closing Anki

Every time I open or close Anki I get the following error:

anki_t3mNBhmIGQ

The error also prevents Anki from closing, I have to kill it in the task manager.

I've tried disabling all my other add-ons and still have the same error.
I copied August version the add-on from another computer and it works fine.

Any help would be greatly appreciated.

addon not working

Hello. I really want to use this addon!!! its important for me because im working full time and studying after work so this is a great way to help me set anki to work me without overworking me... but i cant figure it out..! im good with anki i am familiar with all the setttings and preferences.

i have my workload limit set to 300, with my workload max set to 350. new cards/day set to 50.. so ideally i should have 49 new cards on days i have 301 cards due, and 30 cards new when i have 320 cards due.. but this addon is setting my new cards to 0 no matter what my workload is. even when my cards due is ~280 this addon isnt giving me any new cards. heres the screenshots

image
image
image
image
image
image

Feature request: smoothly diminish new cards to minimum

Between workloadLimit and workloadMax (and the various other places between limits and maxes), you're linearly decreasing new cards from whatever the standard new cards per day is down to 0, and then enforcing a hard limit of minimumNew. I think instead, you should make the linear transition go from newPerDay to minimumNew.

If the ratio is .5 and new cards per day is 20 with a minimum of 10, you should see 15 (halfway between those), not 10.

I'm sorry if that's confusing. I'm thinking it's something like changing add_on_2_1_28.py line 231 from

maxNew = max(deckMinimumNew, min(maxNew, int(round(newPerDay * (1 - ratio)))))

to

maxNew = max(deckMinimumNew, min(maxNew, int(round(deckMinimumNew + ((newPerDay-deckMinimumNew) * (1 - ratio)))))

and similarly for the rest of the calculations.

Uninstalling the add-on does not revert back to real new-cards/day

If you try to play around with the settings of the add-on and then uninstall it, you may not be able to get any new cards that day. I can't add any new-cards for the day except by increasing the new card limit in the custom study options.

Edit: I just read through the other issues, and it might have something to do with new cards being set to 0 again for some reason. I could get back to my real new-cards/day by reloading a backup (File -> Switch Profile -> Change User -> Load from backup). Doing so reverted the new cards to normal.

Edit2: Closing and reopening Anki in-between each modification of the deck/add-on options seems to fix the issue. Great add-on by the way!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.