Skip to content

Utils.summary seems to fail with newer versions of ApertureDB #619

Closed

Description

@luisremis

root@kbh-bgzng:/# pip show aperturedb
Name: aperturedb
Version: 0.4.50

INFO:     Started server process [12]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit)
Starting Status Server is up.
Verifying connectivity to somedb.cloud.aperturedata.dev...
[
    {
        "GetStatus": {
            "info": "OK",
            "status": 0,
            "system": "ApertureDB",
            "version": "0.18.15"
        }
    }
]
Done.
╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ /opt/venv/lib/python3.10/site-packages/aperturedb/cli/utilities.py:54 in     │
│ execute                                                                      │
│                                                                              │
│    51 │   │   │   CommandTypes.REMOVE_INDEXES, force) and utils.remove_all_i │
│    52 │   }                                                                  │
│    53 │                                                                      │
│ ❱  54 │   available_commands[command]()                                      │
│    55                                                                        │
│    56                                                                        │
│    57 class LogLevel(str, Enum):                                             │
│                                                                              │
│ /opt/venv/lib/python3.10/site-packages/aperturedb/Utils.py:285 in summary    │
│                                                                              │
│   282 │   │   print(f"Total connections types: {total_connections}")         │
│   283 │   │   total_edges = 0                                                │
│   284 │   │   for c in connections_classes:                                  │
│ ❱ 285 │   │   │   total_edges += self._object_summary(c,                     │
│   286 │   │   │   │   │   │   │   │   │   │   │   │   r["connections"]["clas │
│   287 │   │                                                                  │
│   288 │   │   print(f"------------------ Totals -------------------")        │
│                                                                              │
│ /opt/venv/lib/python3.10/site-packages/aperturedb/Utils.py:212 in            │
│ _object_summary                                                              │
│                                                                              │
│   209 │                                                                      │
│   210 │   def _object_summary(self, name, object):                           │
│   211 │   │                                                                  │
│ ❱ 212 │   │   total_elements = object["matched"]                             │
│   213 │   │                                                                  │
│   214 │   │   print(f"{name.ljust(20)}")                                     │
│   215 │   │   if "src" in object:                                            │
╰──────────────────────────────────────────────────────────────────────────────╯
TypeError: list indices must be integers or slices, not str
Starting App: ingestor-embeddings ...
Error in sitecustomize; set PYTHONVERBOSE for traceback:
ModuleNotFoundError: No module named 'typer'
Error in sitecustomize; set PYTHONVERBOSE for traceback:
ModuleNotFoundError: No module named 'typer'
Error in sitecustomize; set PYTHONVERBOSE for traceback:
ModuleNotFoundError: No module named 'typer'
input/adb already exists, skipping archive adb.tar.gz
loading embeddings into ApertureDb
connected to aperture db

Activity

  1. added
    bug
    on Sep 29, 2025
  2. changed the title [-]Utils.summary breaks[/-] [+]Utils.summary seems to fail with newer versions of ApertureDB[/+] on Sep 29, 2025
  3. ad-claw000 commented on Apr 21, 2026

    @ad-claw000
    Contributor

    This was fixed in develop via #621. Closing the issue.

  4. self-assigned this
    on May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions