Page MenuHomePhabricator

Defect in Sections Demo POC - API stops when no infobox found
Open, LowPublic

Description

The machine-readability-poc-api container stops when the searched article has no infobox. See terminal log

image.png (122×631 px, 19 KB)

Steps to reproduce:

  1. In termainl, in machine-readability-poc folder, start the demo with docker compose up -d --build
  2. Open the Browser in http://localhost:8080/
  3. Change to EnWiki project and select title: Anarchism , then press Show
  4. Open Docker Deskltop and check the machine-readability-poc-api container.
  5. You'll see the container is stopped and the last console message is: no infobox found

Checklist for testing

  • If no infobox in article, the container keeps running and shows the JSON as normal