ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Unable to add jobstream (add_jobstream.py) through CLI due to the error caused by jaws.py script

book

Article ID: 199215

calendar_today

Updated On:

Products

Automic Automation Intelligence

Issue/Introduction

Adding jobstream fails through CLI (add_jobstream.py) due to the error caused by jaws.py script:

Example:

./run.pl examples/add_jobstream.py 'mkt_price_003' 'AutoSys R12 - V1' 'testing testing testing 123' 'AutoSys R12 - V1'

 

JAWS Command Line Interface (6.0.1-3, ue-3-Unversioned directory-202007211944)

Enabling HTTP tunneling

Connected to JAWS server: AAI (6.0.1-3)

Message: AAI Server

 

Eval license, 28983 days remaining

login as "admin"

done (0.2s elapsed)

done

Traceback (most recent call last):

  File "examples/add_jobstream.py", line 25, in <module>

    add_jobstream(target_job, scheduler, jobstream_name, areas=[business_area])

  File "/opt/tslwja01/batch/lib/jaws.py", line 2024, in add_jobstream

    if SchedulerType.autosys.contains(scheduler_type):

TypeError: Supertypes that share a modified attribute have an MRO conflict[attribute=__deepcopy__, supertypes=[<type 'java.util.Set'>], type=AdaptiveSet]

 

Cause

Defect

Environment

Release : 6.0.1-3

Component : AUTOMIC AUTOMATION INTELLIGENCE ENGINE

Resolution

The defect is fixed in AAI 6.0.2 and higher.