Export cards/notes from browser with metadata to csv or xlsx [Official thread]

If you have a problem with this add-on post in this thread. This way I get notified. If you make a new thread I will likely miss it.

1 Like

Hello. I am getting this error when attempting to use this add-on:

An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you’ve discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.26 (70784154) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2020-07-08 12:20:04

Caught exception:
Traceback (most recent call last):
File “C:\Users\Scott\AppData\Roaming\Anki2\addons21\1967530655\export.py”, line 248, in
u.triggered.connect(lambda _, b=browser: onExportSelected(b, “csv”, False, False))
File “C:\Users\Scott\AppData\Roaming\Anki2\addons21\1967530655\export.py”, line 189, in onExportSelected
rows = info_for_cids_to_list_of_lists(browser, sorted(cids), keephtml)
File “C:\Users\Scott\AppData\Roaming\Anki2\addons21\1967530655\export.py”, line 95, in info_for_cids_to_list_of_lists
rows.append(make_row_list_for_card(c, columns_to_export, keephtml))
File “C:\Users\Scott\AppData\Roaming\Anki2\addons21\1967530655\export.py”, line 49, in make_row_list_for_card
props = current_card_deck_properties(card)
File “C:\Users\Scott\AppData\Roaming\Anki2\addons21\1967530655\card_properties.py”, line 97, in current_card_deck_properties
p[“d_new_sep”] = conf[‘new’][“separate”] # unused
KeyError: ‘separate’

Thanks for this report. I just updated the add-on on ankiweb. Could you update, restart, and try again.

I haven’t used this add-on in a while so there might still be some problem. So if you run into another problem please let me know.

1 Like

Yes, it fixed it. Thank you very much!

1 Like

A post was split to a new topic: Downloading an older Anki version

I’m sorry, I must have misunderstood before. What I mean is that I need the version of “export cards/notes from browser with metadata to csv or xlsx” compatible with Anki 2.1.19 (which is the version I have installed and cannot change right now for various reasons).

I’m sorry, my English is very bad, I hope I’ve explained myself better. Thank you.

@Pip: I have it in my backups. Somewhere. When I’m back home in some days I can check my external drive.

In the meantime you could check your backups. I don’t mean what Anki labels as “backup” but your proper backup (that you do with Apple’s TimeMachine or whatever you use on Windows).


Any chance you will update this to version 2.1.45?

I tried to install it, but it says it is not supported

Best regards

I’ll update it at some point but at the moment I don’t have time for it (and since I’m still on older version I don’t need it yet for myself).

1 Like

Dumb question, but where in the UI can we find the option to export? It doesn’t show up in the File → Export… (ctrl+E) window

@Muu9 : it should be in the browser menu under “files” as “export selected …” have you restarted anki? Do you know: When problems occur - Frequently Asked Questions which anki version do you use?

I’m in 2.1.33.
Under Browse->Notes->Export selected notes (Ctrl+Shift+E), the export menu only gives the options of Anki Collection Package, Anki Deck Package, Notes in Plain text, and Cards in plain text. The problem persists after disabling other export addons.

@Muu9 in the browser it’s not in “notes”. it’s in the menu “edit”. (and not “files” as i accidently wrote in my first replay)

what you refer to are built-in options that were added to anki after I made my add-on. I do not use the official export dialog.