Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-1531

Auto commit not working in PCA

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.1.1
    • 4.1.2
    • Cartridge Agent
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            pubudu538 Pubudu Chinthaka Gunatilaka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: