{"action":"created","issue":{"url":"https://api.github.com/repos/rackerlabs/lambda-uploader/issues/45","labels_url":"https://api.github.com/repos/rackerlabs/lambda-uploader/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/rackerlabs/lambda-uploader/issues/45/comments","events_url":"https://api.github.com/repos/rackerlabs/lambda-uploader/issues/45/events","html_url":"https://github.com/rackerlabs/lambda-uploader/issues/45","id":129357051,"number":45,"title":"VirtualEnv not Included","user":{"login":"RyPoints","id":10441971,"avatar_url":"https://avatars.githubusercontent.com/u/10441971?v=3","gravatar_id":"","url":"https://api.github.com/users/RyPoints","html_url":"https://github.com/RyPoints","followers_url":"https://api.github.com/users/RyPoints/followers","following_url":"https://api.github.com/users/RyPoints/following{/other_user}","gists_url":"https://api.github.com/users/RyPoints/gists{/gist_id}","starred_url":"https://api.github.com/users/RyPoints/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyPoints/subscriptions","organizations_url":"https://api.github.com/users/RyPoints/orgs","repos_url":"https://api.github.com/users/RyPoints/repos","events_url":"https://api.github.com/users/RyPoints/events{/privacy}","received_events_url":"https://api.github.com/users/RyPoints/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-01-28T06:40:11Z","updated_at":"2016-01-28T18:07:35Z","closed_at":null,"body":"I have two EC2's setup near-identically and am working with the same code in each.  In the first one lambda-uploader works as expected.  In the second one lambda-uploader does not include the virtualenv with all those library subfolders in the zip file, only lambda.json and function.py.  Both function.py and lambda.json are identical in each.  I am not using any command line options with either system.\r\n\r\nIn the system it doesn't work on running with the -VV arguement displays no errors and it even talks about the very libraries that it doesn't include in the zip.\r\n\r\nAny idea what could be causing this?  Here is the full -VV output (using --no-upload only so I could examine the zip, which is how I discovered the missing libraries):\r\n\r\nlambda-uploader --no-upload -VV\r\nλ Building Package\r\nINFO:lambda_uploader.package:Building new virtualenv and installing requirements\r\nDEBUG:lambda_uploader.package:Virtualenv stdout: New python executable in /home/rdavis/status/.lamba_uploader_temp/venv/bin/python\r\nInstalling setuptools, pip, wheel...done.\r\nDEBUG:lambda_uploader.package:Virtualenv stderr: \r\nDEBUG:lambda_uploader.package:Installing requirements found [u'pynamodb'] in config\r\nDEBUG:lambda_uploader.package:Pip stdout: Collecting pynamodb\r\n  Using cached pynamodb-1.4.4-py2.py3-none-any.whl\r\nCollecting six (from pynamodb)\r\n  Using cached six-1.10.0-py2.py3-none-any.whl\r\nCollecting Delorean (from pynamodb)\r\nCollecting botocore>=1.0.0 (from pynamodb)\r\n  Using cached botocore-1.3.22-py2.py3-none-any.whl\r\nCollecting python-dateutil>=2.4.2 (from Delorean->pynamodb)\r\n  Using cached python_dateutil-2.4.2-py2.py3-none-any.whl\r\nCollecting tzlocal>=1.2 (from Delorean->pynamodb)\r\nCollecting pytz>=2015.7 (from Delorean->pynamodb)\r\n  Using cached pytz-2015.7-py2.py3-none-any.whl\r\nCollecting babel>=2.1.1 (from Delorean->pynamodb)\r\n  Using cached Babel-2.2.0-py2.py3-none-any.whl\r\nCollecting humanize>=0.5.1 (from Delorean->pynamodb)\r\nCollecting jmespath<1.0.0,>=0.7.1 (from botocore>=1.0.0->pynamodb)\r\n  Using cached jmespath-0.9.0-py2.py3-none-any.whl\r\nCollecting docutils>=0.10 (from botocore>=1.0.0->pynamodb)\r\nInstalling collected packages: six, python-dateutil, pytz, tzlocal, babel, humanize, Delorean, jmespath, docutils, botocore, pynamodb\r\nSuccessfully installed Delorean-0.6.0 babel-2.2.0 botocore-1.3.22 docutils-0.12 humanize-0.5.1 jmespath-0.9.0 pynamodb-1.4.4 python-dateutil-2.4.2 pytz-2015.7 six-1.10.0 tzlocal-1.2\r\nDEBUG:lambda_uploader.package:Pip stderr: \r\nINFO:lambda_uploader.package:Copying site packages\r\nINFO:lambda_uploader.utils:Copying source files\r\nINFO:lambda_uploader.package:Copying lib64 site packages\r\nINFO:lambda_uploader.utils:Copying source files\r\nINFO:lambda_uploader.utils:Copying source files\r\nDEBUG:lambda_uploader.utils:Copying /home/rdavis/status/function.py to /home/rdavis/status/.lamba_uploader_temp/lambda_package/\r\nDEBUG:lambda_uploader.utils:Copying /home/rdavis/status/lambda.json to /home/rdavis/status/.lamba_uploader_temp/lambda_package/\r\nINFO:lambda_uploader.package:Creating zipfile\r\nDEBUG:lambda_uploader.package:Zipping /home/rdavis/status/.lamba_uploader_temp/lambda_package/function.py as function.py\r\nDEBUG:lambda_uploader.package:Zipping /home/rdavis/status/.lamba_uploader_temp/lambda_package/lambda.json as lambda.json\r\nλ Fin\r\n"},"comment":{"url":"https://api.github.com/repos/rackerlabs/lambda-uploader/issues/comments/176310245","html_url":"https://github.com/rackerlabs/lambda-uploader/issues/45#issuecomment-176310245","issue_url":"https://api.github.com/repos/rackerlabs/lambda-uploader/issues/45","id":176310245,"user":{"login":"jarosser06","id":2013347,"avatar_url":"https://avatars.githubusercontent.com/u/2013347?v=3","gravatar_id":"","url":"https://api.github.com/users/jarosser06","html_url":"https://github.com/jarosser06","followers_url":"https://api.github.com/users/jarosser06/followers","following_url":"https://api.github.com/users/jarosser06/following{/other_user}","gists_url":"https://api.github.com/users/jarosser06/gists{/gist_id}","starred_url":"https://api.github.com/users/jarosser06/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jarosser06/subscriptions","organizations_url":"https://api.github.com/users/jarosser06/orgs","repos_url":"https://api.github.com/users/jarosser06/repos","events_url":"https://api.github.com/users/jarosser06/events{/privacy}","received_events_url":"https://api.github.com/users/jarosser06/received_events","type":"User","site_admin":false},"created_at":"2016-01-28T18:07:35Z","updated_at":"2016-01-28T18:07:35Z","body":"Hey there can you do an ls -lR on the virtualenv in the lamba_uploader_temp directory. It looks like the lambda-uploader is not detecting that lib64 directory is a symlink. \r\n\r\nWould you mind also installing the latest version of the lambda-uploader before you do this as well should be version 0.5.1."}}