~pivanov/ipython/devel

« back to all changes in this revision

Viewing changes to IPython/kernel/scripts/ipengine.py

  • Committer: Brian Granger
  • Date: 2008-12-07 00:24:30 UTC
  • mfrom: (1109.1.61 bg-trunk-dev)
  • Revision ID: ellisonbg@gmail.com-20081207002430-b97m241iy95tsl0i
New version of ipcluster and docs updates.

This branch has a complete rewrite of the ipcluster script.  The script
is now based on Twisted and has support for starting clusters using
PBS, mpirun and on localhost.

The developer docs have been fully updated to reflect our current
dev workflow with lp and bzr.

The changelog has been reformatted some to keep its style consistent.

A new security document has been aded that describes the Foolscap 
security model in depth.

Minor fixed to ipengine and ipcluster.

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
    furl_file = kernel_config['engine']['furl_file']
108
108
    log.msg("Using furl file: %s" % furl_file)
109
109
    d = engine_connector.connect_to_controller(engine_service, furl_file)
110
 
    d.addErrback(lambda _: reactor.stop())
 
110
    def handle_error(f):
 
111
        log.err(f)
 
112
        if reactor.running:
 
113
            reactor.stop()
 
114
    d.addErrback(handle_error)
111
115
    
112
116
    reactor.run()
113
117