Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Interface is messed up after installing several plugins | Signal only works in main thread - Spyder report

Tags:

python

spyder

I'm trying to install several plug-ins in Spyder IDE, such as:

  • unit test
  • notebook
  • line profiler
  • spyder-terminal
  • memory-profiler
  • spyder-report

But unfortunately, I've got some serious problem. The installation was good, though I couldn't install spyder-vim and conda-manager plug-in for some unknown reason.

But the thing was horrible after launching the IDE. It's just broken somehow and not responding. Mouse unclickable. The interface was totally messed up.

Enter image description here

After removal of these plug-ins, I again manually installed those plug-ins and tried to figure it out which plug-in caused this.

This time I only installed

unit test spyder-report notebook terminal

and now after launching, I saw interface was a little bit finer than before and discovered some problem in the spyder-report plug-in. While rendering report to HTML it showed the following error:

signal only works in main thread

Enter image description here

I'm not sure whether I'll try other plug-in, but everything is pretty OK now except the spyder-report plug-in. I googled it for a day, but I found no effective solution.

like image 547
M.Innat Avatar asked May 27 '18 19:05

M.Innat


People also ask

How do I reset my Spyder to default?

Q: How do I reset Spyder's preferences to the defaults? Either use the Reset Spyder to factory defaults under Tools in Spyder's menu bar, the Reset Spyder settings Start menu shortcut (Windows), or run spyder --reset in your system terminal (Anaconda prompt on Windows).

How do I update Spyder dependencies?

Updating Spyder If you installed Spyder via the advanced/cross-platform method, pip , run pip install --upgrade spyder . This command will also update all Spyder dependencies, so we recommend you use an isolated virtual environment to avoid any potential unintended effects on other installed packages.

How do I fix my python Spyder?

Restart your machine, in case the problem lies with a lingering process or another such issue. From the Anaconda Prompt/Terminal/command line (on Windows/Mac/Linux), run the command spyder --reset , which will restore Spyder's config files to their defaults, which solves a huge variety of Spyder issues.


1 Answers

You didn't say which version of Spyder and Python you installed, nor which operating system you are using. So, using Debian unstable and Python 3.6.5, I installed:

  • spyder3, 3.2.6
  • spyder-common, 3.2.6
  • python3-spyder, 3.2.6
  • python3-spyder-memory-profiler, 0.1.2
  • python3-spyder-line-profiler, 0.1.1
  • python3-spyder-reports, 0.1.1
  • python3-spyder-unittest, 0.3.0

as well as all of their dependencies. After that, I started spyder3 without any problems (except that I have to use the Spyder 2 icon theme, because it can't find the Spyder 3 icons). The Reports tab works fine, no "Signal only..." error.

The problem with spyder-vim seems to be that no actual release has been made yet, so pip3 install spyder-vim doesn't find anything.

Last, I added the terminal plugin with pip3 install spyder-terminal.

Again, after that all is working fine.

like image 109
MiB Avatar answered Oct 04 '22 17:10

MiB