apache / apache/age

Importing Graph from Files - with using docker and python driver - not able to import data without any error shown

Open
#2,241 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C
Stars
4.8k
Forks
523
Avg merge
1d 2h
Merged PRs (30d)
9

Description

**Describe the bug**
A clear and concise description of what the bug is.

**How are you accessing AGE (Command line, driver, etc.)?**
- Python driver

**What is the command that caused the error?**

```python
...
cursor.execute(f"SELECT create_vlabel('{graph_name}', '{label}');")
conn.commit()
cursor.execute(f"""
SELECT load_labels_from_file(
'{graph_name}',
'{label}',
'{container_path}'
);
""")
conn.commit()

...
```
ERROR:
2025-11-06 14:09:26 [ERROR] root: ✗ Load failed: KeyError: 0
2025-11-06 14:09:26 [ERROR] root: Error details: KeyError(0)
2025-11-06 14:09:26 [ERROR] root: Search path: {'search_path': 'ag_catalog, "$user", public'}
2025-11-06 14:09:26 [INFO] root: ✓ Total vertices: 0 in 0.00s
```

**Expected behavior**
to import nodes and edges, but not working at all, PS: i'm running age on Docker versio, 1.6.0

**Environment (please complete the following information):**
- Version: Postgresql 16, AGE: 1.6.0

**Additional context**
joint, please find a csv example I used for test purpose

[Station.csv](https://github.com/user-attachments/files/23393838/Station.csv)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.