Skip to content

Ignored exception on close #228

Closed
Closed

Description

@drebbe-intrepid
❯ python
Python 3.14.2 (main, Dec 17 2025, 21:10:36) [MSC v.1944 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import ics
>>> d = ics.open_device()
>>> quit()
Exception ignored while calling deallocator <function PyNeoDeviceEx.__del__ at 0x0000023754354720>:
Traceback (most recent call last):
  File "C:\Users\drebbe\.venv\Lib\site-packages\ics\py_neo_device_ex.py", line 20, in __del__
AttributeError: 'NoneType' object has no attribute 'close_device'

Activity

  1. drebbe-intrepid commented on Mar 2, 2026

    @drebbe-intrepid
    CollaboratorAuthor
    ❯ python
    Python 3.14.2 (main, Dec 17 2025, 21:10:36) [MSC v.1944 64 bit (AMD64)] on win32
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import ics
    >>> d = ics.open_device()
    >>> d.close()
    0
    >>> quit()
    Exception ignored while calling deallocator <function PyNeoDeviceEx.__del__ at 0x000002F363054720>:
    Traceback (most recent call last):
      File "C:\Users\drebbe\.venv\Lib\site-packages\ics\py_neo_device_ex.py", line 20, in __del__
    AttributeError: 'NoneType' object has no attribute 'close_device'
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions