GithubHelp home page GithubHelp logo

Comments (7)

dbrower avatar dbrower commented on September 23, 2024

I see a record of two jobs being submitted (one yesterday and one today), but can't find the jobs themselves. hmm..

from reader.

dbrower avatar dbrower commented on September 23, 2024

In the log file ~eric/log/queue2carrel.log I found the following message for both of these jobs: Error: Unknown type (cord). Call Eric.

It looks like the dispatch table for reader-classic does not have an entry for cord. https://github.com/ericleasemorgan/reader-classic/blob/master/bin/queue2carrel.sh#L116

@ericleasemorgan do you have any thoughts on this?

from reader.

ericleasemorgan avatar ericleasemorgan commented on September 23, 2024

from reader.

randal-sean-harrison avatar randal-sean-harrison commented on September 23, 2024

from reader.

dbrower avatar dbrower commented on September 23, 2024

Don, it seems all your good work is located on reader-http in /opt/reader. When I navigate down to the file templates/cord-create.html I see that the form's action attribute is empty. I suppose execution of a submission gets handled by @app.route("/create/cord", methods=["GET", "POST"]).

Yes, exactly. The html is sent with a GET, and then a POST is used for the form submission. And the server is running out of /opt/reader.

I then noticed that you write to the queue using add_job_to_queue, but alas, there are two queues because there are two distinctly different bibliographic structures; processing against Reader Classic is different than processing against Reader CORD.

Yuuuuup, this is it. I missed that there were multiple submission queues when I was porting the CGI scripts. Thanks for pointing this out. I'll get a patch made to fix it.

I also see a third queue for the HathiTrust, and each queue has a corresponding backlog directory for files.

from reader.

dbrower avatar dbrower commented on September 23, 2024

Did my question about the route actually get pulled in and change the route.

Yes, I think that was pulled in. But it isn't causing this problem.

from reader.

dbrower avatar dbrower commented on September 23, 2024

@nkmeyers I think the problem is fixed and I have rerun those two jobs that got "lost".

from reader.

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.