Skip to content

Instantly share code, notes, and snippets.

@lokeshh
Last active March 3, 2020 11:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lokeshh/ba6eac37748bff04b5f3bdd1b8d0779f to your computer and use it in GitHub Desktop.
Save lokeshh/ba6eac37748bff04b5f3bdd1b8d0779f to your computer and use it in GitHub Desktop.
(zzz) ➜ zappa update --no_venv
Calling update for stage dev..
Oh no! An error occurred! :(
==============
Traceback (most recent call last):
File "/home/lokesh/miniconda3/envs/zzz/lib/python3.7/site-packages/zappa-0.50.0-py3.7.egg/zappa/cli.py", line 2774, in handle
sys.exit(cli.handle())
File "/home/lokesh/miniconda3/envs/zzz/lib/python3.7/site-packages/zappa-0.50.0-py3.7.egg/zappa/cli.py", line 511, in handle
self.dispatch_command(self.command, stage)
File "/home/lokesh/miniconda3/envs/zzz/lib/python3.7/site-packages/zappa-0.50.0-py3.7.egg/zappa/cli.py", line 558, in dispatch_command
self.update(self.vargs['zip'], self.vargs['no_upload'])
File "/home/lokesh/miniconda3/envs/zzz/lib/python3.7/site-packages/zappa-0.50.0-py3.7.egg/zappa/cli.py", line 910, in update
self.create_package()
File "/home/lokesh/miniconda3/envs/zzz/lib/python3.7/site-packages/zappa-0.50.0-py3.7.egg/zappa/cli.py", line 2260, in create_package
disable_progress=self.disable_progress
File "/home/lokesh/miniconda3/envs/zzz/lib/python3.7/site-packages/zappa-0.50.0-py3.7.egg/zappa/core.py", line 529, in create_lambda_zip
split_venv = splitpath(venv)
File "/home/lokesh/miniconda3/envs/zzz/lib/python3.7/site-packages/zappa-0.50.0-py3.7.egg/zappa/core.py", line 523, in splitpath
(path, tail) = os.path.split(path)
File "/home/lokesh/miniconda3/envs/zzz/lib/python3.7/posixpath.py", line 107, in split
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType
==============
Need help? Found a bug? Let us know! :D
File bug reports on GitHub here: https://github.com/Miserlou/Zappa
And join our Slack channel here: https://slack.zappa.io
Love!,
~ Team Zappa!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment