Skip to content

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

@Mounaammar

Description

@Mounaammar

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?

...
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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions