duckdb / duckdb/extension-template

Segmentation Fault

Open
#76 1 comment 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.