Skip to content

New install one, can't work ? #10

@jinyistudio534

Description

@jinyistudio534

Hi, I install new one(RPI4, python3.11).This message will appear as soon as I execute the program.
This program i can run in the old one(RPI3, python3.9). What problem do you think this might be ?

Exception in callback EtherCat.connection_made(<_SelectorDat...e, bufsize=0>>)
handle: <Handle EtherCat.connection_made(<_SelectorDat...e, bufsize=0>>)>
Traceback (most recent call last):
File "/usr/lib/python3.11/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/home/jinyistudio/python/ebpfcat/ebpfcat/lib/python3.11/site-packages/ebpfcat/ethercat.py", line 451, in connection_made
transport.get_extra_info("socket").bind(self.addr)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TransportSocket' object has no attribute 'bind'
Exception in callback XDRFD.connection_made(<_SelectorDat...e, bufsize=0>>)
handle: <Handle XDRFD.connection_made(<_SelectorDat...e, bufsize=0>>)>
Traceback (most recent call last):
File "/usr/lib/python3.11/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/home/jinyistudio/python/ebpfcat/ebpfcat/lib/python3.11/site-packages/ebpfcat/xdp.py", line 61, in connection_made
sock.bind((0, 0))
^^^^^^^^^
AttributeError: 'TransportSocket' object has no attribute 'bind'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions