Git Product home page Git Product logo

Comments (5)

rgaudin avatar rgaudin commented on August 17, 2024 1

Screen Shot 2022-06-08 at 16 14 59

Screen Shot 2022-06-08 at 16 15 15

from cardshop.

rgaudin avatar rgaudin commented on August 17, 2024

OK, there are two known issues here:

  • catalog synchronization. The cardshop caches the catalog for 24h. I believe in this case, the catalog has changed recently and we shall see a single occurence of Science In The Bath tomorrow. This will be partly fixed by the move to OPDS (#131) although we'd still use some cache. I suggest to shrink the current cache to 3h now.
  • ZIM obsolescence. As far as the Cardshop is concerned, those are just two different ZIMs because they have different names so it's not a duplicate. The problem is (error is at hotspot which downloads the catalog on launch) that the referenced ZIM is not in the catalog anymore (meaning that its file is not downloadable anymore). We've already discussed this but I couldn't find the issue (or we didn't create one?). We need to define a practical way to handle such case:
    • silently remove the unavailable ZIM from the order and pursue (might be the only ZIM or content though!)
    • fail the order with an error message indicating a selected ZIM has retire and configuration must be updated.
    • something else?
      In addition, we need a system that checks for retired ZIM in configs and informs users about the issue. When? On config edit ? on Order placement ?

from cardshop.

kelson42 avatar kelson42 commented on August 17, 2024

@rgaudin Independently of any other consideration, the cardshop recipe should be checked as early as possible against the library opds stream... to avoid later crash.

Related to openzim/cms#7

from cardshop.

rgaudin avatar rgaudin commented on August 17, 2024

Doesn't answer the question of the when except for the obvious “on order creation”. Just to be clear, the current check is at installer startup so first thing once the task is picked up by the worker. We'd want the cardshop to check that before scheduling the order… using OPDS, once we add OPDS support.

from cardshop.

kelson42 avatar kelson42 commented on August 17, 2024

@rgaudin Yes, Cardshop should be able to test a recipe periodicaly and even before a creator is started.

from cardshop.

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.