Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Low level issue if no server nor auth is passed #67

Open
leplatrem opened this issue Dec 7, 2018 · 2 comments
Open

Low level issue if no server nor auth is passed #67

leplatrem opened this issue Dec 7, 2018 · 2 comments
Labels
easy-pick enhancement stale For marking issues as stale. Labeled issues will be closed soon if label is not removed.

Comments

@leplatrem
Copy link
Contributor

$ kinto-wizard load /tmp/test.yaml 
Traceback (most recent call last):
  File "/home/mathieu/Code/Mozilla/kinto-wizard/.venv/bin/kinto-wizard", line 11, in <module>
    load_entry_point('kinto-wizard', 'console_scripts', 'kinto-wizard')()
  File "/home/mathieu/Code/Mozilla/kinto-wizard/kinto_wizard/__main__.py", line 60, in main
    client = cli_utils.create_client_from_args(args)
  File "/home/mathieu/Code/Mozilla/kinto-wizard/.venv/local/lib/python3.6/site-packages/kinto_http/cli_utils.py", line 28, in create_client_from_args
    ignore_batch_4xx=args.ignore_batch_4xx)
  File "/home/mathieu/Code/Mozilla/kinto-wizard/.venv/local/lib/python3.6/site-packages/kinto_http/__init__.py", line 75, in __init__
    self.session = create_session(**session_kwargs)
  File "/home/mathieu/Code/Mozilla/kinto-wizard/.venv/local/lib/python3.6/site-packages/kinto_http/session.py", line 40, in create_session
    raise AttributeError(msg)
AttributeError: You need to either set session or auth + server_url

@Natim
Copy link
Member

Natim commented Apr 5, 2019

That's not a bug, that's a feature... What is the issue?

@leplatrem
Copy link
Contributor Author

Maybe the fact that it was an AttributeError got me confused...

@alexcottner alexcottner added the stale For marking issues as stale. Labeled issues will be closed soon if label is not removed. label Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy-pick enhancement stale For marking issues as stale. Labeled issues will be closed soon if label is not removed.
Projects
None yet
Development

No branches or pull requests

3 participants