Showing results for 
Search instead for 
Did you mean: 

Cisco.Unity.Connection.PythonScriptingHost.exe issues

I am trying to update store times automatically in batch process rather than the current manual process which needs me to invoke Cisco.Unity.Connection.PythonScriptingHost.exe and once the dialog window pops up, I need to enter the server name, user name, password and the python script name. Sine we have 4 CUC servers, I need to repeat this 4 times and this is all manual process. All these Python scripts and the exe were given to us by Cisco and the installation partners. Cisco documentation says , if this needs to be run as a batch job, what's needed is to issue the below command from batch window, which can be scheduled from windows scheduler or any scheduler. Server IP and python script name. Whatever user is launching the script has the DB authorities to update Informix DB (that's my assumption). The command itself is given by Cisco.

"Cisco.Unity.Connection.PythonScriptingHost.exe /Silent=[10.X.X.X] /Script=[C:\Program Files (x86)\Cisco Systems\Unity Connection\Python Scripting Host for Connection\PythonScripts\] 

But when I run the command my log shows as

Connection Python Scripting Host version=1.0.9
Connection version=0.0(0.0)
Logged into Connection as: ---- this is coming blank where as I manually run, it gets populated.

Thread 001], [19/08/23 10:22:26], (error) opening ODBC connection in LoginODBCBlocking on ConnectionServer:IBM.Data.Informix.IfxException (0x80004005): ERROR [HY000] [Informix .NET provider][Informix]Network connection is broken.
at IBM.Data.Informix.DBCWrapper..ctor(IfxConnection connection)
at IBM.Data.Informix.IfxConnectionPool.IfxConnPoolNode..ctor(IfxConnection connection)
at IBM.Data.Informix.IfxConnectionPool.OpenNewConnection(IfxConnection connection, ConnectionPoolType ConnPoolType)
at IBM.Data.Informix.IfxConnectionPool.Open(IfxConnection connection)
at IBM.Data.Informix.IfxConnPoolManager.Open(IfxConnection connection)
at IBM.Data.Informix.IfxConnection.Open()
at Cisco.Unity.Connection.ConnectionServer.LoginDatabaseBlocking(String pLoginName, String pPassword, String pServerName, String pProxyLoginName, String pProxyPassword)
[Thread 001], [19/08/23 10:22:26], (error) Failed attaching to Connection server passed in on command line.CLI=/Silent=[10.X.X.X],/Script=[C:\Program,Files,(x86)\Cisco,Systems\Unity,Connection\Python,Scripting,Host,for,Connection\PythonScripts\],, current Windows user=ivradmin


Any ideas?

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards