You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Was able to reproduce!
I think the issue here is that the library version used in the exporter does not support the DB from newer version of Anki. I need to look into updating it!
Hi there,
I followed the instructions as per the binder on both MacOS and Windows10 and am getting the following error.
`---------------------------------------------------------------------------
DBError Traceback (most recent call last)
/srv/conda/envs/notebook/lib/python3.7/site-packages/ipywidgets/widgets/widget_output.py in inner(*args, **kwargs)
101 self.clear_output(*clear_args, **clear_kwargs)
102 with self:
--> 103 return func(*args, **kwargs)
104 return inner
105 return capture_decorator
/tmp/ipykernel_75/1513846262.py in show_decks(change)
25 Path(collection_fname).write_bytes(change['new'][filename]['content'])
26
---> 27 collection = Collection(collection_fname, log=True)
28 select_deck.options=tuple(collection.decks.allNames())
29 collection.close()
/srv/conda/envs/notebook/lib/python3.7/site-packages/anki/collection.py in init(self, path, backend, server, log)
53 self.server = server
54 self.path = os.path.abspath(path)
---> 55 self.reopen()
56
57 self.log(self.path, anki.version)
/srv/conda/envs/notebook/lib/python3.7/site-packages/anki/collection.py in reopen(self, after_full_sync)
269 media_folder_path=media_dir,
270 media_db_path=media_db,
--> 271 log_path=log_path,
272 )
273 else:
/srv/conda/envs/notebook/lib/python3.7/site-packages/anki/rsbackend_gen.py in open_collection(self, collection_path, media_folder_path, media_db_path, log_path)
466 )
467 output = pb.Empty()
--> 468 output.ParseFromString(self._run_command(63, input))
469 return output
470
/srv/conda/envs/notebook/lib/python3.7/site-packages/anki/rsbackend.py in _run_command(self, method, input)
265 err = pb.BackendError()
266 err.ParseFromString(err_bytes)
--> 267 raise proto_exception_to_native(err)
268
269
DBError: DBError { info: "", kind: FileTooNew }`
The text was updated successfully, but these errors were encountered: