Hello,
after updating the piracast files today, I had a lot of problems.
1.) The core app does not start: I had to change from
cmd_launch_core_app = 'nice -n -20 ./core'
to
cmd_launch_core_app = 'nice -n -20 ./core 1>/dev/null &'
to get the core app started.
2.) After Ctrl+C the started core app does not stop. A kill PID is needed.
3.) File "/home/pi/piracast/scripts/wfd.py", line 128, in p2p_peer_devaddr_get
mac = '%s%s:%s%s:%s%s:%s%s:%s%s:%s%s' % match.group(1)[0:11]
TypeError: not enough arguments for format string
I then used the old, out commented code in wfd.py.That worked for me.
#mac = match.group(1)[0] + match.group(1)[1] + ':'
# + match.group(1)[2] + match.group(1)[3] + ':'
# + match.group(1)[4] + match.group(1)[5] + ':'
# + match.group(1)[6] + match.group(1)[7] + ':'
# + match.group(1)[8] + match.group(1)[9] + ':'
# + match.group(1)[10] + match.group(1)[11]
Regards winni67
Hello,
after updating the piracast files today, I had a lot of problems.
1.) The core app does not start: I had to change from
cmd_launch_core_app = 'nice -n -20 ./core'
to
cmd_launch_core_app = 'nice -n -20 ./core 1>/dev/null &'
to get the core app started.
2.) After Ctrl+C the started core app does not stop. A kill PID is needed.
3.) File "/home/pi/piracast/scripts/wfd.py", line 128, in p2p_peer_devaddr_get
mac = '%s%s:%s%s:%s%s:%s%s:%s%s:%s%s' % match.group(1)[0:11]
TypeError: not enough arguments for format string
I then used the old, out commented code in wfd.py.That worked for me.
#mac = match.group(1)[0] + match.group(1)[1] + ':'
# + match.group(1)[2] + match.group(1)[3] + ':'
# + match.group(1)[4] + match.group(1)[5] + ':'
# + match.group(1)[6] + match.group(1)[7] + ':'
# + match.group(1)[8] + match.group(1)[9] + ':'
# + match.group(1)[10] + match.group(1)[11]
Regards winni67