[IPython-dev] Issue in error path in case of invalid command

Albert Strasheim fullung at gmail.com
Wed Nov 8 19:57:40 EST 2006


Thanks, my bad.

Still seems like this points to issues in the lines

log.msg('Protocol Error [%i]: ' % id + repr(a))

and

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.

Cheers,

Albert

----- 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.




More information about the IPython-dev mailing list