Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
0.7-incubating
-
None
-
Windows7, Python 2.7.10
Description
The latest atlas_stop.py fails with following error.
-----------------------------
File "C:\atlas-repo2\bin\atlas_config.py", line 326, in exist_pid
command='tasklist /fi "pid eq '+ pid + '"'
TypeError: cannot concatenate 'str' and 'int' objects
-----------------------------
Doing a quick fix to cast 'pid' to a string like 'str(pid)' fixes it.
One more error shows up after that.
-----------------------------
File "C:\atlas-repo2\bin\atlas_config.py", line 332, in exist_pid
if pid in line:
TypeError: 'in <string>' requires string as left operand, not int
-----------------------------
A similar fix. Replace 'pid' with 'str(pid)' seems to work.
Attachments
Issue Links
- duplicates
-
ATLAS-659 atlas_start fails on Windows
- Resolved