scyto / multicast-relay

multicast-relay docker for UniFi Dream Machines
MIT License
52 stars 12 forks source link

netifaces error #1

Closed knaackville closed 4 years ago

knaackville commented 4 years ago

Hi there!

Attempting to install this, but running into an error when running the commands on the UDM Pro (using podman in place of docker).

podman run --rm -it --network=host -e OPTS="--verbose --noMDNS" -e INTERFACES="br2 br3 br10" scyto/multicast-relay

After running the above, I see the following: starting multicast-relay Using Interfaces: br2 br3 br10 Using Options --foreground --verbose Traceback (most recent call last): File "./multicast-relay/multicast-relay.py", line 801, in sys.exit(main()) File "./multicast-relay/multicast-relay.py", line 758, in main logger = logger) File "./multicast-relay/multicast-relay.py", line 182, in init self.nif = Netifaces(homebrewNetifaces, ifNameStructLen) File "./multicast-relay/multicast-relay.py", line 72, in init import netifaces ImportError: No module named netifaces

Any thoughts? Thanks in advance!

scyto commented 4 years ago

thanks, good catch, that will teach me to forget to delete old images before doing podman run :-)

seems alpine deprecated py-netiface and updated to to py3-netiface and aliased it to the original (so i didn't get a build break)

i updated the image to python3 instead of python, should be good to go now (i think i tested on my UDMP right this time!), can you verify and if it is ok close this once verified or let me know if it is still throwing the error?

knaackville commented 4 years ago

That did it. Thanks so much! Closing the issue.