Skip to content
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

usb_relay_device_enumerate return Null pointer access #45

Open
super-starha opened this issue Jun 5, 2023 · 0 comments
Open

usb_relay_device_enumerate return Null pointer access #45

super-starha opened this issue Jun 5, 2023 · 0 comments

Comments

@super-starha
Copy link

I download USB_RELAY_DEVICE.dll and use lib.usb_relay_device_enumerate(), but it return NUll pointer access,
please help me to take a look.Thanks very mush
Traceback (most recent call last):
File "F:\SelfProject\TrainPython\venv\lib\site-packages\automotive\utils\usb_relay.py", line 105, in usb_relay_device_enumerate
p = resp.contents
ValueError: NULL pointer access

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
line 324, in open_relay_device
dev = self.__lib.usb_relay_device_enumerate()
in usb_relay_device_enumerate
raise RuntimeError(error[1])
RuntimeError: NULL pointer access

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant