rackerlabs / lambda-uploader

Helps package and upload Python lambda functions to AWS
Apache License 2.0
271 stars 56 forks source link

Lambda-uploader faied on the first run #141

Closed 2pvs closed 7 years ago

2pvs commented 7 years ago

PS C:\Users\Vladimir\Documents\Projects\df-cloud-platform\gordon-test\TaskManager-t> lambda-uploader Building Package ⁉️ Unexpected error. Please report this traceback. Traceback (most recent call last): File "c:\program files (x86)\python36-32\lib\site-packages\lambda_uploader\shell.py", line 182, in main _execute(args) File "c:\program files (x86)\python36-32\lib\site-packages\lambda_uploader\shell.py", line 77, in _execute venv, cfg.ignore, extra_files) File "c:\program files (x86)\python36-32\lib\site-packages\lambda_uploader\package.py", line 49, in build_package pkg.build(ignore) File "c:\program files (x86)\python36-32\lib\site-packages\lambda_uploader\package.py", line 77, in build self.package(ignore) File "c:\program files (x86)\python36-32\lib\site-packages\lambda_uploader\package.py", line 249, in package utils.copy_tree(self._path, package, ignore) File "c:\program files (x86)\python36-32\lib\site-packages\lambda_uploader\utils.py", line 54, in copy_tree shutil.copy(path, pkg_path) File "c:\program files (x86)\python36-32\lib\shutil.py", line 235, in copy copyfile(src, dst, follow_symlinks=follow_symlinks) File "c:\program files (x86)\python36-32\lib\shutil.py", line 115, in copyfile with open(dst, 'wb') as fdst: FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\Vladimir\Documents\Projects\df-cloud-platform\go rdon-test\TaskManager-t\.lambda_uploader_temp\lambda_package\.lambda_uploader_temp\venv\Lib\site-packages\github \tests\ReplayData\Issue134.testGetAuthorizationsSucceedsWhenAutenticatedThroughLoginPassword.txt'

jarosser06 commented 7 years ago

Can you provide the configuration file you used when running this. Also what version are you using?

2pvs commented 7 years ago

Jim, thank you for the prompt reply. Yes, it was the configuration file problem. I managed to solve it.

On Wed, May 17, 2017 at 8:56 PM, Jim Rosser notifications@github.com wrote:

Can you provide the configuration file you used when running this. Also what version are you using?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rackerlabs/lambda-uploader/issues/141#issuecomment-302174134, or mute the thread https://github.com/notifications/unsubscribe-auth/ARa9nuYEfS5r5Gu2Lt_M1gy5B7mjYZ0nks5r6zS6gaJpZM4NdvgY .

jarosser06 commented 7 years ago

Glad it got solved.