DamnWidget / anaconda

Anaconda turns your Sublime Text 3 in a full featured Python development IDE including autocompletion, code linting, IDE features, autopep8 formating, McCabe complexity checker Vagrant and Docker support for Sublime Text 3 using Jedi, PyFlakes, pep8, MyPy, PyLint, pep257 and McCabe that will never freeze your Sublime Text 3
http://damnwidget.github.io/anaconda/
GNU General Public License v3.0
2.21k stars 260 forks source link

"Uncaptured python exception" when running remote Anaconda server (on Docker) #902

Open narendramukherjee opened 3 years ago

narendramukherjee commented 3 years ago

Expected Behaviour

Remote interpreter performs linting as expected.

Actual Behaviour

Linting doesn't happen, and JSON server/minserver fails with the following error:

error: uncaptured python exception, closing channel <__main__.JSONHandler connected 172.18.0.1:58258 at 0x7f514164a7f0> (<class 'AttributeError'>:'function' object has no attribute 'get' [/opt/conda/lib/python3.8/asyncore.py|read|83] [/opt/conda/lib/python3.8/asyncore.py|handle_read_event|420] [/opt/conda/lib/python3.8/asynchat.py|handle_read|171] [/anaconda/anaconda_server/minserver.py|found_terminator|94] [/anaconda/anaconda_server/minserver.py|handle_command|112] [/anaconda/anaconda_server/lib/anaconda_handler.py|run|49] [/anaconda/anaconda_server/handlers/python_lint_handler.py|lint|49] [/anaconda/anaconda_server/handlers/python_lint_handler.py|_configure_linters|163])

Steps to Reproduce

Run remote Anaconda server on Docker either following these instructions for Docker or git cloning the Anaconda codebase and then running minserver.py on the right port as instructed here

ST3, Anaconda and OS versions

ST3 - Build 4113 Anaconda - v2.2.0 (latest) OS - Ubuntu 18.04 running the following Docker image

ST3 Console Logs

Where do I find these logs?

Anaconda's JsonServer Logs

Note: Anaconda's JsonServer logs can be found in:

narendramukherjee commented 3 years ago

Also, this looks like it is related to #872 , only that I seemed to face similar issues in Linux, instead of Windows