Skip to content

Flight Route returns no results #2

Description

@Relaxdaws

gfly version

0.3.0

Backend

google (default)

OS / Python

Ubuntu 24.04

Command

gfly search PIT PSP --depart 2027-02-10 --return 2027-02-17

What you expected vs. what happened

This route returns no results despite there being results.

Structured error / exit code

error: could not parse the upstream response: TypeError: 'NoneType' object is not subscriptable
  code: SCHEMA_DRIFT
  fix:  upgrade gfly / its engine, switch --backend serpapi, or file an issue

echo $?
21

gfly doctor output

{
  "ok": true,
  "backend": "google",
  "reachable": true,
  "blocked": false,
  "schemaOk": true,
  "throttle": {
    "backend": "google",
    "lastRequest": 1783438693.6612015,
    "blocked": false,
    "blockedUntil": null,
    "cooldownSeconds": 0,
    "consecutiveBlocks": 0
  },
  "checks": [
    {
      "name": "backend",
      "ok": true,
      "detail": "google backend selected"
    },
    {
      "name": "auth",
      "ok": true,
      "detail": "the google backend requires no authentication",
      "fix": null
    },
    {
      "name": "keyring",
      "ok": true,
      "detail": "available"
    },
    {
      "name": "throttle",
      "ok": true,
      "detail": "clear"
    },
    {
      "name": "connectivity",
      "ok": true,
      "detail": "google returned 18 itineraries",
      "fix": null
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions