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
Error loading VST in Python 3.11.5 #271
Comments
Hi @Nintorac! Thanks for this bug report - this is very curious. I don't have a Linux environment available with the relevant Python versions (although I could create one, given some time). In the meantime, are you able to run the command suggested in that error message? ( |
Hey, Sure, here it is in 3.11.5
And this for 3.11.2
Seems to be the same? |
Thanks! I wouldn't expect these to be any different -
...but I'm not sure if that would actually stop Dexed from loading. Note that there are others online who seem to have trouble getting Dexed working on Linux (also with cURL issues); for them, compiling Dexed from scratch seems to do the trick for them. I've now had time to create an x86_64 Linux VM with Python 3.11.5, but unfortunately, I'm not able to reproduce this issue: Python 3.11.5 (main, Nov 14 2023, 02:04:04) [GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pedalboard
>>> pedalboard.load_plugin("dexed-0.9.6-lnx/Dexed.vst3")
<pedalboard.VST3Plugin "Dexed" at 0x5746d2c48e50> My next guess would be that something's off with your cURL version; can you run Click here to see
|
Hmm, I'm not able to repro in Docker using either But I can repro using this Dockerfile with # Use an official Miniconda runtime as a parent image
FROM continuumio/miniconda3:latest
# Set the working directory to /app
WORKDIR /app
# Copy the current directory contents into the container at /app
COPY . /app
# Create a Conda environment
RUN conda create -n py3115 python=3.11.2
# Activate the Conda environment
ENV PATH /opt/conda/envs/py3115/bin:$PATH
RUN apt-get update && apt-get install libasound2 curl libfreetype6 -y
COPY Dexed.vst3 Dexed.vst3
RUN pip install pedalboard
# RUN ls; apt-get install zsh
RUN ldd -v Dexed.vst3/Contents/x86_64-linux/Dexed.so ;python -c 'from pedalboard import load_plugin;load_plugin("Dexed.vst3")' That block hiding is fancy and not something I've seen before or know how to search for 😅 will fix if you let me know No difference between the two, here is the output. `ldd -v Dexed.so```` /home/athena/Downloads/dexed-0.9.6-lnx/Dexed.vst3/Contents/x86_64-linux/Dexed.so: /lib64/libcurl.so.4: no version information available (required by /home/athena/Downloads/dexed-0.9.6-lnx/Dexed.vst3/Contents/x86_64-linux/Dexed.so) linux-vdso.so.1 (0x00007fffe2fdb000) libasound.so.2 => /lib64/libasound.so.2 (0x00007f57ce8f0000) libfreetype.so.6 => /lib64/libfreetype.so.6 (0x00007f57ce822000) libcurl.so.4 => /lib64/libcurl.so.4 (0x00007f57cf349000) librt.so.1 => /lib64/librt.so.1 (0x00007f57cf344000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f57cf33f000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f57cf33a000) libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f57ce400000) libm.so.6 => /lib64/libm.so.6 (0x00007f57ce744000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f57ce724000) libc.so.6 => /lib64/libc.so.6 (0x00007f57ce000000) /lib64/ld-linux-x86-64.so.2 (0x00007f57cf40a000) libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f57ce711000) libpng16.so.16 => /lib64/libpng16.so.16 (0x00007f57ce6d7000) libz.so.1 => /lib64/libz.so.1 (0x00007f57ce6bb000) libharfbuzz.so.0 => /lib64/libharfbuzz.so.0 (0x00007f57ce317000) libbrotlidec.so.1 => /lib64/libbrotlidec.so.1 (0x00007f57ce6ae000) libnghttp2.so.14 => /lib64/libnghttp2.so.14 (0x00007f57ce683000) libidn2.so.0 => /lib64/libidn2.so.0 (0x00007f57ce636000) libssh.so.4 => /lib64/libssh.so.4 (0x00007f57ce2a8000) libpsl.so.5 => /lib64/libpsl.so.5 (0x00007f57ce294000) libssl.so.3 => /lib64/libssl.so.3 (0x00007f57cdf5d000) libcrypto.so.3 => /lib64/libcrypto.so.3 (0x00007f57cda00000) libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f57ce23d000) libldap.so.2 => /lib64/libldap.so.2 (0x00007f57cdef7000) liblber.so.2 => /lib64/liblber.so.2 (0x00007f57ce22b000) libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007f57cd8c4000) libgraphite2.so.3 => /lib64/libgraphite2.so.3 (0x00007f57ce207000) libbrotlicommon.so.1 => /lib64/libbrotlicommon.so.1 (0x00007f57cded4000) libunistring.so.2 => /lib64/libunistring.so.2 (0x00007f57cd70c000) libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f57cd62f000) libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f57cdebb000) libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f57cdeb4000) libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f57cdea3000) libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f57cde9c000) libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f57cde88000) libevent-2.1.so.7 => /lib64/libevent-2.1.so.7 (0x00007f57cde2f000) libsasl2.so.3 => /lib64/libsasl2.so.3 (0x00007f57cd60f000) libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f57cd595000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f57cd569000) libcrypt.so.2 => /lib64/libcrypt.so.2 (0x00007f57cd52f000) libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x00007f57cd492000)
|
I am trying to load Dexed in Python 3.11.5.
I downloaded and unpacked the linux release from here
I load Python and try to load the plugin and get the following
However if I run the same code in Python 3.11.2 it works, ie
The text was updated successfully, but these errors were encountered: