Git Product home page Git Product logo

Comments (9)

lkiesow avatar lkiesow commented on May 28, 2024

Should that be a command line option or something on the/a web-ui?

On Fri, 22 Jul 2016 01:44:30 -0700
Jan Koppe [email protected] wrote:

If ingesting a recording has failed (e.g. network problems), the user
has to ingest the recording by hand outside of pyCA.

It would be nice if pyCA provides a switch (e.g. pyCA --ingest-now recording-xyz) that can be used to retrigger ingesting a recording.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/lkiesow/pyCA/issues/30

from pyca.

JanKoppe avatar JanKoppe commented on May 28, 2024

A command line option would be a very good start, but being able to
trigger this from the web-ui would be a nice addition. Preferably with a
list of available recordings (dropdown menu).

from pyca.

JanKoppe avatar JanKoppe commented on May 28, 2024

I did a quick implementation in #33 , but I'm not a good python dev at all, so any suggestions for improvements are very, very welcome. It seems to work just fine for me.

from pyca.

JanKoppe avatar JanKoppe commented on May 28, 2024

This has been effectively implemented with the DB integration and process split.

from pyca.

lkiesow avatar lkiesow commented on May 28, 2024

Not quite (at least not if I did not miss anything). If an upload failed, the status would be set to FAILED_UPLOADING and not be picked up again. An easy solution would be to add an action column to the recordings table in the user interface where you have a “Retry Ingest” link which would effectively set the recordings status to FINISHED_RECORDING again.

from pyca.

JanKoppe avatar JanKoppe commented on May 28, 2024

My bad, you are right.

from pyca.

lkiesow avatar lkiesow commented on May 28, 2024

From discussion:

Let's have a re-ingest button in the recording table if state > RECORDING_FINISHED

from pyca.

JanKoppe avatar JanKoppe commented on May 28, 2024

Would be handled by #73, PATCH-ing the event state to Status.FINISHED_RECORDING, which in turn triggers the ingest service to try another ingest.

from pyca.

lkiesow avatar lkiesow commented on May 28, 2024

Todo to get this done:

  • Create a retry_ingest REST endpoint
  • The endpoint only accepts identifier for recordings which are in the state FAILED_UPLOADING
  • The endpoint will change the status to FINISHED_RECORDING which will make pyCA automatically try to upload the recording again
  • Add an option to the recording table to trigger an update

from pyca.

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.