trying to make tracebacks reproducible
Martin Geisler
mg at lazybytes.net
Thu Jul 1 16:33:24 CDT 2010
Christian Ebert <blacktrash at gmx.net> writes:
> Hi,
>
> Since a few days -- sorry for being vague, but this is actually
> part of the problem, I _sometimes_ get tracebacks with
> crew-stable (basically 1.6 I'd say). I cannot reproduce them
> "reliably", i.e. in the following example, I reissued the command
> and got the diff as expected. I can reduce the loaded extensions
> etc. but I'd like to reproduce this reliably first. It seems to
> happen at random - well, in the true sense of the word, if you
> look at the final lines of the traceback.
Heh, nice one :-)
> I'd be grateful for any ideas.
> mod = _origimport(name, globals, locals)
> File "/sw/lib/python2.6/random.py", line 59, in <module>
> LOG4 = _log(4.0)
> ValueError: math domain error
Can you make it fail if you do something like
while python -c 'import random; print random.LOG4'; do done
The error looks quite strange to me -- there should be nothing fishy
about taking the natural logarithm of 4.0 :-)
--
Martin Geisler
Mercurial links: http://mercurial.ch/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20100701/937bfcf7/attachment.pgp>
More information about the Mercurial-devel
mailing list