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

bug: NotImplementedError #35

Closed
julianprester opened this issue Sep 30, 2022 · 1 comment
Closed

bug: NotImplementedError #35

julianprester opened this issue Sep 30, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@julianprester
Copy link
Collaborator

Bug Report

colrev version: 0.5.0

Current behavior:

Traceback (most recent call last):
  File "/home/julian/.cache/pypoetry/virtualenvs/colrev-env-xI4ropgo-py3.8/bin/colrev", line 5, in <module>
    main()
  File "/home/julian/.cache/pypoetry/virtualenvs/colrev-env-xI4ropgo-py3.8/lib/python3.8/site-packages/click/core.py", line 828, in __call__
    return self.main(*args, **kwargs)
  File "/home/julian/.cache/pypoetry/virtualenvs/colrev-env-xI4ropgo-py3.8/lib/python3.8/site-packages/click/core.py", line 781, in main
    rv = self.invoke(ctx)
  File "/home/julian/.cache/pypoetry/virtualenvs/colrev-env-xI4ropgo-py3.8/lib/python3.8/site-packages/click/core.py", line 1227, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/julian/.cache/pypoetry/virtualenvs/colrev-env-xI4ropgo-py3.8/lib/python3.8/site-packages/click/core.py", line 1046, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/julian/.cache/pypoetry/virtualenvs/colrev-env-xI4ropgo-py3.8/lib/python3.8/site-packages/click/core.py", line 590, in invoke
    return callback(*args, **kwargs)
  File "/home/julian/.cache/pypoetry/virtualenvs/colrev-env-xI4ropgo-py3.8/lib/python3.8/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/julian/colrev-env/colrev/colrev/ui_cli/cli.py", line 122, in init
    colrev.review_manager.ReviewManager.get_init_operation(
  File "/home/julian/colrev-env/colrev/colrev/review_manager.py", line 351, in get_init_operation
    return colrev.ops.init.Initializer(**kwargs)
  File "/home/julian/colrev-env/colrev/colrev/ops/init.py", line 53, in __init__
    self.__check_init_precondition()
  File "/home/julian/colrev-env/colrev/colrev/ops/init.py", line 99, in __check_init_precondition
    environment_manager = colrev.env.environment_manager.EnvironmentManager()
  File "/home/julian/colrev-env/colrev/colrev/env/environment_manager.py", line 49, in __init__
    self.local_registry = self.load_local_registry()
  File "/home/julian/colrev-env/colrev/colrev/env/environment_manager.py", line 57, in load_local_registry
    local_registry_df = pd.json_normalize(safe_load(file))
  File "/home/julian/.cache/pypoetry/virtualenvs/colrev-env-xI4ropgo-py3.8/lib/python3.8/site-packages/pandas/io/json/_normalize.py", line 446, in _json_normalize
    raise NotImplementedError
NotImplementedError

Expected behavior:

Should create a new colrev repository

Steps to reproduce:

colrev init

Related code:

insert short code snippets here

Other information:

@julianprester julianprester added the bug Something isn't working label Sep 30, 2022
@julianprester
Copy link
Collaborator Author

This is an environment issue. Solved by reinstalling the Poetry development environment.

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