You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "go.py", line 167, in <module>
quit(str(pcap.findalldevs()))
File "/pcappy/__init__.py", line 112, in findalldevs
return _findalldevs(devs)
File "/pcappy/__init__.py", line 97, in _findalldevs
devices.append(PcapPyInterface(top))
File "/pcappy/__init__.py", line 201, in __init__
addr=self._parseaddrs(topaddr.addr),
File "/pcappy/__init__.py", line 315, in _parseaddrs
sdl_data=self._parsemac(string_at(byref(sa.sdl.sdl_data, sa.sdl.sdl_nlen), sa.sdl.sdl_alen))
File "/pcappy/__init__.py", line 227, in _parsemac
return ':'.join(['%02x' % i for i in mac])
TypeError: %x format: a number is required, not str
This is on macOS. I tried to see if I could fix it, but had no luck!
The text was updated successfully, but these errors were encountered:
melyux
changed the title
"TypeError: %x format: a number is required, not str" on pcappy.findalldevs()
"TypeError: %x format: a number is required, not str" at _parsemac, when using findalldevs()
Feb 12, 2017
melyux
changed the title
"TypeError: %x format: a number is required, not str" at _parsemac, when using findalldevs()
"TypeError: %x format: a number is required, not str" at _parsemac(), when using findalldevs()
Feb 12, 2017
This is on macOS. I tried to see if I could fix it, but had no luck!
The text was updated successfully, but these errors were encountered: