tomv564 / pyls-mypy

Mypy plugin for the Python Language Server
MIT License
110 stars 62 forks source link

error in process filter: Wrong type argument: hash-table-p, nil #25

Closed SebastianCallh closed 5 years ago

SebastianCallh commented 5 years ago

I installed pyls-mypy and now I get error in process filter: lsp--on-diagnostics: Wrong type argument: hash-table-p, nil when starting up and error in process filter: Wrong type argument: hash-table-p, nil upon moving the cursor. Uninstalling pyls-mypy did not solve the problem. Any advice on this?

tomv564 commented 5 years ago

Sounds like you're using emacs with lsp-mode ? Is there a way to get more logging from the mode so we can see what pyls-mypy may have sent that was wrong? You still have the problem now even though pyls-mypy is gone - perhaps you left some configuration for the mode that is causing the error? I recommend asking the LSP client how to troubleshoot this issue as well, please fill me in on any problems pyls-mypy is causing!

SebastianCallh commented 5 years ago

Wow I didn't realize I opened the issue on the wrong repo. Thank you for you response. I nuked the virtual environment I was using, and never put any specifics in Emacs for pyls-mypy so I'm not sure if I was just not paying attention and this issue was there before as well. Since I still get the errors even without pyls-mypy I guess I shouldn't bother you any more :)
I'll do some more digging!

tomv564 commented 5 years ago

Best of luck!