Pubudu Chinthaka Gunatilaka created STRATOS-1531:
----------------------------------------------------
Summary: Auto commit not working in PCA
Key: STRATOS-1531
URL: https://issues.apache.org/jira/browse/STRATOS-1531
Project: Stratos
Issue Type: Bug
Components: Cartridge Agent
Affects Versions: 4.1.1
Reporter: Pubudu Chinthaka Gunatilaka
Following error shows when committing happens
[2015-08-25 12:48:23,240] DEBUG {agentgithandler.py:execute_task} - Running
commit job
Exception in thread Thread-46:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File
"/opt/apache-stratos-python-cartridge-agent-4.1.2-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
line 507, in execute_task
AgentGitHandler.push(self.repo_info)
File
"/opt/apache-stratos-python-cartridge-agent-4.1.2-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
line 331, in push
modified, unstaged_files =
AgentGitHandler.get_unstaged_files(git_repo.local_repo_path)
File
"/opt/apache-stratos-python-cartridge-agent-4.1.2-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
line 405, in get_unstaged_files
untracked_files = output.split("Untracked
files:")[1].split("\n\n")[1].split("\n")
IndexError: list index out of range
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)