age icon indicating copy to clipboard operation
age copied to clipboard

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

Open Mounaammar opened this issue 3 months ago • 0 comments

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)

Mounaammar avatar Nov 06 '25 13:11 Mounaammar