Giter Site home page Giter Site logo

Comments (4)

ohare93 avatar ohare93 commented on May 31, 2024 1

Sorry you're having the issue. Yes, I see the issue, your add-on has added new values that get exported via CrowdAnki, that Brain Brew is not expecting 🙁 I will look into making a fix this coming weekend, to ignore all these other values (with a warning to let me know). I'll reply here when I have released a fix 👍

Otherwise I have been semi automatically syncing my file to a google spreadsheet via tsv export, awk scripts, and google-drive sync. Is there a way to get started with brain-view and a tsv file?

Sadly no, it must be init'd with a CrowdAnki file for it to be done automatically. Not a lot of people have their cards in their own (semi-)automated csv files 😅 so you're already ahead of the curve! A quick solution would be to write a simple script to remove all the "assetManager" values from the CrowdAnki file 🤔

from brain-brew.

ohare93 avatar ohare93 commented on May 31, 2024 1

I have fixed this issue 👌 Install the latest (BrainBrew==0.3.5) and all should work 👍

Now the init function will continue and ignore all erroneous values. Giving a warning such as:

WARNING:root:Unexpected values found when creating 'CrowdAnki': ['assetManager', 'testUselessKey']
!!! Please report this error if it seems strange

Please confirm all is fixed, and I will send out a proper release message 😁

from brain-brew.

boydkelly avatar boydkelly commented on May 31, 2024 1

Thank you! I am just kind of a cut-and-paste hacker when it comes to python, but I managed to (after nuking the pip install):

python setup.py install --user
brainbrew init Jula__1_Vocabulaire
...
WARNING:root:Unexpected values found when creating 'CrowdAnki': ['assetManager', 'assetManagerHtml', 'nb column', 'unicardmode']
!!! Please report this error if it seems strange
WARNING:root:Unexpected values found when creating 'CrowdAnki': ['single line']
!!! Please report this error if it seems strange
...
[bkelly@toolbox CrowdAnki]$ brainbrew run recipes/source_to_anki.yaml 
INFO:root:Builder file recipes/source_to_anki.yaml is ✔ good
INFO:root:Attempting to generate Guids
INFO:root:Generate guids complete

Just have to figure out where to go from here. But at least the fix looks good!

from brain-brew.

ohare93 avatar ohare93 commented on May 31, 2024

Excellent! 👍 thank you for reporting the error 💪

Let me know if you have any questions.

from brain-brew.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.