bash-3.2$ bash run_mac.sh
Traceback (most recent call last):
File "afy/cam_fomm.py", line 17, in
log = Tee('./var/log/cam_fomm.log')
File "/Users/mac/avatarify-python/afy/utils.py", line 20, in init
self.file = open(filename, mode, buffering=1)
PermissionError: [Errno 13] Permission denied: './var/log/cam_fomm.log'
Exception ignored in: <function Tee.del at 0x7fe8bd8e0560>
Traceback (most recent call last):
File "/Users/mac/avatarify-python/afy/utils.py", line 24, in del
self.file.close()
AttributeError: 'Tee' object has no attribute 'file'
bash-3.2$
Also got this why trying to render from google collab:
bash-3.2$ ./run_mac.sh --is-client --in-addr tcp://0.tcp.eu.ngrok.io:19516 --out-addr tcp://5.tcp.eu.ngrok.io:15024
Traceback (most recent call last):
File "afy/cam_fomm.py", line 17, in
log = Tee('./var/log/cam_fomm.log')
File "/Users/mac/avatarify-python/afy/utils.py", line 20, in init
self.file = open(filename, mode, buffering=1)
PermissionError: [Errno 13] Permission denied: './var/log/cam_fomm.log'
Exception ignored in: <function Tee.del at 0x7fde617e0560>
Traceback (most recent call last):
File "/Users/mac/avatarify-python/afy/utils.py", line 24, in del
self.file.close()
AttributeError: 'Tee' object has no attribute 'file'