Skip to content

Socket Att. Error #6

Description

@Rumors01

Hi,

While I try to work with sample code to test the algorithm that you have wrotten, I got this below error;

Traceback (most recent call last):
  File "gas.py", line 16, in <module>
    client.read_parameters([IFlagParameter(id=0x5e, data_class=CorusString)])
  File "/usr/local/lib/python3.6/dist-packages/iflag/client.py", line 70, in read_parameters
    in_data = self._read_parameters_by_id(parameter_ids)
  File "/usr/local/lib/python3.6/dist-packages/iflag/client.py", line 252, in _read_parameters_by_id
    self.transport.send(msg.to_bytes())
  File "/usr/local/lib/python3.6/dist-packages/iflag/transport.py", line 67, in send
    self._send(data)
  File "/usr/local/lib/python3.6/dist-packages/iflag/transport.py", line 132, in _send
    self.socket.sendall(data)
AttributeError: 'TcpTransport' object has no attribute 'socket'

Please give some tips :)

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