Skip to content

OSError: exception: access violation reading #4

@nyckmaia

Description

@nyckmaia

This issue is a continuation of #2

Installing the pyvst package:

cd [go to the pyvst root folder]
pip install .

Running the simple_host.py example:

python3 .\examples\simple_host.py 'C:\Program Files\Steinberg\VstPlugins\TAL-Elek7ro-II.dll'

Terminal output:

Traceback (most recent call last):
  File "C:\Users\nyck\Desktop\pyvst\examples\simple_host.py", line 37, in <module>
    main(args.vst)
  File "C:\Users\nyck\Desktop\pyvst\examples\simple_host.py", line 15, in main
    host = SimpleHost(vst_filename, sample_rate=48000.)
  File "C:\Users\nyck\AppData\Local\Programs\Python\Python39\lib\site-packages\pyvst\host.py", line 75, in __init__
    self.load_vst(vst_filename)
  File "C:\Users\nyck\AppData\Local\Programs\Python\Python39\lib\site-packages\pyvst\host.py", line 109, in load_vst
    self.vst.resume()
  File "C:\Users\nyck\AppData\Local\Programs\Python\Python39\lib\site-packages\pyvst\vstplugin.py", line 57, in resume
    self._dispatch(AEffectOpcodes.effMainsChanged, value=1)
  File "C:\Users\nyck\AppData\Local\Programs\Python\Python39\lib\site-packages\pyvst\vstplugin.py", line 65, in _dispatch
    output = self._effect.dispatcher(byref(self._effect), c_int32(opcode), c_int32(index),
OSError: exception: access violation reading 0x0000000000000006

What am I doing wrong?

My system:

  • Windows 10 x64
  • Python 3.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions