question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cli bug: TypeError: __init__() got an unexpected keyword argument 'case_sensitive'

See original GitHub issue

When I run rio cogeo --help, I get the following error:

Usage: rio cogeo [OPTIONS]

  Warning: entry point could not be loaded. Contact its author for help.

  Traceback (most recent call last):
    File "/home/ashwin/miniconda3/lib/python3.7/site-packages/click_plugins/core.py", line 37, in decorator
      group.add_command(entry_point.load())
    File "/home/ashwin/miniconda3/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2450, in load
      return self.resolve()
    File "/home/ashwin/miniconda3/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2456, in resolve
      module = __import__(self.module_name, fromlist=['__name__'], level=0)
    File "/home/ashwin/miniconda3/lib/python3.7/site-packages/rio_cogeo/scripts/cli.py", line 104, in <module>
      type=click.Choice(cog_profiles.keys(), case_sensitive=False),
  TypeError: __init__() got an unexpected keyword argument 'case_sensitive'

Options:
  --help  Show this message and exit.

I’m using the latest version: 2.3.0

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
vincentsaragocommented, Jul 6, 2021

@ashnair1 @kylebarron I’ve pushed a new release to make sure we ask for click >=7.

Thanks for opening the issue @ashnair1 🙏

1reaction
kylebarroncommented, Jul 5, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: __init__() got an unexpected keyword ... - GitHub
I've been trying to adapt the Fastai Pets classification notebook to a regression problem where the model outputs a Fastai ImagePoints object.
Read more >
python - TypeError: __init__() got an unexpected keyword ...
I had a similar problem. In my code I had a line @bp.route('/<init:id>/delete', method=('POST')) The keyword method needs to be changed to ...
Read more >
Changelog — PyTorch Lightning 1.8.6 documentation
The PrecisionPlugin.optimizer_step signature changed: The model , optimizer_idx and closure arguments need to be passed as keyword arguments now.
Read more >
Issue #934: [CLI] TypeError: __init__() got an unexpected ...
#934 [CLI] TypeError: __init__() got an unexpected keyword argument ... After upgrade to 1.81 (#925) I observe the following error in the Travis...
Read more >
TypeError: __init__() got an unexpected keyword argument 'Null'
Re: TypeError: __init__() got an unexpected keyword argument ... Similar to keys in a dictionary, keyword argument names are case sensitive.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found