question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Spyder 5.0.5 hangs when trying to establish a connection to kite.com

See original GitHub issue

Issue Report Checklist

  • Searched the issues page for similar reports
  • Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
  • Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
  • Could not reproduce inside jupyter qtconsole (if console-related)
  • Tried basic troubleshooting (if a bug/error)
    • Restarted Spyder
    • Reset preferences with spyder --reset
    • Reinstalled the latest version of Anaconda
    • Tried the other applicable steps from the Troubleshooting Guide
  • Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description

Spyder 5.0.5 hangs splash screen at “Loading Status bar”. This didn’t happen with version 5.0.3 on the same computer.

What steps reproduce the problem?

  1. Upgrade to or install Spyder 5.0.5.
  2. Run spyder

What is the expected output? What do you see instead?

Spyder should open. Instead, splash screen hangs at “Loading Status bar”

Paste Traceback/Error Below (if applicable)


PASTE TRACEBACK HERE

Versions

  • Spyder version: 5.0.5
  • Python version: 3.8.10
  • Qt version: 5.9.7
  • PyQt version: 5.9.2
  • Operating System name/version: Windows 10

Dependencies

PASTE DEPENDENCIES HERE

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ccordoba12commented, Jul 31, 2021

@thomasoliveira, thanks a lot for helping us to debug this problem!

I’ll add a timeout to the code that does a request to release.kite.com so that Spyder doesn’t hang in case it can’t access it for some reason.

0reactions
thomasoliveiracommented, Jul 30, 2021

@ccordoba12 , I could not upload the file spyder-debug.log but here is its content:

2021-07-30 12:58:05,734 [INFO] [spyder.app.mainwindow] -> Start of MainWindow constructor
2021-07-30 12:58:05,735 [INFO] [spyder.app.mainwindow] -> appusermodelid: 0
2021-07-30 12:58:05,746 [INFO] [spyder.app.mainwindow] -> End of MainWindow constructor
2021-07-30 12:58:10,773 [INFO] [spyder.app.mainwindow] -> *** Start of MainWindow setup ***
2021-07-30 12:58:10,773 [INFO] [spyder.app.mainwindow] -> Updating PYTHONPATH
2021-07-30 12:58:10,776 [INFO] [spyder.app.mainwindow] -> Applying theme configuration...
2021-07-30 12:58:10,937 [INFO] [spyder.app.mainwindow] -> Loading switcher...
2021-07-30 12:58:20,793 [INFO] [spyder.app.solver] -> Added all plugins as dependencies to plugin: layout
2021-07-30 12:58:20,794 [INFO] [spyder.app.mainwindow] -> Loading Main menus...
2021-07-30 12:58:20,821 [INFO] [spyder.app.mainwindow] -> Loading mainmenu...
2021-07-30 12:58:20,825 [INFO] [spyder.app.mainwindow] -> Registering shortcuts for mainmenu...
2021-07-30 12:58:20,826 [DEBUG] [spyder.utils.registries] -> Registering SpyderAction('Show toolbars') (show toolbars) under context __global for plugin toolbar
2021-07-30 12:58:20,827 [DEBUG] [spyder.utils.registries] -> Registering <spyder.api.widgets.menus.SpyderMenu object at 0x000002D767357438> (toolbars_menu) under context __global for plugin toolbar
2021-07-30 12:58:20,828 [INFO] [spyder.app.mainwindow] -> Loading Toolbar...
2021-07-30 12:58:20,839 [INFO] [spyder.app.mainwindow] -> Loading toolbar...
2021-07-30 12:58:20,840 [DEBUG] [spyder.utils.registries] -> Registering <spyder.api.widgets.toolbars.ApplicationToolbar object at 0x000002D764D92288> (file_toolbar) under context __global for plugin toolbar
2021-07-30 12:58:20,842 [DEBUG] [spyder.utils.registries] -> Registering <spyder.api.widgets.toolbars.ApplicationToolbar object at 0x000002D767359168> (run_toolbar) under context __global for plugin toolbar
2021-07-30 12:58:20,843 [DEBUG] [spyder.utils.registries] -> Registering <spyder.api.widgets.toolbars.ApplicationToolbar object at 0x000002D7673590D8> (debug_toolbar) under context __global for plugin toolbar
2021-07-30 12:58:20,845 [DEBUG] [spyder.utils.registries] -> Registering <spyder.api.widgets.toolbars.ApplicationToolbar object at 0x000002D7673593A8> (main_toolbar) under context __global for plugin toolbar
2021-07-30 12:58:20,846 [INFO] [spyder.app.mainwindow] -> Registering shortcuts for toolbar...
2021-07-30 12:58:20,985 [DEBUG] [spyder.utils.registries] -> Registering SpyderAction('Preferences') (show_action) under context __global for plugin preferences
2021-07-30 12:58:20,992 [DEBUG] [spyder.utils.registries] -> Registering SpyderAction('Reset Spyder to factory defaults') (reset_action) under context __global for plugin preferences
2021-07-30 12:58:20,992 [INFO] [spyder.app.mainwindow] -> Loading Preferences...
2021-07-30 12:58:21,501 [INFO] [spyder.app.mainwindow] -> Loading preferences...
2021-07-30 12:58:21,502 [INFO] [spyder.app.mainwindow] -> Registering shortcuts for preferences...
2021-07-30 12:58:21,503 [INFO] [spyder.app.mainwindow] -> Loading Appearance...
2021-07-30 12:58:21,505 [INFO] [spyder.app.mainwindow] -> Loading appearance...
2021-07-30 12:58:21,506 [INFO] [spyder.app.mainwindow] -> Registering shortcuts for appearance...
2021-07-30 12:58:21,506 [INFO] [spyder.app.mainwindow] -> Loading Run...
2021-07-30 12:58:21,508 [INFO] [spyder.app.mainwindow] -> Loading run...
2021-07-30 12:58:21,508 [INFO] [spyder.app.mainwindow] -> Registering shortcuts for run...
2021-07-30 12:58:21,509 [INFO] [spyder.app.mainwindow] -> Loading Keyboard shortcuts...
2021-07-30 12:58:21,513 [INFO] [spyder.app.mainwindow] -> Loading shortcuts...
2021-07-30 12:58:21,514 [DEBUG] [spyder.utils.registries] -> Registering SpyderAction('Shortcuts Summary') (show_shortcut_summary_action) under context __global for plugin shortcuts
2021-07-30 12:58:21,514 [INFO] [spyder.app.mainwindow] -> Registering shortcuts for shortcuts...
2021-07-30 12:58:21,515 [DEBUG] [spyder.api.config.mixins] -> <spyder.plugins.statusbar.container.StatusBarContainer object at 0x000002D7674FF318> is observing clock/enable in section statusbar
2021-07-30 12:58:21,515 [DEBUG] [spyder.api.config.mixins] -> <spyder.plugins.statusbar.container.StatusBarContainer object at 0x000002D7674FF318> is observing cpu_usage/enable in section statusbar
2021-07-30 12:58:21,516 [DEBUG] [spyder.api.config.mixins] -> <spyder.plugins.statusbar.container.StatusBarContainer object at 0x000002D7674FF318> is observing memory_usage/enable in section statusbar
2021-07-30 12:58:21,516 [DEBUG] [spyder.api.config.mixins] -> <spyder.plugins.statusbar.container.StatusBarContainer object at 0x000002D7674FF318> is observing clock/timeout in section statusbar
2021-07-30 12:58:21,516 [DEBUG] [spyder.api.config.mixins] -> <spyder.plugins.statusbar.container.StatusBarContainer object at 0x000002D7674FF318> is observing cpu_usage/timeout in section statusbar
2021-07-30 12:58:21,517 [DEBUG] [spyder.api.config.mixins] -> <spyder.plugins.statusbar.container.StatusBarContainer object at 0x000002D7674FF318> is observing memory_usage/timeout in section statusbar
2021-07-30 12:58:21,517 [DEBUG] [spyder.api.config.mixins] -> <spyder.plugins.statusbar.container.StatusBarContainer object at 0x000002D7674FF318> is observing show_status_bar in section statusbar
2021-07-30 12:58:21,522 [INFO] [spyder.app.mainwindow] -> Loading Status bar...
2021-07-30 12:58:21,525 [INFO] [spyder.app.mainwindow] -> Loading statusbar...
2021-07-30 12:58:21,531 [INFO] [spyder.app.mainwindow] -> Registering shortcuts for statusbar...
2021-07-30 12:58:21,532 [DEBUG] [spyder.plugins.completion.plugin] -> Loading entry point: fallback = spyder.plugins.completion.providers.fallback.provider:FallbackProvider
2021-07-30 12:58:21,540 [DEBUG] [spyder.plugins.completion.plugin] -> Completion plugin: Registering fallback
2021-07-30 12:58:21,569 [DEBUG] [spyder.plugins.completion.plugin] -> Loading entry point: kite = spyder.plugins.completion.providers.kite.provider:KiteProvider
2021-07-30 12:58:21,604 [DEBUG] [spyder.plugins.completion.plugin] -> Completion plugin: Registering kite
2021-07-30 12:58:21,631 [DEBUG] [spyder.api.config.mixins] -> <spyder.plugins.completion.providers.kite.provider.KiteProvider object at 0x000002D767506E58> is observing enable_code_snippets in section completions
2021-07-30 12:58:21,631 [DEBUG] [spyder.api.config.mixins] -> <spyder.plugins.completion.providers.kite.provider.KiteProvider object at 0x000002D767506E58> is observing ('enabled_providers', 'kite') in section completions
2021-07-30 12:58:21,633 [DEBUG] [spyder.api.config.mixins] -> <spyder.plugins.completion.providers.kite.provider.KiteProvider object at 0x000002D767506E58> is observing ('provider_configuration', 'kite', 'values') in section completions
2021-07-30 12:58:21,646 [DEBUG] [urllib3.connectionpool] -> Starting new HTTPS connection (1): release.kite.com:443

I noticed it hangs on “Starting new HTTPS connection”. After that, I set the environment variables http_proxy and https_proxy (on Windows), and spyder opened normally.

Read more comments on GitHub >

github_iconTop Results From Across the Web

First Steps — Spyder 5 documentation
First Steps¶. If Spyder crashes or you receive an error message, please read the following troubleshooting steps before opening a new issue.
Read more >
Spyder 5 Won't Launch on Windows 10 - Stack Overflow
I am using Python 3.7 and have tried to launch via Anaconda Navigator and the command prompt. Here is the error I get:...
Read more >
A Spyder IDE autocompletion plugin (Kite) freezes whole ...
I installed anaconda and installed spyder4. After launching it asked whether I want to install a new code autocompletion plugin - Kite. I...
Read more >
Spyder changelog - Awesome Python | LibHunt
Official repository for Spyder - The Scientific Python Development Environment ... Spyder 5.0.5 hangs when trying to establish a connection to kite.com (PR ......
Read more >
Spyder 5.0.1 Kite Autocompletion Issues Including Latency
Hey, I had the same latency problem and found a way to solve it. For information, I use Spyder 5.0.0. 1) Open Kite....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found