Hi,
I have poked around the problem described in previous thread https://www.crowd-render.com/forum-1/_bugs/can-t-connect-between-linux-machines
It looks like entwork_engine.descover_local_ip() is using hostname app with Debian specific, legacy CLI arg -I.
def discover_local_ip():
import socket, subprocess, platform
address_list = ()
if platform.system() == 'Windows':
try:
names_addrs = socket.gethostbyname_ex(socket.gethostname())
addresses = names_addrs[2]
for address in addresses:
address_list += (
(
address,
address,
'address of your network device for this computer'),)
except:
address_list += (('0.0.0.0', '??', 'address of this computer on the network'), )
else:
if platform.system() == 'Linux':
import subprocess
try:
res_bytes = subprocess.check_output(['hostname', '-I'])
res_string = res_bytes.decode('utf-8')
final_res = res_string.split()
for address in final_res:
address_list += (
(
address,
address,
'address of this computer on the network'),)
Why not uses sock library for Linux also (sock is platform independent)
ps. To fix the issue I've decomposed python bytecode and remove if platform.system() conditional. Works on my machine @{archlinux,blender-2.79b,crowdrender-cr_013_bl2_78_79_rel_a}
Just use gpg4win (on Linux gnupg is available on every distro as package signing mechanism ;)