I just cloned Spyder source today after installing IPython 0.13 on a fresh
Win7 install.
After doing a "python bootstrap.py -- --reset" then trying to open an
IPython kernel I get:
[IPKernelApp] To connect another client to this kernel, use:
[IPKernelApp] --existing kernel-2528.json
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
C:\Python27\Lib\site-packages\spyderlib\spyderlib\widgets\externalshell\start_ipython_kernel.py
in <module>()
111
112 __ipythonshell__ = ipk_temp.shell
--> 113 set_edit_magic(__ipythonshell__)
global set_edit_magic = <function set_edit_magic at 0x022C2BB0>
global __ipythonshell__ = <IPython.zmq.zmqshell.ZMQInteractiveShell
object at 0x04BEEE70>
114
115 # Issue 977 : Since kernel.initialize() has completed execution,
C:\Python27\Lib\site-packages\spyderlib\spyderlib\widgets\externalshell\start_ipython_kernel.py
in set_edit_magic(shell=<IPython.zmq.zmqshell.ZMQInteractiveShell object>)
83 shell.magics_manager.magics['line']['ed'] = \
84 shell.magics_manager.magics['line']['edit']
---> 85 shell.magics_manager.magics['line']['edit'] = open_in_spyder
shell.magics_manager.magics = {'cell': {'!': <bound method
OSMagics.sx of <IPython.core.magics.osm.OSMagics object at 0x04C34B30>>,
'capture': <bound method ExecutionMagics.capture of
<IPython.core.magics.execution.ExecutionMagics object at 0x04C34A90>>,
'timeit': <bound method ExecutionMagics.timeit of
<IPython.core.magics.execution.ExecutionMagics object at 0x04C34A90>>,
'prun': <bound method ExecutionMagics.prun of
<IPython.core.magics.execution.ExecutionMagics object at 0x04C34A90>>,
'file': <bound method OSMagics.file of <IPython.core.magics.osm.OSMagics
object at 0x04C34B30>>, 'powershell': <function named_script_magic at
0x04C32170>, 'script': <bound method ScriptMagics.shebang of
<IPython.core.magics.script.ScriptMagics object at 0x04C34B70>>, 'cmd':
<function named_script_magic at 0x04C27CB0>, 'system': <bound method
OSMagics.sx of <IPython.core.magics.osm.OSMagics object at 0x04C34B30>>,
'sx': <bound method OSMagics.sx of <IPython.core.magics.osm.OSMagics object
at 0x04C34B30>>}, 'line': {'load': <bound method CodeMagics.load of
<IPython.core.magics.code.CodeMagics object at 0x04C34A30>>, 'psource':
<bound method NamespaceMagics.psource of
<IPython.core.magics.namespace.NamespaceMagics object at 0x04C34B10>>,
'lsmagic': <bound method BasicMagics.lsmagic of
<IPython.core.magics.basic.BasicMagics object at 0x04C34A10>>, 'logstate':
<bound method LoggingMagics.logstate of
<IPython.core.magics.logging.LoggingMagics object at 0x04C34AF0>>,
'logstart': <bound method LoggingMagics.logstart of
<IPython.core.magics.logging.LoggingMagics object at 0x04C34AF0>>, 'popd':
<bound method OSMagics.popd of <IPython.core.magics.osm.OSMagics object at
0x04C34B30>>, 'ed': <bound method KernelMagics.edit of
<IPython.zmq.zmqshell.KernelMagics object at 0x04BE6830>>, 'pycat': <bound
method OSMagics.pycat of <IPython.core.magics.osm.OSMagics object at
0x04C34B30>>, 'loadpy': <bound method CodeMagics.loadpy of
<IPython.core.magics.code.CodeMagics object at 0x04C34A30>>, 'store':
<bound method StoreMagics.store of <storemagic.StoreMagics object at
0x0530F3F0>>, 'install_ext': <bound method ExtensionMagics.install_ext of
<IPython.core.magics.extension.ExtensionMagics object at 0x04C34AB0>>,
'cd': <bound method OSMagics.cd of <IPython.core.magics.osm.OSMagics object
at 0x04C34B30>>, 'pastebin': <bound method CodeMagics.pastebin of
<IPython.core.magics.code.CodeMagics object at 0x04C34A30>>, 'clear':
<bound method KernelMagics.clear of <IPython.zmq.zmqshell.KernelMagics
object at 0x04BE6830>>, 'colors': <bound method BasicMagics.colors of
<IPython.core.magics.basic.BasicMagics object at 0x04C34A10>>, 'prun':
<bound method ExecutionMagics.prun of
<IPython.core.magics.execution.ExecutionMagics object at 0x04C34A90>>,
'pushd': <bound method OSMagics.pushd of <IPython.core.magics.osm.OSMagics
object at 0x04C34B30>>, 'pylab': <bound method PylabMagics.pylab of
<IPython.core.magics.pylab.PylabMagics object at 0x04C34B50>>, 'config':
<bound method ConfigMagics.config of
<IPython.core.magics.config.ConfigMagics object at 0x04C34A50>>, 'dirs':
<bound method OSMagics.dirs of <IPython.core.magics.osm.OSMagics object at
0x04C34B30>>, 'who_ls': <bound method NamespaceMagics.who_ls of
<IPython.core.magics.namespace.NamespaceMagics object at 0x04C34B10>>,
'install_profiles': <bound method DeprecatedMagics.install_profiles of
<IPython.core.magics.deprecated.DeprecatedMagics object at 0x04C34A70>>,
'autocall': <bound method AutoMagics.autocall of
<IPython.core.magics.auto.AutoMagics object at 0x04C342B0>>, 'sc': <bound
method OSMagics.sc of <IPython.core.magics.osm.OSMagics object at
0x04C34B30>>, 'unalias': <bound method OSMagics.unalias of
<IPython.core.magics.osm.OSMagics object at 0x04C34B30>>, 'connect_info':
<bound method KernelMagics.connect_info of
<IPython.zmq.zmqshell.KernelMagics object at 0x04BE6830>>, 'rep': <bound
method HistoryMagics.rep of <IPython.core.magics.history.HistoryMagics
object at 0x04C34AD0>>, 'pprint': <bound method BasicMagics.pprint of
<IPython.core.magics.basic.BasicMagics object at 0x04C34A10>>, 'system':
<bound method OSMagics.sx of <IPython.core.magics.osm.OSMagics object at
0x04C34B30>>, 'who': <bound method NamespaceMagics.who of
<IPython.core.magics.namespace.NamespaceMagics object at 0x04C34B10>>,
'whos': <bound method NamespaceMagics.whos of
<IPython.core.magics.namespace.NamespaceMagics object at 0x04C34B10>>,
'hist': <bound method HistoryMagics.hist of
<IPython.core.magics.history.HistoryMagics object at 0x04C34AD0>>,
'install_default_config': <bound method
DeprecatedMagics.install_default_config of
<IPython.core.magics.deprecated.DeprecatedMagics object at 0x04C34A70>>,
'logoff': <bound method LoggingMagics.logoff of
<IPython.core.magics.logging.LoggingMagics object at 0x04C34AF0>>, 'env':
<bound method OSMagics.env of <IPython.core.magics.osm.OSMagics object at
0x04C34B30>>, 'qtconsole': <bound method KernelMagics.qtconsole of
<IPython.zmq.zmqshell.KernelMagics object at 0x04BE6830>>, 'load_ext':
<bound method ExtensionMagics.load_ext of
<IPython.core.magics.extension.ExtensionMagics object at 0x04C34AB0>>,
'save': <bound method CodeMagics.save of
<IPython.core.magics.code.CodeMagics object at 0x04C34A30>>, 'tb': <bound
method ExecutionMagics.tb of <IPython.core.magics.execution.ExecutionMagics
object at 0x04C34A90>>, 'killbgscripts': <bound method
ScriptMagics.killbgscripts of <IPython.core.magics.script.ScriptMagics
object at 0x04C34B70>>, 'unload_ext': <bound method
ExtensionMagics.unload_ext of
<IPython.core.magics.extension.ExtensionMagics object at 0x04C34AB0>>,
'more': <bound method KernelMagics.less of
<IPython.zmq.zmqshell.KernelMagics object at 0x04BE6830>>, 'profile':
<bound method BasicMagics.profile of <IPython.core.magics.basic.BasicMagics
object at 0x04C34A10>>, 'reset': <bound method NamespaceMagics.reset of
<IPython.core.magics.namespace.NamespaceMagics object at 0x04C34B10>>,
'macro': <bound method ExecutionMagics.macro of
<IPython.core.magics.execution.ExecutionMagics object at 0x04C34A90>>,
'run': <bound method ExecutionMagics.run of
<IPython.core.magics.execution.ExecutionMagics object at 0x04C34A90>>,
'reset_selective': <bound method NamespaceMagics.reset_selective of
<IPython.core.magics.namespace.NamespaceMagics object at 0x04C34B10>>,
'pfile': <bound method NamespaceMagics.pfile of
<IPython.core.magics.namespace.NamespaceMagics object at 0x04C34B10>>,
'pinfo2': <bound method NamespaceMagics.pinfo2 of
<IPython.core.magics.namespace.NamespaceMagics object at 0x04C34B10>>,
'pdef': <bound method NamespaceMagics.pdef of
<IPython.core.magics.namespace.NamespaceMagics object at 0x04C34B10>>,
'psearch': <bound method NamespaceMagics.psearch of
<IPython.core.magics.namespace.NamespaceMagics object at 0x04C34B10>>,
'time': <bound method ExecutionMagics.time of
<IPython.core.magics.execution.ExecutionMagics object at 0x04C34A90>>,
'precision': <bound method BasicMagics.precision of
<IPython.core.magics.basic.BasicMagics object at 0x04C34A10>>, 'quickref':
<bound method BasicMagics.quickref of
<IPython.core.magics.basic.BasicMagics object at 0x04C34A10>>, 'pinfo':
<bound method NamespaceMagics.pinfo of
<IPython.core.magics.namespace.NamespaceMagics object at 0x04C34B10>>,
'pwd': <bound method OSMagics.pwd of <IPython.core.magics.osm.OSMagics
object at 0x04C34B30>>, 'notebook': <bound method BasicMagics.notebook of
<IPython.core.magics.basic.BasicMagics object at 0x04C34A10>>, 'logstop':
<bound method LoggingMagics.logstop of
<IPython.core.magics.logging.LoggingMagics object at 0x04C34AF0>>, 'less':
<bound method KernelMagics.less of <IPython.zmq.zmqshell.KernelMagics
object at 0x04BE6830>>, 'automagic': <bound method AutoMagics.automagic of
<IPython.core.magics.auto.AutoMagics object at 0x04C342B0>>,
'doctest_mode': <bound method KernelMagics.doctest_mode of
<IPython.zmq.zmqshell.KernelMagics object at 0x04BE6830>>, 'sx': <bound
method OSMagics.sx of <IPython.core.magics.osm.OSMagics object at
0x04C34B30>>, 'magic': <bound method BasicMagics.magic of
<IPython.core.magics.basic.BasicMagics object at 0x04C34A10>>, 'dhist':
<bound method OSMagics.dhist of <IPython.core.magics.osm.OSMagics object at
0x04C34B30>>, 'timeit': <bound method ExecutionMagics.timeit of
<IPython.core.magics.execution.ExecutionMagics object at 0x04C34A90>>,
'edit': <bound method KernelMagics.edit of
<IPython.zmq.zmqshell.KernelMagics object at 0x04BE6830>>, 'recall': <bound
method HistoryMagics.recall of <IPython.core.magics.history.HistoryMagics
object at 0x04C34AD0>>, 'gui': <bound method BasicMagics.gui of
<IPython.core.magics.basic.BasicMagics object at 0x04C34A10>>, 'xdel':
<bound method NamespaceMagics.xdel of
<IPython.core.magics.namespace.NamespaceMagics object at 0x04C34B10>>,
'xmode': <bound method BasicMagics.xmode of
<IPython.core.magics.basic.BasicMagics object at 0x04C34A10>>, 'page':
<bound method BasicMagics.page of <IPython.core.magics.basic.BasicMagics
object at 0x04C34A10>>, 'alias': <bound method OSMagics.alias of
<IPython.core.magics.osm.OSMagics object at 0x04C34B30>>, 'rehashx': <bound
method OSMagics.rehashx of <IPython.core.magics.osm.OSMagics object at
0x04C34B30>>, 'alias_magic': <bound method BasicMagics.alias_magic of
<IPython.core.magics.basic.BasicMagics object at 0x04C34A10>>,
'reload_ext': <bound method ExtensionMagics.reload_ext of
<IPython.core.magics.extension.ExtensionMagics object at 0x04C34AB0>>,
'bookmark': <bound method OSMagics.bookmark of
<IPython.core.magics.osm.OSMagics object at 0x04C34B30>>, 'rerun': <bound
method HistoryMagics.rerun of <IPython.core.magics.history.HistoryMagics
object at 0x04C34AD0>>, 'debug': <bound method ExecutionMagics.debug of
<IPython.core.magics.execution.ExecutionMagics object at 0x04C34A90>>,
'cls': <bound method KernelMagics.clear of
<IPython.zmq.zmqshell.KernelMagics object at 0x04BE6830>>, 'logon': <bound
method LoggingMagics.logon of <IPython.core.magics.logging.LoggingMagics
object at 0x04C34AF0>>, 'pdb': <bound method ExecutionMagics.pdb of
<IPython.core.magics.execution.ExecutionMagics object at 0x04C34A90>>,
'pdoc': <bound method NamespaceMagics.pdoc of
<IPython.core.magics.namespace.NamespaceMagics object at 0x04C34B10>>,
'history': <bound method HistoryMagics.history of
<IPython.core.magics.history.HistoryMagics object at 0x04C34AD0>>}}
global open_in_spyder = undefined
86 else:
87 # Don't want to know how things were in previous versions
NameError: global name 'open_in_spyder' is not defined
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/spyderlib?hl=en.