Closed Yutsuten closed 1 year ago
Thank you, v2.6.2 works perfectly
OK, nice. There is something I'm suspicious of.
Could you do the same thing with the branch master
(still unreleased version) and see if it works? This is the download link: anki-lifedrain-master.zip
master initially worked, but I noticed it had reset my settings. So I applied my settings in config and restarted Anki and the processing bar showed up again.
I think the problem only appears when the bar position is set to Top. If I set it to Bottom, everything is fine.
Above is a modified version of the latest release. It will measure the run time of most functions of Life Drain, and save the log into your home directory in a file named lifedrain.log
.
It will output A LOT of data, so try to reproduce the bug as fast as possible and close Anki. Of course, wait for the processing bar to show and disappear by itself.
Then upload the log file here, please.
Edit: Each time you open Anki the content of the log file will be reset. Be aware of that. Edit2: A question. Does the life bar update (drains) while the progressing bar is shown?
I did it but there is no lifedrain.log file.
Does the life bar update (drains) while the progressing bar is shown?
no the bar is not visible
I've also noticed that I need to click on a deck twice before it opens as a result of this addon
anki-lifedrain-2.7-debug-stdout.zip
Are you able to run Anki from a terminal? I've changed it to write the log to the terminal insted.
More questions:
What are your Anki, python, Qt and OS versions? What are the add-ons you have installed?
no the bar is not visible
Are you really in the review screen? Or in the overview screen?
Could you share your meta.json
file? It should be in the same directory as the code. It contains your Life Drain configuration.
No more answers after months, so I'll just close this.
Issue originally reported by @akavi1 on #160
The issue
Seems that we have a OS specific issue, as it does not happen to me (on Linux) and other users on Windows. I don't have a Mac, so @akavi1 I need you to debug this with me.
First of all, lets return the add-on code back to the previous version. I have two reasons for this:
Restoring the previous version
Download v2.6.2
Download the source code of version 2.6.2 here. The zip version is probably easier to open.
After unarchiving all the files, open
anki-lifedrain-2.6.2/
, and what will matter for us is thesrc/
folder.Replace add-on source code
Add-ons are placed at
~/Library/Application Support/Anki2
on Mac according to Anki's documentation.There we will have an addons folder. For me, on Linux, its called
addons21/
. Inside it, the Life Drain code will be on the715575551/
directory. Replace it with thesrc/
folder you downloaded. To not lose your configuration, you can back up715575551/
moving it to somewhere else. With thesrc/
folder insideaddons21/
, restart Anki and it should be working. You can renamesrc/
tolifedrain/
or whatever if you want.After doing this, is the issue fixed?
For my own reference, these are the changes between the previous version and the current version: v2.6.2..v2.7.1