Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brain_brew build issue #498

Closed
ruin1990 opened this issue Dec 27, 2021 · 2 comments
Closed

brain_brew build issue #498

ruin1990 opened this issue Dec 27, 2021 · 2 comments

Comments

@ruin1990
Copy link
Contributor

Hi, I installed brain brew== 0.3.6 and python==3.6 , and found that there is a problem with the yaml file parsing.
I checked the source code and found that the field "note_model_templates_from_html" is not defined now
Could someone give a version number that you can compile normally? @aplaice
Or shall I update the yaml(I think it is newest in recipe folder)?
Error message:

C:\Users\Administrator\Desktop\github\ultimate-geography>brain_brew run recipes/source_to_anki.yaml
Validation failed!

Error validating data 'recipes/source_to_anki.yaml' with 'C:\Users\Administrator\AppData\Local\Programs\Python\Python36\
lib\site-packages\brain_brew-0.3.6-py3.6.egg\brain_brew\configuration\../schemas/recipe.yaml'

        1.build_parts.0: Key error - 'note_model_templates_from_html' is not a regex match.
        1.build_parts.0: Key error - 'note_model_templates_from_html' is not a regex match.
        1.build_parts.0: Key error - 'note_model_templates_from_html' is not a regex match.
        1.build_parts.0: Key error - 'note_model_templates_from_html' is not a regex match.
        1.build_parts.0: Key error - 'note_model_templates_from_html' is not a regex match.
        1.build_parts.0: Key error - 'note_model_templates_from_html' is not a regex match.
        1.build_parts.0: Key error - 'note_model_templates_from_html' is not a regex match.
        1.build_parts.0: Key error - 'note_model_templates_from_html' is not a regex match.
        1.build_parts.0: Key error - 'note_model_templates_from_html' is not a regex match.
        1.build_parts.0: Key error - 'note_model_templates_from_html' is not a regex match.
        1.build_parts.0: Key error - 'note_model_templates_from_html' is not a regex match.
        1.build_parts.0: Key error - 'note_model_templates_from_html' is not a regex match.
        1: Key error - 'build_parts' is not a regex match.
        1: Key error - 'build_parts' is not a regex match.
        1: Key error - 'build_parts' is not a regex match.
        1: Key error - 'build_parts' is not a regex match.
        1: Key error - 'build_parts' is not a regex match.
@ruin1990
Copy link
Contributor Author

Oh, I found a version Brain-Brew==0.3.2
It can be used, and I install it with its source code
This is really embarrassing, I should google it first

@aplaice
Copy link
Collaborator

aplaice commented Dec 27, 2021

Good point — we might want to switch to the latest version of BrainBrew, eventually.

I'm glad that you managed to figure out a way how to use our current version, though. (You could also have used pipenv, but since your way works, there's no need to change.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants