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

Plugin hangs indefinitely when pylint error occurs #78

Open
andreas-wolf opened this issue Feb 22, 2021 · 1 comment
Open

Plugin hangs indefinitely when pylint error occurs #78

andreas-wolf opened this issue Feb 22, 2021 · 1 comment

Comments

@andreas-wolf
Copy link

Step 1: Are you in the right place?

  • [ x] I have verified there are no duplicate active or recent bugs, questions, or requests
  • [ x] I have verified that I am using the latest version of the plugin.

Step 2: Describe your environment

  • Plugin version: 0.12.2
  • PyCharm/IDEA version: professional 2020.3
  • Pylint version: 2.6.0

Step 3: Describe the problem:

The plugin hangs indefinetly with ""pylint is scanning" when the pylint process had an error.

Steps to reproduce:

pylint can throw a recursion error: pylint-dev/pylint#3318
This is reproducible with the following code and pylint 2.6.0:

import pandas as pd

def _postprocess_recorded_data(psu_gun_imon_df):
    ab = pd.to_datetime(psu_gun_imon_df['Date UTC'])
    date_utc = ab.dt #.round('S')
    return date_utc.round('S')

Observed Results:

If pylint checks that code on console a stack trace appears.
If the plugin checks that code then it hangs indefinetly, probably because the pylint process which was started hangs.

Expected Results:

Some kind of error message

@leinardi
Copy link
Owner

Hi everyone,

A new developer, @szabope, has created a full rewrite of this PyLint plugin. The new plugin is actively maintained and addresses many of the issues found here.

You can find the new plugin on the JetBrains Plugin Marketplace: PyLint Plugin
The source code is available here: GitHub Repository

Please give it a try, as the old plugin will soon be archived.

Thank you!

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

2 participants