Error Whwn exporting Collection

I´m trying to export my colection and I got this message below. I tried several times and always got the same error message:

Anki 2.1.35 (84dcaa86) Python 3.8.0 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=?
Add-ons, last update check: 2020-11-08 13:32:24

Caught exception:
Traceback (most recent call last):
File “aqt\progress.py”, line 53, in handler
File “aqt\main.py”, line 1258, in onRefreshTimer
File “aqt\deckbrowser.py”, line 63, in refresh
File “aqt\deckbrowser.py”, line 114, in _renderPage
File “anki\schedv2.py”, line 247, in deck_due_tree
File “anki\rsbackend_gen.py”, line 225, in deck_tree
File “anki\rsbackend.py”, line 267, in _run_command
anki.rsbackend.InvalidInput: CollectionNotOpen

If anyone have any advice, I´ll aprecciate a lot

The new message I got now is:

Anki 2.1.35 (84dcaa86) Python 3.8.0 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=?
Add-ons, last update check: 2020-11-08 13:32:24

Caught exception:
Traceback (most recent call last):
File “aqt\progress.py”, line 53, in handler
File “aqt\main.py”, line 1258, in onRefreshTimer
File “aqt\deckbrowser.py”, line 63, in refresh
File “aqt\deckbrowser.py”, line 114, in _renderPage
File “anki\schedv2.py”, line 247, in deck_due_tree
File “anki\rsbackend_gen.py”, line 225, in deck_tree
File “anki\rsbackend.py”, line 267, in _run_command
anki.rsbackend.InvalidInput: CollectionNotOpenc

Other message when tried to export to a pen drive:
Other message when tried to export to a pen drive:
Anki 2.1.35 (84dcaa86) Python 3.8.0 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=?
Add-ons, last update check: 2020-11-08 13:32:24

Caught exception:
Traceback (most recent call last):
File “aqt\taskman.py”, line 87, in _on_closures_pending
File “aqt\taskman.py”, line 59, in
File “aqt\exporting.py”, line 167, in on_done
File “concurrent\futures_base.py”, line 432, in result
File “concurrent\futures_base.py”, line 388, in __get_result
File “concurrent\futures\thread.py”, line 57, in run
File “aqt\exporting.py”, line 161, in do_export
File “anki\exporting.py”, line 325, in exportInto
File “anki\exporting.py”, line 420, in doExport
File “anki\exporting.py”, line 365, in _exportMedia
File “zipfile.py”, line 1757, in write
File “shutil.py”, line 202, in copyfileobj
PermissionError: [Errno 13] Permission denied

Perhaps the location you’re trying to export to is not writable?

Thanks Dae. I ran "check disk /f /r ", and after that, it was posible export my collection.
Regards

1 Like