Skip to content

GDS shutdown object has no attribute 'accept' #1990

Open
@thomas-bc

Description

@thomas-bc
F´ Version 3.2.0
Affected Component GDS

Problem Description

Happened during a workshop, still need to reproduce.
At shutdown, the GDS errors out with

Exception in thread TcpCommThread:
Traceback (most recent call last):
  File "/usr/local/Cellar/[email protected]/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
    self.run()
  File "/usr/local/Cellar/[email protected]/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/threading.py", line 975, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/joshuaa/p/fprime-gds/src/fprime_gds/common/communication/adapters/ip.py", line 111, in th_handler
    self.data_chunks.put(handler.read())
                         ^^^^^^^^^^^^^^
  File "/Users/joshuaa/p/fprime-gds/src/fprime_gds/common/communication/adapters/ip.py", line 308, in read
    return self.read_impl()
           ^^^^^^^^^^^^^^^^
  File "/Users/joshuaa/p/fprime-gds/src/fprime_gds/common/communication/adapters/ip.py", line 414, in read_impl
    self.open_impl()
  File "/Users/joshuaa/p/fprime-gds/src/fprime_gds/common/communication/adapters/ip.py", line 391, in open_impl
    (self.client, self.client_address) = self.socket.accept()
                                         ^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'accept'

How to Reproduce

Need to reproduce.

Expected Behavior

Shutdown gracefully.

Metadata

Metadata

Assignees

No one assigned

    Labels

    F´ GDSIssues pertaining to the F´ GDSLow PriorityLow prioirty items given the current project priorities.bug

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions