atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "venkata madugundu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ATLAS-684) atlas_stop.py fails to stop Atlas on Windows
Date Mon, 18 Apr 2016 12:09:25 GMT
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)

Mime
View raw message