Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tryint to get spyder plugins to works (maybe too early ?) #4753

Closed
stonebig opened this issue Jul 16, 2017 · 18 comments
Closed

tryint to get spyder plugins to works (maybe too early ?) #4753

stonebig opened this issue Jul 16, 2017 · 18 comments

Comments

@stonebig
Copy link
Contributor

stonebig commented Jul 16, 2017

Description

What steps will reproduce the problem?

  1. install spyder plugins into spyder 3.2.0dev on winpython-3.5.3
  2. start spyder
  3. spyder shows an error at start

What is the expected output? What do you see instead?
hoped to see the notebook and terminal extensions
maybe did I miss a commit ?

Please provide any additional information below

plugin.initialize_plugin_in_mainwindow_layout()
self.on_first_registration()
self.main.tabify_plugins(self.main.extconsole, self)
self.tabifyDockWidget(first.dockwidget, second.dockwidget)

AttributeError: 'NoneType' object has no attribute 'dockwidget'
WARNING:traitlets:kernel died: 6.001145601272583

Version and main components

  • Spyder Version: 3.2.0.dev0
  • Python Version: 3.5.3
  • Qt Versions: 5.9.1, PyQt5 5.9 on Windows

Dependencies

pyflakes >=0.6.0 :  1.5.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pygments >=2.0   :  2.2.0 (OK)
pandas >=0.13.1  :  0.20.3 (OK)
numpy >=1.7      :  1.13.1 (OK)
sphinx >=0.6.6   :  1.6.3 (OK)
rope >=0.9.4     :  0.10.5 (OK)
jedi >=0.9.0     :  0.10.2 (OK)
nbconvert >=4.0  :  5.2.1 (OK)
sympy >=0.7.3    :  1.1 (OK)
cython >=0.21    :  0.25.2 (OK)
qtconsole >=4.2.0:  4.3.0 (OK)
IPython >=4.0    :  6.1.0 (OK)
pylint >=0.25    :  1.7.2 (OK)

@stonebig
Copy link
Contributor Author

stonebig commented Jul 16, 2017

ok, so:

awesome !
spyder_3 2_notebook_feature

@andfoy
Copy link
Member

andfoy commented Jul 16, 2017

@stonebig What problems do you have with the terminal?

@stonebig
Copy link
Contributor Author

spyder complains at start, so I remove the toolbar.
If I re-add it now, I see this unworkable terminal window:

spyder_3 2_terminal_feature

@stonebig
Copy link
Contributor Author

stonebig commented Jul 16, 2017

the `\' of windows have disappeared, maybe a UTF-8 / DOS code page issue ? ... will try to launch it from powershell

@andfoy
Copy link
Member

andfoy commented Jul 16, 2017

Do you have the winpty binaries on your path? Did you install pywinpty?

@andfoy
Copy link
Member

andfoy commented Jul 16, 2017

Is this the latest commit from spyder-terminal repo?

@stonebig
Copy link
Contributor Author

ah, I may have missed that two ones... will check

@andfoy
Copy link
Member

andfoy commented Jul 16, 2017

@stonebig by judging the screenshot, it seems that you installed spyder-terminal v0.1.1 which is uncompatible with Windows. Our great milestone was to bring it compatible on v0.2, so it would be great if you can give it a test :-)

@stonebig
Copy link
Contributor Author

stonebig commented Jul 16, 2017

can't recompile winpty from source ?

winpty/cywinpty.c(445): fatal error C1083: Cannot open include file: 'winpty.h': No such file or directory

indeed wheel is spyder_terminal-0.1.2

@andfoy
Copy link
Member

andfoy commented Jul 16, 2017

Do you have winpty's binaries on your path @stonebig?

@stonebig
Copy link
Contributor Author

maybe not, and I don't have "bower" to compile spyder-terminal.... I see I'm badly equipped to digg on this issue... will wait official wheels

@andfoy
Copy link
Member

andfoy commented Jul 16, 2017

@stonebig, thanks for your effort. Our official v0.2 release will occur after the official release of spyder v3.2, however, any comment is welcome!

@stonebig
Copy link
Contributor Author

it would be nice if the "winpty" terminal feature was reproduced also per jupyterlab team

@andfoy
Copy link
Member

andfoy commented Jul 16, 2017

@stonebig, @ccordoba12 told me that the people at JupyterLab might be interested on this terminal server, however, we don't know yet if they are going to use it

@stonebig
Copy link
Contributor Author

stonebig commented Jul 16, 2017

I would prefer to have spyder-notebooks and spyder-reports well polished and stable today. Terminal may have a lot of incompatible iterations to go to awesomness; jupyterlab and xonsh cross-sharing, powershell, ...

@ccordoba12
Copy link
Member

@stonebig, thanks a lot for trying our new plugins and for thinking to include them already in WinPython!

I would prefer to have spyder-notebooks and spyder-reports well polished and stable today.

I'd say they are pretty stable already, but we will know for sure when people start to use them. I really like the output of spyder-reports, it's beautiful!

Terminal may have a lot of incompatible iterations to go to awesomness

Spyder-terminal will be awesome on Windows! That has been the great work of @andfoy for its 0.2 version.

@andfoy
Copy link
Member

andfoy commented Jul 24, 2017

@stonebig Spyder-terminal is now available on Windows via PyPi, would you mind if you can give it a test run?

pip install -U spyder-terminal

@stonebig
Copy link
Contributor Author

will retry spyder-terminal today. I don't understand evolution state of spyder-unittest, so I may leave it aside

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants