Hi, Looks like this is a blocker for 4.1.2 release, if the issue is actually in the PCA. @Chamila: Would you be able to help with troubleshooting?
Thanks. On Tue, Aug 25, 2015 at 8:24 PM, Chamila De Alwis <chami...@wso2.com> wrote: > Hi Pubudu, > > It looks like "git status" command returns an unusual output for the > particular repository. Could you check if the same command is running > without an issue standalone? > > (On a mobile) > Regards, > Chamila de Alwis > Committer and PMC Member - Apache Stratos > Software Engineer - WSO2 > http://code.chamiladealwis.com > On Aug 25, 2015 9:11 AM, "Pubudu Gunatilaka" <pubu...@wso2.com> wrote: > >> Hi Devs, >> >> I am getting following error when agent tries to commit files to the >> given git repo. >> >> [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 >> >> Currently investigating the issue. >> >> Thank you! >> >> -- >> >> *Pubudu Gunatilaka* >> Software Engineer >> WSO2, Inc.: http://wso2.com >> lean.enterprise.middleware >> mobile: +94 77 4078049 >> > -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com