Django ORM autocomplete hangs IntelliJ trying to autocomplete fields in quotes

Answered

Hi,

I'm using IntelliJ Ultimate 2018.2, with the Python plugin, all up to date.

I'm writing a Django App, and I am experiencing issues with the autocomplete for Django ORM filters.

I've attached a video of trying to do autocomplete on one of our Models - and notice how it hangs for a very long time trying to generate a list of things to autocomplete.

https://youtu.be/RYhGNRbBG4w

Note: this only happens for fields inside quotes - generally in `prefetch_related` - but also in the video that I'm showing for `order_by`. The IDE simply hangs in order to produce a dropdown.

Any suggestions on why this could be happening, and how to either fix it, or disable it until it gets fixed?

Thanks!

Best,
Octavian.

5 comments
Comment actions Permalink

Hi Octavian,

Thank you for contacting PyCharm support.

We couldn't reproduce your problem.

Please upload your log folder (Help | Show Log in...) zipped using the link https://uploads.services.jetbrains.com/ and provide the name of that zip file.

Looking forward to your reply.

Kind regards,

Sergey

https://www.jetbrains.com

The Drive to Develop

0
Comment actions Permalink

Thanks for the follow up. I've uploaded the file - called 'idea.log.zip' (see screenshot):

 

0
Comment actions Permalink

Hi Octavian, the log contains exceptions related to JRE-834 problem, would you mind checking 2018.3 EAP build? It has the newest JRE build with the fix. You can install EAP alongside with the current installation.

Is the user interface completely stuck while you are waiting for a completion? Does the log folder contain any "threadDump" subfolder?

0
Comment actions Permalink

Yes it does freeze, I've uploaded an archive with all the freeze folders called 'theadDumps-freeze.zip'.

I've downloaded 2018.3 EAP now and will start using it, will let you know if the issue resurfaces.

0
Comment actions Permalink

Thank you, I created a dedicated ticket in our bug tracker: https://youtrack.jetbrains.com/issue/PY-31914 Please comment there if the problem will persist in EAP.

0

Please sign in to leave a comment.