From: heinkel at embl-heidelberg.de (Ralph Heinkel)
Date: 12 Apr 1999 06:50:42 GMT
Subject: bug report: profiler
Message-ID: <7es542$94v$1@beta.EMBL-Heidelberg.DE>
X-UID: 1680                                                  

Hi,

when trying to run the profiler calibration explained in the python
documentation, I got the following error:


Python 1.5.1 (#8, Dec 18 1998, 09:42:46)  [GCC 2.7.2.1] on linux2
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import profile
>>> pr = profile.Profile()
>>> print pr.calibrate(100)
Traceback (innermost last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python1.5/profile.py", line 498, in calibrate
    self.instrumented()
  File "/usr/local/lib/python1.5/profile.py", line 515, in instrumented
    self.profiler_simulation(a, a, a)
  File "/usr/local/lib/python1.5/profile.py", line 520, in profiler_simulation
    t = t[0] + t[1]
AttributeError: __getitem__


Ralph
-- 
------------------------------------------------------
Ralph Heinkel
European Molecular Biology Laboratory (EMBL)
Meyerhofstr. 1
69012 Heidelberg
Tel. +49 6221/387 529
eMail: heinkel at dummy.embl-heidelberg.de

Please remove the 'dummy' from my email address.




