Code Monkey home page Code Monkey logo

Comments (7)

johnlawrenceaspden avatar johnlawrenceaspden commented on September 24, 2024

What seems to have happened is that the deck config uuid, which is listed twice in the json file, had got out of sync with itself somehow.

Fiddling it by hand in the json and then importing the deck has fixed the issue for me.

from crowdanki.

Stvad avatar Stvad commented on September 24, 2024

huh, let me know if it happens again!

from crowdanki.

johnlawrenceaspden avatar johnlawrenceaspden commented on September 24, 2024

It happened again. I think all you need to do to provoke it is to change the options group of your deck. It would be much better if the options stuff wasn't exported anyway!

from crowdanki.

johnlawrenceaspden avatar johnlawrenceaspden commented on September 24, 2024

Specifically the deck_config_uuid doesn't change, but the deck_configurations/crowdanki_uuid does, and this makes the file un-importable.

from crowdanki.

gabbard avatar gabbard commented on September 24, 2024

I am also experiencing this problem, also triggered by differing options groups.

Since this breaks one of the core use cases of the plug-in (sharing decks between people, who will typically want different rates of new cards per day, etc.), would it make sense to disable options group export/import for now and then make re-enabling it a feature for the future?

from crowdanki.

Stvad avatar Stvad commented on September 24, 2024

there is no easy way to just disable it. setting https://github.com/Stvad/CrowdAnki/blob/master/crowd_anki/representation/deck.py#L130 to false can be a quick hack for the update use case. but just setting it to false would likely break the fresh import scenario.
To make this work, the default behavior that'd choose the deck config to be default if it's not found or something like that is required here

from crowdanki.

aplaice avatar aplaice commented on September 24, 2024

Looking at the error message and the description, I think that the root issue here is the same as #106 and #116!

(This issue also includes a request to avoid exporting/importing the deck config:

Since this breaks one of the core use cases of the plug-in (sharing decks between people, who will typically want different rates of new cards per day, etc.),

but that's already fully covered by #31.)

from crowdanki.

Related Issues (20)

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.