On Monday, February 18, 2013 8:27:17 AM UTC, Dave Hirschfeld wrote:
>
> With the latest spyder source and the latest IPython I get the following 
> error when trying to start spyder:
>
> C:\dev\code\spyderlib>bootstrap.py
> Executing Spyder from source checkout
> Revision dd4a10611038+:2555+, Branch: default
> 01. Patched sys.path with C:\dev\code\spyderlib
> 02. No PySide detected, using PyQt4 if available
> C:\dev\bin\Python27\lib\site-packages\pygments\plugin.py:39: UserWarning: 
> Module argparse was already imported from C:\dev\bin\Python27\lib\argpars
> e.pyc, but c:\dev\bin\python27\lib\site-packages is being added to sys.path
>   import pkg_resources
> C:\dev\bin\Python27\lib\site-packages\pygments\plugin.py:39: UserWarning: 
> Module rope was already imported from C:\dev\code\spyderlib\rope\__init__
> .py, but c:\dev\bin\python27\lib\site-packages is being added to sys.path
>   import pkg_resources
> 03. Imported Spyder 2.2.0beta2
>     [Python 2.7.2 32bits, Qt 4.7.3, PyQt4 (API v1) 4.8.5 on Windows]
> 0x. Enforcing parent console (Windows only)
> 04. Executing spyder.main()
> Traceback (most recent call last):
>   File "C:\dev\code\spyderlib\spyderlib\spyder.py", line 2055, in main
>     mainwindow = run_spyder(app, options, args)
>   File "C:\dev\code\spyderlib\spyderlib\spyder.py", line 1967, in 
> run_spyder
>     main.post_visible_setup()
>   File "C:\dev\code\spyderlib\spyderlib\spyder.py", line 1014, in 
> post_visible_setup
>     self.extconsole.open_interpreter_at_startup()
>   File "C:\dev\code\spyderlib\spyderlib\plugins\externalconsole.py", line 
> 1068, in open_interpreter_at_startup
>     self.start_ipykernel()
>   File "C:\dev\code\spyderlib\spyderlib\plugins\externalconsole.py", line 
> 1095, in start_ipykernel
>     self.main.ipyconsole.visibility_changed(True)
> AttributeError: 'NoneType' object has no attribute 'visibility_changed'
> Error in atexit._run_exitfuncs:
> Traceback (most recent call last):
>   File "C:\dev\bin\Python27\lib\atexit.py", line 24, in _run_exitfuncs
>     func(*targs, **kargs)
>   File "C:\dev\code\spyderlib\spyderlib\spyder.py", line 1376, in closing
>     self.open_files_server.close()
> AttributeError: 'MainWindow' object has no attribute 'open_files_server'
> Error in sys.exitfunc:
> Traceback (most recent call last):
>   File "C:\dev\bin\Python27\lib\atexit.py", line 24, in _run_exitfuncs
>     func(*targs, **kargs)
>   File "C:\dev\code\spyderlib\spyderlib\spyder.py", line 1376, in closing
>     self.open_files_server.close()
> AttributeError: 'MainWindow' object has no attribute 'open_files_server'
>
>
> -Dave
>


Not sure what's going on here but perhaps it's an IPython issue - when I 
revert to 70d3237ceb Spyder works.

https://github.com/ipython/ipython/commit/70d3237ceb076ec1a2a4f6884d44d7ee915cfbeb


If I checkout the next commit 98972ec30f, Spyder fails to start, giving the 
above error message.

https://github.com/ipython/ipython/commit/98972ec30fd8e3c8965bc4c6f0c96b617edd2fff

AFAICS 98972ec30f is just some javascript changes for the notebook so I've 
not idea how this could affect Spyder?

Can anyone else reproduce this?

Thanks,
Dave




-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to