[IPython-user] profile and logplay

Johann Cohen-Tanugi cohen@slac.stanford....
Wed Jun 4 03:32:09 CDT 2008


I did
[cohen@jarrett ipython]$ bzr update .
Tree is up to date at revision 991.

deleted the build dir and the /usr/lib install dir..... but I still see 
the same problem! Strange...


Fernando Perez wrote:
> 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