Git Product home page Git Product logo

Comments (7)

eikenb avatar eikenb commented on June 18, 2024

The error is...

$ aws-adfs --help
Traceback (most recent call last):
File "/home/jae/scratch/awscli/venv/bin/aws-adfs", line 9, in
load_entry_point('aws-adfs==0.3.3', 'console_scripts', 'aws-adfs')()
File "/home/jae/scratch/awscli/venv/lib/python3.4/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/home/jae/scratch/awscli/venv/lib/python3.4/site-packages/click/core.py", line 696, in main
with self.make_context(prog_name, args, **extra) as ctx:
File "/home/jae/scratch/awscli/venv/lib/python3.4/site-packages/click/core.py", line 621, in make_context
self.parse_args(ctx, args)
File "/home/jae/scratch/awscli/venv/lib/python3.4/site-packages/click/core.py", line 1018, in parse_args
rest = Command.parse_args(self, ctx, args)
File "/home/jae/scratch/awscli/venv/lib/python3.4/site-packages/click/core.py", line 880, in parse_args
value, args = param.handle_parse_result(ctx, opts, args)
File "/home/jae/scratch/awscli/venv/lib/python3.4/site-packages/click/core.py", line 1404, in handle_parse_result
self.callback, ctx, self, value)
File "/home/jae/scratch/awscli/venv/lib/python3.4/site-packages/click/core.py", line 78, in invoke_param_callback
return callback(ctx, param, value)
File "/home/jae/scratch/awscli/venv/lib/python3.4/site-packages/click/core.py", line 809, in show_help
echo(ctx.get_help(), color=ctx.color)
File "/home/jae/scratch/awscli/venv/lib/python3.4/site-packages/click/utils.py", line 259, in echo
file.write(message)
File "/usr/lib/python3.4/codecs.py", line 369, in write
self.stream.write(data)
TypeError: must be str, not bytes

from aws-adfs.

eikenb avatar eikenb commented on June 18, 2024

Trying a few other things the errors are all similar and always come out of the Click package.
It is using click-6.7.

from aws-adfs.

venth avatar venth commented on June 18, 2024

Please, paste here the result of the command: pip freeze
I'll setup same environment and try to reproduce the issue.

from aws-adfs.

venth avatar venth commented on June 18, 2024

Hmm, got it. The change introduced in click version 6.7 causes the issue.

from aws-adfs.

eikenb avatar eikenb commented on June 18, 2024

Great. Thanks. I'll be sure to test it as soon as the fix lands. Sorry I don't have time to work on it myself right now.

from aws-adfs.

venth avatar venth commented on June 18, 2024

delivered with version 0.3.4

from aws-adfs.

eikenb avatar eikenb commented on June 18, 2024

I can no longer reproduce this bug with version 0.3.4. Thanks.

from aws-adfs.

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.