[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mercurial
Subject:    Re: Serving HG repositories on Windows 2012 R2 Server.
From:       Augie Fackler <lists () durin42 ! com>
Date:       2015-09-28 13:51:54
Message-ID: CAPLqtW+CDp_1m3iWvEfJ+E+_oupoWuBUZofStWTgpxpREZb=rA () mail ! gmail ! com
[Download RAW message or body]

(+mailing list, please keep the list cc'ed)

On Mon, Sep 28, 2015 at 2:01 AM, Anders Ishoey  (INT)
<Anders.Ishoey@teledyne-reson.com> wrote:
> Hi Augie,
> 
> This removes a python error when loading CGI in case the random function \
> complaints. However, the random function is probably only a symptom of an unhealthy \
> installation/execution environment.

Yeah, that's what it sounds like. What was the exception you were
seeing, if not NotImplementedError?

> In this situation the failure is obvious. In other cases the code may fail within \
> an exception handler, and the result may a wrong error message or simply wrong \
> results. 
> IF you want do the modification it is here:
> 
> Modify c:\Python27\lib\random.py
> change            except NotImplementedError:
> to             except :
> 
> Do NOT change indentation.
> 
> /Anders Ishøy-Rasmussen
> Systems Architect
> Teledyne-Reson
> 
> -----Original Message-----
> From: Augie Fackler [mailto:lists@durin42.com]
> Sent: 2015-09-25 18:50
> To: Donald Stufft; Anders Ishoey (INT)
> Cc: mercurial
> Subject: Re: Serving HG repositories on Windows 2012 R2 Server.
> 
> (+ original poster since gmane helpfully dropped them)
> 
> On Fri, Sep 25, 2015 at 11:41 AM, Donald Stufft <donald@stufft.io> wrote:
> > Anders Ishoey  (INT <Anders.Ishoey <at> teledyne-reson.com> writes:
> > > Python 2.7 (had to modify random.py. line 114 to make it work)
> > 
> > Can you post what modifications you had to make it work? I'm curious.
> > 
> > _______________________________________________
> > Mercurial mailing list
> > Mercurial@selenic.com
> > https://selenic.com/mailman/listinfo/mercurial
_______________________________________________
Mercurial mailing list
Mercurial@selenic.com
https://selenic.com/mailman/listinfo/mercurial


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic