You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "venkata madugundu (JIRA)" <ji...@apache.org> on 2016/04/18 14:09:25 UTC

[jira] [Created] (ATLAS-684) atlas_stop.py fails to stop Atlas on Windows

venkata madugundu created ATLAS-684:
---------------------------------------

             Summary: atlas_stop.py fails to stop Atlas on Windows
                 Key: ATLAS-684
                 URL: https://issues.apache.org/jira/browse/ATLAS-684
             Project: Atlas
          Issue Type: Bug
    Affects Versions: 0.7-incubating
         Environment: Windows7, Python 2.7.10
            Reporter: venkata madugundu
             Fix For: 0.7-incubating


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)