bug report: profiler

Ralph Heinkel heinkel at embl-heidelberg.de
Mon Apr 12 02:50:42 EDT 1999


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.




More information about the Python-list mailing list