Comment thread started by Anonymous on DRS Doctor

Full comments
Aug 21, 2016

Thanks Team for such a wonderful tool .

But when I am trying to configure it on my RELL machine I see below error.

I tried python interactive login using "from pyVim import connect
si = connect.SmartConnect(host = "your vc ip", user = "username", pwd = "password", port = 443) " which works fine But when I run "usr/bin/python /DrsDoctor-v1.1/DrsDoctor/Drm-Diagnostic-Tool/doctor" I see below error message.

/]# usr/bin/python /DrsDoctor-v1.1/DrsDoctor/Drm-Diagnostic-Tool/doctor
Traceback (most recent call last):
File "/DrsDoctor-v1.1/DrsDoctor/Drm-Diagnostic-Tool/doctor", line 21, in <module>
from scripts import TaskTracker
File "/DrsDoctor-v1.1/DrsDoctor/Drm-Diagnostic-Tool/scripts/TaskTracker.py", line 12, in <module>
import vcutil
File "/DrsDoctor-v1.1/DrsDoctor/Drm-Diagnostic-Tool/scripts/vcutil.py", line 14, in <module>
from collections import Counter
ImportError: cannot import name Counter
[ /]# Traceback (most recent call last):
bash: syntax error near unexpected token `most'
[ /]# File "/DrsDoctor-v1.1/DrsDoctor/Drm-Diagnostic-Tool/doctor", line 21, in <module>
bash: syntax error near unexpected token `newline'
[ /]# from scripts import TaskTracker
bash: from: command not found
[ /]# File "/DrsDoctor-v1.1/DrsDoctor/Drm-Diagnostic-Tool/scripts/TaskTracker.py", line 12, in <module>
bash: syntax error near unexpected token `newline'
[ /]# import vcutil
bash: import: command not found
[ /]# File "/DrsDoctor-v1.1/DrsDoctor/Drm-Diagnostic-Tool/scripts/vcutil.py", line 14, in <module>
bash: syntax error near unexpected token `newline'
[ /]# from collections import Counter
bash: from: command not found
[ /]# ImportError: cannot import name Counter
bash: ImportError:: command not found

Thanks In advance

Aug 21, 2016

What is the version of python you are using? Is it less than 2.7? If yes, would recommend to try with at least 2.7.6 (better if it is 2.7.9)