search cancel

Rally - Jenkins Connector: Error FileNotFound

book

Article ID: 112229

calendar_today

Updated On:

Products

CA Agile Central On Premise (Rally) CA Agile Central SaaS (Rally)

Issue/Introduction

Running a newly installed connector shows the following error in the console:
C:\Connectors\bldeif-1.1.3>python ac_build_connector sample_jenkins.yml
ERROR: ac_build_connector encountered an ERROR condition.
  File "ac_build_connector", line 31, in main
    connector_runner.run()
  File "C:\Connectors\bldeif-1.1.3\bldeif\bld_connector_runner.py", line 137, in run
    self.proclaim_existence(build_system_name)
  File "C:\Connectors\bldeif-1.1.3\bldeif\bld_connector_runner.py", line 103, in proclaim_existence
    proc = ProcTable.targetProcess(os.getpid())
  File "C:\Connectors\bldeif-1.1.3\bldeif\utils\proctbl.py", line 96, in targetProcess
    aps = ProcTable.allProcesses()
  File "C:\Connectors\bldeif-1.1.3\bldeif\utils\proctbl.py", line 29, in allProcesses
    all_procs = ProcTable.posixProcesses()
  File "C:\Connectors\bldeif-1.1.3\bldeif\utils\proctbl.py", line 44, in posixProcesses
    ps_output = subprocess.Popen(command_vector, stdout=subprocess.PIPE).communicate()[0]
  File "C:\Users\user01\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 709, in __init__
    restore_signals, start_new_session)
  File "C:\Users\user01\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 997, in _execute_child
    startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified

No Log output is generated.

Cause

This is caused by missing win32com.

This module is required for for using the connector under Windows per the documentation.
 

Environment

Windows
Jenkins Connector 1.1.3

Resolution

The documentation provides links to download and install the modules.
Alternatively, this module can be installed using pip:
pip install pypiwin32

Additional Information

Jenkins Connector Requirements