trouble configuring Mercurial on 2019OS server

Augie Fackler raf at durin42.com
Mon Jan 11 19:36:36 UTC 2021


(+mharbison, who might have seen something like this ever. I've got nothing.)

> On Jan 2, 2021, at 14:40, Matt Millard <MMillard at trinisys.com> wrote:
> 
> 3.9.7 was a mistype, we have tried 3.9.1 and 3.8.7
> 
> Get Outlook for Android <https://aka.ms/ghei36>
> From: mmillard at trinisys.com <mmillard at trinisys.com>
> Sent: Saturday, January 2, 2021 1:37:11 PM
> To: Augie Fackler <raf at durin42.com>
> Cc: mercurial at mercurial-scm.org <mercurial at mercurial-scm.org>
> Subject: Re: trouble configuring Mercurial on 2019OS server
>  
> HTTP Error 502.2 - Bad Gateway
> 
> The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are "Traceback (most recent call last): File "C:\inetpub\wwwhgweb\hgweb.cgi", line 20, in <module> application = hgweb(config.encode('utf-8')) File "C:\Program Files\Python39\lib\site-packages\mercurial\hgweb\__init__.py", line 50, in hgweb return hgwebdir_mod.hgwebdir(config, baseui=baseui) File "C:\Program Files\Python39\lib\importlib\util.py <http://util.py/>", line 245, in __getattribute__ self.__spec__.loader.exec_module(self) File "<frozen importlib._bootstrap_external>", line 790, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "C:\Program Files\Python39\lib\site-packages\mercurial\hgweb\hgwebdir_mod.py <http://hgwebdir_mod.py/>", line 17, in <module> from .common import ( ImportError: cannot import name 'ErrorResponse' from 'mercurial.hgweb.common' (C:\Program Files\Python39\lib\site-packages\mercurial\hgweb\common.py <http://common.py/>) ".
> 
> Get Outlook for Android <https://aka.ms/ghei36>
> From: Augie Fackler <raf at durin42.com>
> Sent: Saturday, January 2, 2021 1:12:01 PM
> To: Matt Millard <MMillard at trinisys.com>
> Cc: mercurial at mercurial-scm.org <mercurial at mercurial-scm.org>
> Subject: Re: trouble configuring Mercurial on 2019OS server
>  
> Given that Python 3.9.7 isn't released (3.9.1 is the most recent), what version of Python do you actually have in play here?
> 
> Can we get a copy/paste of the text of that traceback, instead of a screenshot? it's just too hard to read in the screenshot.
> 
> Thanks!
> 
> On Sat, Jan 2, 2021 at 1:22 PM Matt Millard <MMillard at trinisys.com <mailto:MMillard at trinisys.com>> wrote:
> Hello!
> 
>  
> 
> I am working with our developers to migrate our Mercurial application from a 2008OS server to a 2019OS server. We are working through the configuration steps, but are having some issues. Any help you can offer would be appreciated.
> 
>  
> 
> We are using this guide: https://www.mercurial-scm.org/wiki/HgWebInIisOnWindows <https://www.mercurial-scm.org/wiki/HgWebInIisOnWindows>
>  
> 
> We are on Step 2, “Open hgweb.cgi and change the value of the config variable to point to the hgweb.config file you created earlier:”
> 
>  
> 
> We can not get the hgweb.cgi to populate in multiple browsers locally on the server.
> 
>  
> 
> Test.cgi and test.html will populate.
> 
>  
> 
> Python version installed: 3.9.7
> 
> Mercurial version installed : 5.6.1
> 
>  
> 
> <image005.png>
> 
>  
> 
> <image006.gif> <http://www.trinisys.com/>
>  
> 
> Matt Millard
> 
> Network & System Administrator
> 
> <image007.gif> <https://twitter.com/Trinisys>  <image008.gif> <https://www.facebook.com/Trinisys>  <image009.gif> <https://www.linkedin.com/company/trinisys>	
>  
> 
> Email:
> 
> mmillard at trinisys.com <mailto:mmillard at trinisys.com>
>  
> 
> Office:
> 
> 629.702.6270
> 
> NTC 2019 Technology Company of the Year.
> 
> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org <mailto:Mercurial at mercurial-scm.org>
> https://www.mercurial-scm.org/mailman/listinfo/mercurial <https://www.mercurial-scm.org/mailman/listinfo/mercurial>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20210111/79d5b03d/attachment-0002.html>


More information about the Mercurial mailing list