[Pythonmac-SIG] Numeric Problem & Carbon Problem
Larry Meyn
lmeyn@mail.arc.nasa.gov
Thu, 13 Dec 2001 08:03:07 -0800
In version 2.2b2 I get an error when importing RandomArray from the Numeric package. This worked fine in previous versions. The tracebacks for classic and carbon versions are given below. An additional problem found is that I could not copy text from the interpreter window when running PythonCarbon. The copy menu was not enabled.
PythonClassic Traceback:
Traceback (most recent call last):
File "Macintosh HD:Projects:Active Projects:ATM Projects:Probabilistic Forecasting:Software:arrival_load.py", line 2, in ?
from RandomArray import *
File "Macintosh HD:Programming:Python:Python 2.2b2:lib:site-packages:Numeric:RandomArray.py", line 30, in ?
seed()
File "Macintosh HD:Programming:Python:Python 2.2b2:lib:site-packages:Numeric:RandomArray.py", line 24, in seed
ndigits = int(math.log10(t))
ValueError: math domain error
=================================================
PythonCarbon Traceback:
Traceback (most recent call last):
File "Macintosh HD:Projects:Active Projects:ATM Projects:Probabilistic Forecasting:Software:arrival_load.py", line 2, in ?
from RandomArray import *
File "Macintosh HD:Programming:Python:Python 2.2b2:lib:site-packages:Numeric:RandomArray.py", line 30, in ?
seed()
File "Macintosh HD:Programming:Python:Python 2.2b2:lib:site-packages:Numeric:RandomArray.py", line 24, in seed
ndigits = int(math.log10(t))
OverflowError: float too large to convert
--
----------------------------------------------------------------------
Larry Meyn
Aerospace Operations Modeling Office
M/S 210-10 Phone: (650) 604-5038
NASA Ames Research Center FAX: (650) 604-0222
Moffett Field, CA 94035-1000 email: lmeyn@mail.arc.nasa.gov
E-FAX: (425) 944-5526 sent via e-mail
----------------------------------------------------------------------