atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "venkata madugundu (JIRA)" <>
Subject [jira] [Created] (ATLAS-684) fails to stop Atlas on Windows
Date Mon, 18 Apr 2016 12:09:25 GMT
venkata madugundu created ATLAS-684:

             Summary: fails to stop Atlas on Windows
                 Key: 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 fails with following error.
File "C:\atlas-repo2\bin\", 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\", 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

View raw message