suoto / vim-hdl

Vim plugin to aid VHDL development (for LSP, see https://github.com/suoto/hdl_checker)
GNU General Public License v3.0
59 stars 5 forks source link

I am having trouble with the setup #36

Closed zoderiffic closed 7 years ago

zoderiffic commented 7 years ago

I get the following error

"vimhdl.vim" 201L, 7227C
Error detected while processing function vimhdl#setup..<SNR>44_setupPython:
line   32:
Traceback (most recent call last):
  File "<string>", line 9, in <module>
AttributeError: 'module' object has no attribute 'NullHandler'
suoto commented 7 years ago

Could you please try running the following within Vim? :py import logging; print(logging.__version__); print(logging.NullHandler) or (if you have Python 3.x) :py3 import logging; print(logging.__version__); print(logging.NullHandler)

zoderiffic commented 7 years ago

The py3 went through,.

just the py i get the following error,

I am quite new at all this so I might be really wrong at every single point

Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: 'module' object has no attribute 'NullHandler'
zoderiffic commented 7 years ago

Also was I supposed to get some feedback from any of those two commands other than a blank return?

suoto commented 7 years ago

If any of the commands worked, it should be fine. For some reason it seems your Python 2.x environment is missing the logging library, but this should be installed by default. Maybe try running

pip install logging

and restart Vim afterwards.

suoto commented 7 years ago

Closed due to inactivity. Please let me know if the issue persists.