Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: 'Network' object has no attribute '__getitem__' #9

Open
JimBreton opened this issue Jul 4, 2019 · 0 comments
Open

TypeError: 'Network' object has no attribute '__getitem__' #9

JimBreton opened this issue Jul 4, 2019 · 0 comments

Comments

@JimBreton
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant