(venv) jen@jen:~/projects/ace_data_management/renku-projects$ renku --version
0.9.2.dev19
(venv) jen@jen:~/projects/ace_data_management/renku-projects$ renku init test-repo
Ahhhhhhhh! You have found a bug.
- Open an issue by typing “open”;
- Print human-readable information by typing “print”;
- See the full traceback without submitting details (default: “ignore”).
Please select an action by typing its name (open, print, ignore) [ignore]: print
Describe the bug
A clear and concise description.
Details
Please verify and redact the details.
Renku version: 0.9.2.dev19
OS: Linux (#1 SMP Debian 4.19.98-1 (2020-01-26))
Python: 3.7.3
Traceback
Traceback (most recent call last):
File "[...]/renku/cli/exception_handler.py", line 119, in main
result = super().main(*args, **kwargs)
File "[...]/renku/cli/exception_handler.py", line 90, in main
return super().main(*args, **kwargs)
File "[...]/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "[...]/site-packages/click/core.py", line 1134, in invoke
Command.invoke(self, ctx)
File "[...]/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "[...]/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "[...]/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "[...]/renku/cli/__init__.py", line 204, in cli
check_for_migration()
File "[...]/renku/core/commands/client.py", line 103, in new_func
result = ctx.invoke(method, client, *args, **kwargs)
File "[...]/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "[...]/renku/core/commands/migrate.py", line 29, in check_for_migration
if is_migration_required(client):
File "[...]/renku/core/management/migrate.py", line 43, in is_migration_required
_is_renku_project(client) and
File "[...]/renku/core/management/migrate.py", line 92, in _is_renku_project
return client.project is not None
File "[...]/site-packages/werkzeug/utils.py", line 90, in __get__
value = self.func(obj)
File "[...]/renku/core/management/repository.py", line 153, in project
return Project.from_yaml(self.renku_metadata_path, client=self)
File "[...]/renku/core/models/jsonld.py", line 563, in from_yaml
__source__=deepcopy(source)
File "[...]/renku/core/models/jsonld.py", line 544, in from_jsonld
self = cls(**data_)
File "<attrs generated init renku.core.models.jsonld.Project>", line 17, in __init__
self.__attrs_post_init__()
File "[...]/renku/core/models/projects.py", line 95, in __attrs_post_init__
self.client.renku_metadata_path, return_first=True
File "[...]/renku/core/management/repository.py", line 235, in find_previous_commit
file_commits = list(self.repo.iter_commits(revision, paths=paths))
AttributeError: 'NoneType' object has no attribute 'iter_commits'
Additional context
Add any other context about the problem.