Comments (10)
I can not reproduce this on a build on main
with your reproduction.
Sounds like it's already fixed or there are additional details that are missing here to reproduce the issue.
from duckdb.
Can you share a few more details like:
- the result of
PRAGMA platform
- the result of
FROM duckdb_exceptions()
- what happens if you do:
import duckdb
con = duckdb.connect(database=':memory:')
con.load_extension('aaarrgh')
from duckdb.
@carlopi - I spun up an aarch64 ubuntu instance:
con.load_extension('aaarrgh')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
duckdb.duckdb.IOException: IO Error: Extension "/home/ubuntu/.duckdb/extensions/v0.9.2/linux_arm64_gcc4/aaarrgh.duckdb_extension" not found.
Candidate extensions: "arrow"
from duckdb.
@carlopi - I spun up an aarch64 ubuntu instance:
con.load_extension('aaarrgh')Traceback (most recent call last): File "<stdin>", line 1, in <module> duckdb.duckdb.IOException: IO Error: Extension "/home/ubuntu/.duckdb/extensions/v0.9.2/linux_arm64_gcc4/aaarrgh.duckdb_extension" not found. Candidate extensions: "arrow"
excel
is the name of the extension they're loading, not aaargh
from duckdb.
@amplifinn-admin can you share the commands you used to build the excel
extension for linux_arm64_gcc4
?
from duckdb.
@amplifinn-admin can you share the commands you used to build the
excel
extension forlinux_arm64_gcc4
?
I have downloaded manually excel.duckdb_extension.gz with this link: http://extensions.duckdb.org/v0.9.2/linux_arm64/excel.duckdb_extension.gz
import gzip
import shutil
import duckdb
with gzip.open('excel.duckdb_extension.gz','rb') as f_in:
with open('excel.duckdb_extension', 'wb') as f_out:
shutil.copyfileobj(f_in, f_out)
con = duckdb.connect()
con.install_extension('excel.duckdb_extension')
from duckdb.
con.load_extension('aaarrgh')
the result of PRAGMA platform ---> "linux_arm64_gcc4"
the result of FROM duckdb_exceptions() ---> Catalog Error: Table Function with name duckdb_exceptions does not exist!
Result for above mentioned code:
import duckdb
con = duckdb.connect(database=':memory:')
con.load_extension('excel')
Segmentation fault (core dumped)
from duckdb.
@amplifinn-admin can you share the commands you used to build the
excel
extension forlinux_arm64_gcc4
?I have downloaded manually excel.duckdb_extension.gz with this link: http://extensions.duckdb.org/v0.9.2/linux_arm64/excel.duckdb_extension.gz
import gzip
import shutil
import duckdbwith gzip.open('excel.duckdb_extension.gz','rb') as f_in:
with open('excel.duckdb_extension', 'wb') as f_out:
shutil.copyfileobj(f_in, f_out)con = duckdb.connect()
con.install_extension('excel.duckdb_extension')
The abi in that download isn't compatible with the python DuckDB binding, so a segfault here, while not ideal, isn't surprising
from duckdb.
Thanks for reporting this. We already have in the roadmap implementing (some) checks before INSTALL and LOAD of extensions, that would have prevented this from happening but allow, on LOAD of a non compatible file, some error informing users that the file do not look like a compatible extensions.
I will close this for now, most relevant issue here is #8035, that is currently not planned.
from duckdb.
@amplifinn-admin the platforms linux_arm64_gcc
and linux_arm64
are different ones, see the list of our platforms. This causes the error.
from duckdb.
Related Issues (20)
- Overhead in con.cursor() is enormous HOT 5
- Memory leak in python when referencing a dataframe that is reused HOT 5
- Inconsistent Results with Recursive Queries on Some Graphs in DuckDB HOT 9
- [CSV Sniffer] `gzip` compressed, tab delimited file throws odd error HOT 1
- `LIST_DOT_PRODUCT([], [])`: INTERNAL Error: Operation requires a flat vector but a non-flat vector was encountered HOT 2
- Process crashes with "Assertion `part.heap_block_offset < heap_block.size' failed." in TupleDataAllocator HOT 2
- Using `read_csv` function with `parallel = true` to read tpch data will cause line missing
- Parquet reader considers 'FOO' and 'foo' a duplicate column names and fails HOT 1
- aggregate(df).* is a syntax error but should be unnest(aggregate(df)) HOT 1
- duckdb.cpython-312-x86_64-linux-gnu.so: undefined symbol: _ZN14duckdb_mbedtls14MbedTlsWrapper18AESGCMStateMBEDTLSC1Ev HOT 2
- current_timestamp bad performance in Linux HOT 3
- hllDenseRegHisto counts for a significant number of my cpu cycles, not using an aggregate HOT 3
- Can't create a view with prepared parameteres HOT 1
- Avoid inconsistent state when writing same persistent from multiple threads HOT 8
- Conflicting lock when using FastAPI/Uvicorn reload=True HOT 1
- Wrapping DISTINCT with UNNEST eliminates DISTINCT's effect HOT 2
- DuckDB crash on UNION ALL statement with > 350 SELECT's HOT 4
- TRY_CAST(1::BIT AS SMALLINT) throws error but docs say it should never do that. HOT 2
- Difference between sklearn R^2 and duckdb R^2 HOT 4
- Macro default variable that is a boolean type fails HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from duckdb.