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

JLink SDK for v8 has changed? #216

Open
lab313ru opened this issue Dec 18, 2024 · 1 comment
Open

JLink SDK for v8 has changed? #216

lab313ru opened this issue Dec 18, 2024 · 1 comment

Comments

@lab313ru
Copy link

lab313ru commented Dec 18, 2024

When using JLink with a fresh installed v8.10 pylink crashes:

Exception ignored on calling ctypes callback function: <function JLink.__init__.<locals>.<lambda> at 0x00000201E50384A0>
Traceback (most recent call last):
  File "c:\Python312\Lib\site-packages\pylink\jlink.py", line 324, in <lambda>
  File "c:\Python312\Lib\logging\__init__.py", line 1526, in debug
  File "c:\Python312\Lib\logging\__init__.py", line 1800, in isEnabledFor
TypeError: 'NoneType' object is not callable
Exception ignored on calling ctypes callback function: <function JLink.__init__.<locals>.<lambda> at 0x00000201E50384A0>
Traceback (most recent call last):
  File "c:\Python312\Lib\site-packages\pylink\jlink.py", line 324, in <lambda>
  File "c:\Python312\Lib\logging\__init__.py", line 1526, in debug
  File "c:\Python312\Lib\logging\__init__.py", line 1800, in isEnabledFor
TypeError: 'NoneType' object is not callable
Exception ignored in: <function Library.__del__ at 0x00000201E515A340>
Traceback (most recent call last):
  File "c:\Python312\Lib\site-packages\pylink\library.py", line 323, in __del__
  File "c:\Python312\Lib\site-packages\pylink\library.py", line 467, in unload
AttributeError: 'NoneType' object has no attribute 'c_void_p'

Exception ignored on calling ctypes callback function: <function JLink.__init__.<locals>.<lambda> at 0x0000025C1FB64360>
Traceback (most recent call last):
  File "c:\Python312\Lib\site-packages\pylink\jlink.py", line 323, in <lambda>
  File "c:\Python312\Lib\logging\__init__.py", line 1538, in info
  File "c:\Python312\Lib\logging\__init__.py", line 1800, in isEnabledFor
TypeError: 'NoneType' object is not callable
Exception ignored on calling ctypes callback function: <function JLink.__init__.<locals>.<lambda> at 0x0000025C1FB64360>
Traceback (most recent call last):
  File "c:\Python312\Lib\site-packages\pylink\jlink.py", line 323, in <lambda>
  File "c:\Python312\Lib\logging\__init__.py", line 1538, in info
  File "c:\Python312\Lib\logging\__init__.py", line 1800, in isEnabledFor
TypeError: 'NoneType' object is not callable
Exception ignored in: <function Library.__del__ at 0x0000025C1FA1E340>
Traceback (most recent call last):
  File "c:\Python312\Lib\site-packages\pylink\library.py", line 323, in __del__
  File "c:\Python312\Lib\site-packages\pylink\library.py", line 467, in unload
AttributeError: 'NoneType' object has no attribute 'c_void_p

It looks like some logging functions prototypes has changed.

@hkpeprah
Copy link
Contributor

Thanks for the bug report. Might require some thinking to figure out how to handle this in a backwards compatible way 🤔

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

No branches or pull requests

2 participants