Skip to content

Can't run diffenv #33

@tyleryasaka

Description

@tyleryasaka

Digging the concept! Looking forward to trying this out. Just ran into a snag.

Describe the bug

Could be something dumb like my Python3 not being set up right, I didn't try very hard 🤷‍♂. I would show you my diffenv, but... the command itself is failing for me 🙁 .

Traceback (most recent call last):
  File "/usr/local/bin/diffenv", line 174, in <module>
    env = main.collect_env(facets, whitelist)
  File "/usr/local/lib/python3.7/site-packages/diffenv/main.py", line 142, in collect_env
    facets[subdir] = collect_env(facets[subdir], whitelist[subdir])
  File "/usr/local/lib/python3.7/site-packages/ruamel/yaml/comments.py", line 752, in __getitem__
    return ordereddict.__getitem__(self, key)
KeyError: 'python'

To Reproduce
Steps to reproduce the behavior:

  1. Clone repo
  2. python3 -m pip install diffenv
  3. diffenv
  4. See error

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions