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

Load demo data command doesn't work #34

Open
northwestwitch opened this issue Mar 15, 2023 · 0 comments
Open

Load demo data command doesn't work #34

northwestwitch opened this issue Mar 15, 2023 · 0 comments
Labels
Bug Something isn't working

Comments

@northwestwitch
Copy link
Member

northwestwitch commented Mar 15, 2023

I don't know if it ever worked actually!

schug setup --demo

023-03-15 15:08:13,846 INFO sqlalchemy.engine.Engine COMMIT
Setting up schug
Traceback (most recent call last):
  File "/Users/chiararasi/miniconda3/envs/schug/bin/schug", line 6, in <module>
    sys.exit(cli())
  File "/Users/chiararasi/miniconda3/envs/schug/lib/python3.8/site-packages/typer/main.py", line 214, in __call__
    return get_command(self)(*args, **kwargs)
  File "/Users/chiararasi/miniconda3/envs/schug/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/Users/chiararasi/miniconda3/envs/schug/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/Users/chiararasi/miniconda3/envs/schug/lib/python3.8/site-packages/click/core.py", line 1668, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/chiararasi/miniconda3/envs/schug/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/chiararasi/miniconda3/envs/schug/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/Users/chiararasi/miniconda3/envs/schug/lib/python3.8/site-packages/typer/main.py", line 500, in wrapper
    return callback(**use_params)  # type: ignore
  File "/Users/chiararasi/Documents/work/GITs/schug/schug/cli/base.py", line 34, in setup_app
    load_demo()
  File "/Users/chiararasi/Documents/work/GITs/schug/schug/load/demo.py", line 9, in load_demo
    with get_session() as session:
AttributeError: __enter__
(schug) chiararasi@ChiaraRMBP:~/Documents/work/GITs/schug$
@northwestwitch northwestwitch added the Bug Something isn't working label Mar 15, 2023
@northwestwitch northwestwitch mentioned this issue Jun 21, 2023
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant