errors with cloning remote mercurial that's HTTPS based

Ed Wong cc at pw-wspx.org
Fri Dec 21 09:33:45 UTC 2018


Mads Kiilerich wrote:
> On 12/21/18 5:52 AM, Ed Wong wrote:
>> Hi,
>>
>> I've followed the Contribution page [1] page and
>> would like to understand what I might be doing wrong.
>>
>> I've set up the 0.3.99 Kallithea (via [1]) and while the dev site isn't
>> https-based, the remote repos that I clone off of do use HTTPS and
>> the code doesn't seem to like that. (It's perfectly ok with 0.3.6.
>> but 0.3.99 doesn't like it)
>>
>> I am getting:
>>
>> Exception AttributeError: "'httppeer' object has no attribute
>> '_urlopener'" in <bound method httppeer.__del__ of
>> <mercurial.httppeer.httppeer object at 0x7fcf31e6f710>> ignored
>> 2018-12-21 12:28:38.122 ERROR [kallithea.model.validators] URL
>> validation failed
>> Traceback (most recent call last):
>>    File "/home/kali/kallithea/kallithea/model/validators.py", line 430,
>> in validate_python
>>      is_valid_repo_uri(repo_type, url, make_ui('db',
>> clear_session=False))
>>    File "/home/kali/kallithea/kallithea/lib/utils.py", line 226, in
>> is_valid_repo_uri
>>      MercurialRepository._check_url(url, ui)
>>    File
>> "/home/kali/kallithea/kallithea/lib/vcs/backends/hg/repository.py", line
>> 349, in _check_url
>>      % (cleaned_uri, e))
>> URLError: <urlopen error url
>> [https://:*****@hg.mozilla.org/releases/comm-beta] does not look like an
>> hg repo org_exc: __init__() takes exactly 7 arguments (3 given)>
> 
> 
> It sounds like an issue that is solved by
> https://lists.sfconservancy.org/pipermail/kallithea-general/2018q4/002877.html
> - can you confirm?
> 
> And thanks for giving feedback!
> 

Yes, I can confirm it works!  But when I click on "add", should it not
go to the "Cloning Repository... please wait"(or something like that)?
It's currently still at the Add Repository page and the page is
Loading.


Thanks!

Ed


More information about the kallithea-general mailing list