duckdb / duckdb/extension-template
Segmentation Fault
- Dominant language
- Python
- Stars
- 290
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
I am receiving segmentation faults when trying to install and load in python
import duckdb
# Connect to an in-memory DuckDB database with the required configuration
con = duckdb.connect(':memory:', config={'allow_unsigned_extensions': 'true'})
# Set the configuration for allowing extensions with metadata mismatch
con.execute("SET allow_extensions_metadata_mismatch=true;")
# Install the 'scrooge' extension
con.execute("INSTALL '/home/k8/Documents/quack2/build/release/extension/quack/quack.duckdb_extension';")
con.execute("LOAD '/home/k8/Documents/quack2/build/release/extension/quack/quack.duckdb_extension';")
# Load the CSV file into DuckDB and execute the query
result = con.execute("select quack('Jane') as result;").fetchone()
print(result)
#close
con.close()
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.