brysontyrrell / Possum

A packaging tool for Python based AWS serverless applications.
MIT License
21 stars 2 forks source link

Getting error using v1.4 #13

Closed joshhiggins22 closed 6 years ago

joshhiggins22 commented 6 years ago

I'm getting the following error when running possum with the latest version, 1.4. I downgraded to 1.3 and it seems to work okay. I installed possum using a fresh virtualenv on python 3.6.3.


  File "/Users/username/.pyenv/versions/possum-test-3.6.3/bin/possum", line 564, in <module>
    main()
  File "/Users/username/.pyenv/versions/possum-test-3.6.3/bin/possum", line 426, in main
    template_file['Globals']['Function']['Runtime'])
  File "/Users/username/.pyenv/versions/3.6.3/envs/possum-test-3.6.3/lib/python3.6/site-packages/ruamel/yaml/comments.py", line 751, in __getitem__
    return self._od.__getitem__(key)
KeyError: 'Globals'```
brysontyrrell commented 6 years ago

@joshhiggins22 this should be fixed in 1.4.1 which I just pushed to PyPI.