Giter Site home page Giter Site logo

Comments (4)

timvdalen avatar timvdalen commented on April 27, 2024

Closing and opening the PRs made this show up in the logs:

[error] GenServer Aelita2.Batcher terminating
** (Ecto.NoResultsError) expected at least one result but got none in query:
** (Ecto.NoResultsError) expected at least one result but got none in query:
from p in Aelita2.Patch,
from p in Aelita2.Patch,
  left_join: l in subquery(from l in Aelita2.LinkPatchBatch,
  left_join: l in subquery(from l in Aelita2.LinkPatchBatch,
  join: b in Aelita2.Batch,
  join: b in Aelita2.Batch,
  on: l.batch_id == b.id and b.state != ^3),
  on: l.batch_id == b.id and b.state != ^3),
  on: l.patch_id == p.id,
  on: l.patch_id == p.id,
  where: is_nil(l.batch_id),
  where: p.open,
  where: p.id == ^6
    (ecto) lib/ecto/repo/queryable.ex:74: Ecto.Repo.Queryable.one!/4
  where: is_nil(l.batch_id),
  where: p.open,
    (aelita2) lib/aelita2/batcher.ex:63: Aelita2.Batcher.do_handle_cast/1
  where: p.id == ^6
    (ecto) lib/ecto/repo/queryable.ex:74: Ecto.Repo.Queryable.one!/4
    (aelita2) lib/aelita2/batcher.ex:63: Aelita2.Batcher.do_handle_cast/1
    (ecto) lib/ecto/adapters/sql.ex:508: anonymous fn/3 in Ecto.Adapters.SQL.do_transaction/3
    (db_connection) lib/db_connection.ex:1274: DBConnection.transaction_run/4
    (db_connection) lib/db_connection.ex:1198: DBConnection.run_begin/3
    (db_connection) lib/db_connection.ex:789: DBConnection.transaction/3
    (aelita2) lib/aelita2/batcher.ex:58: Aelita2.Batcher.handle_cast/2
    (stdlib) gen_server.erl:615: :gen_server.try_dispatch/4
Last message: {:"$gen_cast", {:reviewed, 6}}
    (ecto) lib/ecto/adapters/sql.ex:508: anonymous fn/3 in Ecto.Adapters.SQL.do_transaction/3
    (db_connection) lib/db_connection.ex:1274: DBConnection.transaction_run/4
    (db_connection) lib/db_connection.ex:1198: DBConnection.run_begin/3
    (db_connection) lib/db_connection.ex:789: DBConnection.transaction/3
    (aelita2) lib/aelita2/batcher.ex:58: Aelita2.Batcher.handle_cast/2
    (stdlib) gen_server.erl:615: :gen_server.try_dispatch/4
Last message: {:"$gen_cast", {:reviewed, 6}}

(I'm guessing this is two sets of logs interleaved, though I'm only running one process)

from bors-ng.

notriddle avatar notriddle commented on April 27, 2024

CC #25

from bors-ng.

notriddle avatar notriddle commented on April 27, 2024

I haven't managed to reproduce this bug, but I have added the ability to cancel PRs (with PR #63).

Your problem might be #61, but I'm not sure of that.

from bors-ng.

timvdalen avatar timvdalen commented on April 27, 2024

Yes, things are moving again!

from bors-ng.

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.