trouble configuring Mercurial on 2019OS server

Matt Millard MMillard at trinisys.com
Sat Jan 2 19:40:13 UTC 2021


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



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



[cid:176c4836376855d351]



[Trinisys]<http://www.trinisys.com/>




Matt Millard

Network & System Administrator

[Follow us on Twitter]<https://twitter.com/Trinisys>  [Follow us on Facebook] <https://www.facebook.com/Trinisys>   [Follow us on LinkedIn] <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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20210102/929eae20/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 71133 bytes
Desc: image005.png
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20210102/929eae20/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.gif
Type: image/gif
Size: 2962 bytes
Desc: image006.gif
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20210102/929eae20/attachment-0016.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.gif
Type: image/gif
Size: 1434 bytes
Desc: image007.gif
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20210102/929eae20/attachment-0017.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.gif
Type: image/gif
Size: 1276 bytes
Desc: image008.gif
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20210102/929eae20/attachment-0018.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image009.gif
Type: image/gif
Size: 1342 bytes
Desc: image009.gif
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20210102/929eae20/attachment-0019.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 71133 bytes
Desc: image005.png
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20210102/929eae20/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.gif
Type: image/gif
Size: 2962 bytes
Desc: image006.gif
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20210102/929eae20/attachment-0020.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.gif
Type: image/gif
Size: 1434 bytes
Desc: image007.gif
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20210102/929eae20/attachment-0021.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.gif
Type: image/gif
Size: 1276 bytes
Desc: image008.gif
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20210102/929eae20/attachment-0022.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image009.gif
Type: image/gif
Size: 1342 bytes
Desc: image009.gif
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20210102/929eae20/attachment-0023.gif>


More information about the Mercurial mailing list