Search Engine: Elastic

Article ID: 131675, created on Oct 26, 2017, last review on Oct 26, 2017

  • Applies to:
  • Operations Automation 6.0
  • Operations Automation 5.4

Symptoms

readCSPAccounts.py script of Office 365 APS package returns the following error:

#python ./readCSPAccounts.py --o365APS2-app-instance-id=7 --vendor-id=12

Error: argument 6 must be string, not None

Cause

Incorrect parameter specified in the Utils.py module.

Resolution

Check the following section in the Utils.py:

__dbhost = "172.16.1.2"
__dbname = "plesk"
__dbuser = "plesk"
__dbpass = None
__apihost = "172.16.1.3"

Change the __dbpass = None to __dbpass = "" and run the script.

ac82ce33439a9c1feec4ff4f2f638899 caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5356b422f65bdad1c3e9edca5d74a1ae 2554725ed606193dd9bbce21365bed4e 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0

Email subscription for changes to this article
Save as PDF