Traceback (most recent call last):

 "/path/to/my/venv/lib/python3.4/site-packages/xonsh/base_shell.py", line 158, in push
locs=self.ctx)

 "/path/to/my/venv/lib/python3.4/site-packages/xonsh/execer.py", line 94, in compile
tree = self.parse(input, ctx, mode=mode)

 "/path/to/my/venv/lib/python3.4/site-packages/xonsh/execer.py", line 69, in parse
tree = self._parse_ctx_free(input, mode=mode)

 "/path/to/my/venv/lib/python3.4/site-packages/xonsh/execer.py", line 163, in _parse_ctx_free
raise original_error

 "/path/to/my/venv/lib/python3.4/site-packages/xonsh/execer.py", line 150, in _parse_ctx_free
debug_level=self.debug_level)

 "/path/to/my/venv/lib/python3.4/site-packages/xonsh/parser.py", line 263, in parse
tree = self.parser.parse(input=s, lexer=self.lexer, debug=debug_level)

 "/path/to/my/venv/lib/python3.4/site-packages/ply/yacc.py", line 331, in parse
return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc)

 "/path/to/my/venv/lib/python3.4/site-packages/ply/yacc.py", line 1181, in parseopt_notrack
tok = call_errorfunc(self.errorfunc, errtoken, self)

 "/path/to/my/venv/lib/python3.4/site-packages/ply/yacc.py", line 193, in call_errorfunc
r = errorfunc(token)

 "/path/to/my/venv/lib/python3.4/site-packages/xonsh/parser.py", line 2505, in p_error
column=p.lexpos))

 "/path/to/my/venv/lib/python3.4/site-packages/xonsh/parser.py", line 334, in _parse_error
raise err

 "<string>", line NoneSyntaxError: <xonsh-code>:1:5: ('code: apt',)
Traceback (most recent call last):

 "C:\Python27\lib\site-packages\matplotlib\backends\backend_wx.py", line 1298, in _onLeftButtonUp
FigureCanvasBase.button_release_event(self, x, y, 1, guiEvent=evt)

 "C:\Python27\lib\site-packages\matplotlib\backend_bases.py", line 1599, in button_release_event
self.callbacks.process(s, event)

 "C:\Python27\lib\site-packages\matplotlib\cbook.py", line 265, in process
proxy(*args, **kwargs)

 "C:\Python27\lib\site-packages\matplotlib\cbook.py", line 191, in __call__
return mtd(*args, **kwargs)

 "C:\Python27\lib\site-packages\matplotlib\widgets.py", line 1299, in onrelease
self.callback(self.verts)

 "C:\Trunk\CellProfiler\cellprofiler\modules\identifyobjectsmanually.py", line 327, in on_lasso
draw_line(mask, v0, v1, new_label)

 "C:\Trunk\CellProfiler\cellprofiler\cpmath\cpmorphology.py", line 825, in draw_line
labels[y,x] = valueIndexError: index (1024) out of range (0&lt;=index&lt;1024) in dimension 1