-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metadata incompatible error when loading extension #70
Comments
Hey @freddie-freeloader I think you may have an old version of the extension installed, can you try running install with an already installed extension of that name is a NOP |
Thank you @samansmink, that helped. Now, I get the following error:
I guess the issue is, that my extension is So I added Any ideas, what the problem might be? |
Now, I set up the S3-Bucket workflow, and have it build the extension + push to S3-Bucket. My repository is: https://github.com/freddie-freeloader/duckdb-extension-test When I run
I get
As you can see in my repository, I use |
My current workaround is to truncate the last 256 byte, that contain the metadata AFAIK (duckdb/duckdb#11515):
|
Hey @samansmink , I now updated my repository (https://github.com/freddie-freeloader/duckdb-extension-test) to use When I do D SET custom_extension_repository = 'http://duckdb-sheetreader-extension.s3.eu-central-1.amazonaws.com';
D FORCE INSTALL sheetreader; I now get
I tried
Do you have any pointers, when/where the metadata is written and how I could debug the problem? |
I compiled the project with
make
and it successfully created the DuckDB CLI and a loadable extension<extension-name>.duckdb_extension
.Now I downloaded the latest DuckDB CLI binary from
https://github.com/duckdb/duckdb/releases/download/v0.10.2/duckdb_cli-linux-amd64.zip
and tried to load the extension file withinstall '<path-to-extension>/<extension-name>.duckdb_extension';
+load <extension-name>;
, I get:I checked the version of the binary, and it's
v0.10.2 1601d94f94
& I compiled my extension against the same version of DuckDB.What am I doing wrong? 🤔
The text was updated successfully, but these errors were encountered: