[IPython-user] profile and logplay

Fernando Perez fperez.net@gmail....
Wed Jun 4 03:24:37 CDT 2008


Hi Johann,

Could you try with current bzr trunk?  I just fixed a profile related
bug that seems to have also fixed this by coincidence:

tlon[~]> ip -profile test -logfile toto.log
Activating auto-logging. Current session state plus future input saved.
Filename       : toto.log
Mode           : backup
Output logging : False
Raw input log  : False
Timestamping   : False
State          : active
*****************************************************
* TEST *
*****************************************************
Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42)
Type "copyright", "credits" or "license" for more information.

IPython 0.8.4 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object'. ?object also works, ?? prints more.

IPython profile: test

In [1]: os.path.exists('toto.log')
Out[1]: True

In [2]:
tlon[~]> ipython -p test -logplay toto
toto.log~   toto.log
tlon[~]> ipython -p test -logplay toto.log
Activating auto-logging. Current session state plus future input saved.
Filename       : toto.log
Mode           : append
Output logging : False
Raw input log  : False
Timestamping   : False
State          : active
Replaying log...
Loading log file <toto.log> one line at a time...
Finished replaying log file <toto.log>
Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42)
Type "copyright", "credits" or "license" for more information.

IPython 0.8.4 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object'. ?object also works, ?? prints more.

In [1]:


I don't see your error...

Cheers,

f


More information about the IPython-user mailing list