Open langston-barrett opened 2 years ago
Interesting. CrowdAnkiExports should definitely have a note_model :sweat_smile: I will look into this shortly
I just cloned the starter project, deleted Build/
, and ran brainbrew run recipes/source_to_anki.yaml
with no issues :thinking:
This is a rather strange error. I can not see in the code how note_models
could generate this error, as it does indeed exist :thinking: (by my understanding it is complaining there is no variable on the class called note_models, not that it is not instantiated)
Could you try on Python 3.7.10? That is what Brain Brew is specified towards. Though I would not expect a later version to do this.
Barring that, if you could try again with a fresh repo, and detail every step you take (in case any were missed) that would be great.
Aha, I can recreate the issue! I get the exact same error
Steps:
anki_to_source.yaml
instead of source_to_anki.yaml
:sweat_smile: easy mistake to make, but it's essentially trying to make the source files (the csvs) from a non-existing CrowdAnki file. No clue why this results in such an error message, and I should look into fixing that :+1: But I believe your problem will be fixed by running source_to_anki.yaml
:+1: Do let me know!
When cloning the starter project, deleting
build/
, and trying to build it, I getSystem info: