Comments (7)
Try turning up the verbosity when running the command. It looks like virtualenv is failing to create have you tried runing virtualenv manually and creating a virtualenv inside that directory?
from lambda-uploader.
The cause of this error was definitely the λ character being included in the path name, the λ being part of UTF-8 but not ASCII. You should be able to reproduce it this way.
from lambda-uploader.
When you ran virtualenv manually what was the output?
from lambda-uploader.
I didn't for this crash. What I did was rename .λ to .functionName-uploader and it worked.
from lambda-uploader.
There is nothing specific from that output. I either need output from running virtualenv inside that Unicode directory manually or I will need the output from -VV.
from lambda-uploader.
Did you try creating a directory named '.λ', putting any function.py and lambda.json in there and running lambda-upload? I think that would allow you to recreate this error.
from lambda-uploader.
I am unable to reproduce your issue. Perhaps your system Python is not working with Unicode characters correctly.
`lambda-uploader --no-upload -VV
λ Building Package
INFO:lambda_uploader.package:Building new virtualenv and installing requirements
DEBUG:lambda_uploader.package:Virtualenv stdout: Using base prefix '/usr'
New python executable in /home/jim/Projects/.λ/.lamba_uploader_temp/venv/bin/python3
Also creating executable in /home/jim/Projects/.λ/.lamba_uploader_temp/venv/bin/python
Installing setuptools, pip, wheel...done.
DEBUG:lambda_uploader.package:Virtualenv stderr:
DEBUG:lambda_uploader.package:Installing requirements found [u'Jinja2==2.8'] in config
DEBUG:lambda_uploader.package:Pip stdout: Collecting Jinja2==2.8
Using cached Jinja2-2.8-py2.py3-none-any.whl
Collecting MarkupSafe (from Jinja2==2.8)
Installing collected packages: MarkupSafe, Jinja2
Successfully installed Jinja2-2.8 MarkupSafe-0.23
DEBUG:lambda_uploader.package:Pip stderr: You are using pip version 7.1.2, however version 8.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
INFO:lambda_uploader.package:Copying site packages
INFO:lambda_uploader.utils:Copying source files
INFO:lambda_uploader.package:Copying lib64 site packages
INFO:lambda_uploader.utils:Copying source files
INFO:lambda_uploader.utils:Copying source files
DEBUG:lambda_uploader.utils:Copying /home/jim/Projects/.λ/function.py to /home/jim/Projects/.λ/.lamba_uploader_temp/lambda_package/
DEBUG:lambda_uploader.utils:Copying /home/jim/Projects/.λ/lambda.json to /home/jim/Projects/.λ/.lamba_uploader_temp/lambda_package/
INFO:lambda_uploader.package:Creating zipfile
DEBUG:lambda_uploader.package:Zipping /home/jim/Projects/.λ/.lamba_uploader_temp/lambda_package/function.py as function.py
DEBUG:lambda_uploader.package:Zipping /home/jim/Projects/.λ/.lamba_uploader_temp/lambda_package/lambda.json as lambda.json
λ Fin`
from lambda-uploader.
Related Issues (20)
- SubnetIds and SecurityIds must coexist or be both empty list. HOT 14
- Add option to utilize Miserlou/lambda-packages
- Access is Denied HOT 2
- Lambda-uploader faied on the first run HOT 3
- Packager assumes Python2.7 HOT 1
- Botocore parameter validation errors HOT 3
- KeyError: 'starting_position' in config.py:155 when running without arguments HOT 2
- Failed to load psycopg in an uploaded function HOT 6
- Lambda-uploader deletes Environment variables
- Issue building package HOT 1
- Package Usage HOT 1
- [feature request]create lambda.json template command
- can't use lxml? HOT 1
- λ rather than λ HOT 3
- Make Variable Updates Optional or Secure
- Security Token Error HOT 2
- [HELP] Use existing virtual env instead of requirements.txt HOT 3
- dist-packages support HOT 1
- Update failing CI
- Push 1.3.1 to PyPI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lambda-uploader.