blink
blink copied to clipboard
TypeError: 'Network' object has no attribute '__getitem__'
Just cloned and installed what I think are the right dependencies (Fedora 30), python2-pyyaml, python3-pyyaml, python2-dateutil, python3-dateutil.
Hitting above error. Full output:
blink [1]$ python -m blink --archive ./Downloads/
/home/jimb/SCM/blink/blink.py:54: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
config = yaml.load(f.read())
Traceback (most recent call last):
File "/usr/lib64/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/jimb/SCM/blink/blink.py", line 260, in <module>
_main()
File "/home/jimb/SCM/blink/blink.py", line 257, in _main
Blink().archive(args[1])
File "/home/jimb/SCM/blink/blink.py", line 232, in archive
network_dir = os.path.join(path, network['name'])
TypeError: 'Network' object has no attribute '__getitem__'
Probably related to #1?