Giter VIP home page Giter VIP logo

Comments (7)

jarosser06 avatar jarosser06 commented on August 20, 2024

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.

RyPoints avatar RyPoints commented on August 20, 2024

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.

jarosser06 avatar jarosser06 commented on August 20, 2024

When you ran virtualenv manually what was the output?

from lambda-uploader.

RyPoints avatar RyPoints commented on August 20, 2024

I didn't for this crash. What I did was rename .λ to .functionName-uploader and it worked.

from lambda-uploader.

jarosser06 avatar jarosser06 commented on August 20, 2024

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.

RyPoints avatar RyPoints commented on August 20, 2024

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.

jarosser06 avatar jarosser06 commented on August 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.