[IPython-dev] Issue in error path in case of invalid command
ellisonbg.net at gmail.com
Wed Nov 8 21:50:18 CST 2006
Even though you were connecting to the wrong port we need to add some
error checking code so that the controller doesn't die and the error
messages are more understandable.
On 11/8/06, Albert Strasheim <fullung at gmail.com> wrote:
> Thanks, my bad.
> Still seems like this points to issues in the lines
> log.msg('Protocol Error [%i]: ' % id + repr(a))
> log.msg("engine %i was not registered" % id)
> since by connecting to this wrong port, id was None in both cases, which
> caused the TypeError to be raised.
> ----- Original Message -----
> From: "Brian Granger" <ellisonbg.net at gmail.com>
> To: "Albert Strasheim" <fullung at gmail.com>
> Sent: Thursday, November 09, 2006 2:15 AM
> Subject: Re: [IPython-dev] Issue in error path in case of invalid command
> > You are connecting on the wrong port. 10201 is the port the engine
> > connect on. You want port 10105. If you are running the controler on
> > localhost you can simply do:
> > rc = kernel.RemoteController(kernel.defaultController)
> > and it will do the right thing.
> IPython-dev mailing list
> IPython-dev at scipy.org
More information about the IPython-dev