Using PyCharm for editing RhinoPython

I managed to get all the hints to the methods to appear but when I run my debugger I get an error. See screenshot.


Error Message:
“C:\Program Files (x86)\IronPython 2.7\ipy.exe” C:/Users/marafi/PycharmProjects/RhinoTest/Test.py
Traceback (most recent call last):
File “C:/Users/marafi/PycharmProjects/RhinoTest/Test.py”, line 3, in
File “C:\Users\marafi\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscriptsyntax.py”, line 2, in
File “C:\Users\marafi\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript_init_.py”, line 8, in
File “C:\Users\marafi\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\application.py”, line 1, in
File “C:\Users\marafi\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\scriptcontext.py”, line 2, in
AttributeError: ‘LightException’ object has no attribute ‘Host’