Skip to content

Conversation

konbraphat51
Copy link

@konbraphat51 konbraphat51 commented Jul 25, 2025

bug

When tested minimal.py in Python 3.10, Windows 11 Pro

Traceback (most recent call last):
  File "C:\MY_PATH\python-eyex\eyex\api.py", line 75, in _event_handler
    self.eyex_dll.txGetAsyncDataContent(async_data, c.byref(event))
ctypes.ArgumentError: argument 1: OverflowError: int too long to convert
Exception ignored on calling ctypes callback function: <bound method EyeXInterface._event_handler of <eyex.api.EyeXInterface object at 0x000002303F28BD00>>

was looping.

fix

This fixes the typing error (int -> pointer)

After fix

It will works:

Sample(data_mode=2, timestamp=57272628.1625, x=1614.4129623337624, y=431.41974479601924)

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

Successfully merging this pull request may close these issues.

1 participant