Clone repo from remote URL fails
Thomas De Schampheleire
patrickdepinguin at gmail.com
Tue Dec 11 09:13:03 UTC 2018
Hello,
I now see:
kallithea_1 | Exception AttributeError: "'sshv1peer' object has no
attribute 'ui'" in <bound method sshv1peer._cleanup of
<mercurial.sshpeer.sshv1peer object at 0x7efdf35138d0>> ignored
kallithea_1 | 2018-12-11 09:05:07.596 ERROR
[kallithea.model.validators] URL validation failed
kallithea_1 | Traceback (most recent call last):
kallithea_1 | File "./kallithea/model/validators.py", line 430, in
validate_python
kallithea_1 | is_valid_repo_uri(repo_type, url, make_ui('db',
clear_session=False))
kallithea_1 | File "./kallithea/lib/utils.py", line 226, in is_valid_repo_uri
kallithea_1 | MercurialRepository._check_url(url, ui)
kallithea_1 | File "./kallithea/lib/vcs/backends/hg/repository.py",
line 295, in _check_url
kallithea_1 | sshpeer(repoui or ui.ui(), url).lookup('tip')
kallithea_1 | TypeError: __init__() takes at least 8 arguments (3 given)
kallithea_1 | 2018-12-11 09:05:07.596 INFO
[kallithea.controllers.admin.repos] Invalid repository URL
It's been a while that I tested this, but I wonder if it could be
related to a mercurial version? This instance is running 4.7.2.
In commit 03dfcbe52906 there has been a change in this area, but I
didn't investigate it further.
Any feedback is welcome,
Thomas
More information about the kallithea-general
mailing list