Arthur-Milchior / anki-copy-note

An add-on to copy anki's note
GNU General Public License v3.0
23 stars 9 forks source link

Very bad crashes in Anki 2.1.38. Any chance for the update? Please man! #25

Open Orobass0 opened 3 years ago

Orobass0 commented 3 years ago

The extension does not work with Anki 2.1.38 and it can destroy the software. But I found that extension very useful in the past and I really hope you will consider updating the extension.

I want to reset all information in thousands of cards including the creation time, modification time and so on. It is possible by coping cards. You are my only hope Mr Developer.

Please help.

galantra commented 3 years ago

In your situation, maybe you can export your cards without scheduling, delete them, and reimport them.

How can it destroy the software?

Orobass0 commented 3 years ago

Hi, export&import without scheduling will not reset all information like "creation time", “edited” and “changed” columns. Or I am doing something wrong? I cannot export my cards into TXT file because my cards are let say complicated. It has to be apkg. And apkg file remembers the above information, unfortunately.

The current version of the extension destroys Anki. It starts a loop or something like that. It keeps trying to copy cards. When I restarted Anki, the extension still tried to execute. See the comment section on the Anki website.

Still hope there will be an update. Cheers.

galantra commented 3 years ago

Please mind that I'm not the developer.

export&import without scheduling will not reset all information like "creation time", “edited” and “changed” columns. Or I am doing something wrong? I cannot export my cards into TXT file because my cards are let say complicated. It has to be apkg. And apkg file remembers the above information, unfortunately.

Yes, that's true.

Also have a look at: https://ankiweb.net/shared/info/1114271285

and search (Ctrl+F) through the add-on list for "reset"

Orobass0 commented 3 years ago

I appreciate your help. You are right. It is possible probably.

'Duplicate and Reorder' will reset everything except for the creation time. It will reset “edited” and “changed” columns as well.

'Change Card Creation Times' will change the creation day. I can choose a date.

That is a way to go. if I am not missing anything. I trust 'Copy Notes' though. Having installed quite a few extensions I must say that "Copy Notes" was just the best.

galantra commented 3 years ago

What has just come to my mind: You can downgrade Anki; this should be easier. Copy Notes should then work.

Orobass0 commented 3 years ago

Several copies of Anki will do the trick. -b command in a windows shortcut will allow me to have two different versions of Anki. If Mr. Developer is working on a different project I'll have to figure something out.

THX for all.

Arthur-Milchior commented 3 years ago

This should now be corrected. Can you confirm?

Orobass0 commented 3 years ago

Hello. I confirm that it works well with Anki 2.1.35.

It removes information like scheduling/reviewing, creation time, edited time column, changed time column. That is why I love it. The flag does not go away but I can get rid of a flag on my own.

I did a quick test and copied 5k cards without any problems.

Thank you BRO.

galantra commented 3 years ago

Hello Arthur, thank you for the update. It kind of works, but there is still sth. wrong. I have copied one cloze note grafik

My config is:

    "Copy log": true,
    "Preserve creation time": true,
    "Preserve ease, due, interval...": true,
    "Shortcut: copy": "Ctrl+C",
    "correct import": true,
    "current tag prefix": "copied::",
    "relate copies": true,
    "tag for copies": "Copy",

As you see, the screenshot shows two problems:

  1. Two copies are created of every cloze card (including cloze 14, but it didn't fit on the screen). One of the copies is created as in "new" state; this copy is superfluous.
  2. The "Created" date is not that of the original note, but the date when the copy was created (today).

    Win10 Version 2.1.35 (84dcaa86) Python 3.8.0 Qt 5.14.2 PyQt 5.14.2

Arthur-Milchior commented 3 years ago

Oh, I can probably take a look at flag. I didn't really gave a thought about them. Not even sure whether they were already implemented when I first created the add-on.

I've not tested with cloze deletion. I'll need to do it when I've time. I can't imagine yet what's going on but I guess it just mean I'll be up for a surprise

Orobass0 commented 3 years ago

A flag is not a big issue. I mean it is not of utmost importance. But if you have not used the extension "copy note contents to new Add window (from Browser, Reviewer, Add, EditCurrent)" you may like to check it out.

It copies a single note without a flag. Maybe there is a tip for dealing with a "cloze" thing.

Cheers