rationalagents / twbxless

Makes data exported in Tableau TWBX files available at CSV URLs
MIT License
0 stars 2 forks source link

Doesn't support M1 Macs #12

Open waded opened 1 year ago

waded commented 1 year ago

As of Hyper API 0.0.15735 it doesn't appear M1 Macs are completely supported by Hyper API. twbxless's /datasources endpoint will work, but others depend on native code in the Java Hyper API lib and cause JNI exceptions when using twbxless's /data endpoint.

See also https://community.tableau.com/s/question/0D58b0000A9YZ1sCQG/arm64e-support-for-libtableauhyperapidylib

waded commented 1 year ago

For now, with the updates to Dockerfile coming soon that fix the 404'd Hyper API URL, building with --platform linux/x86_64 suffices. The emulation can be pretty slow, the gradle build in particular.

No great solution for non-Docker build/run on M1 Macs until Tableau adds an M1 version of the Java library far as I know. Tell me I'm wrong!

waded commented 1 year ago

Using --platform as a workaround works as of 1d28d6c.