go to post Veerraju Grandhi · Jul 16 Is there anyway if i can export the abcroutine.obj in a readable format from database?
go to post Veerraju Grandhi · Jun 30 I got the location of the wheel from an answer to a different question posted on this community.
go to post Veerraju Grandhi · Jun 30 Yes, i was talking about -d only. Can you please share the new wheel please.
go to post Veerraju Grandhi · Jun 27 get-content -path "C:\abc.log" | out-file "C:\abc-ansi.txt" -encoding ascii ---- solved the issue.
go to post Veerraju Grandhi · Jun 24 How can set the characterset to windows at the prompt rather than go to edit menu and select. the chage should effect till the terminal window is open. Once terminal window closed the default UTF8 should come back.
go to post Veerraju Grandhi · Jun 23 The problem is if i get the gmheap from IRIS Terminal the log output is in Unicode-UTF format and it is cautins trouble while reading from Ansible. Actually we are working on some automation kind of work to install and configure IRIS. So, we are using Ansible and PS/Python to interact with Windows OS and IRIS to set/modify Windows/IRIS related configurations and do some additional tasks based on the values that we get from Windows OS/IRIS. But what ever values we get from IRIS through terminal comes in Unicode UTF8 format and ansible is not recognizing the format for us (may be we need to explore in Ansible). But, do we have any method where we can ask terminal to give the output in normal text format.
go to post Veerraju Grandhi · Jun 23 Hi, I have downloaded the iris native driver from quickstarts-python/Solutions/nativeAPI_wheel at master · intersystems/quickstarts-python · GitHub following the intersystems documentation. However, the IRIS version i have is 3.03 and yet to get 3.05.
go to post Veerraju Grandhi · Jun 23 I have downloaded this below wheel from GitHub. IF this not the latest wheel, please can you share new link please - "irisnative-1.0.0-cp34.cp35.cp36.cp37.cp38.cp39-none-win_amd64.whl"
go to post Veerraju Grandhi · Jun 20 Thanks David. I did not try IRISDB method but wrote scr file to send the user name and password.
go to post Veerraju Grandhi · Jun 20 Hi Jon, Can you please share the link for the updated wheel file please
go to post Veerraju Grandhi · Jun 20 Thanks jon. Actually i used sql query to fetch the status. So i got some alternative. Thanks for all the guidance.
go to post Veerraju Grandhi · Jun 20 Hi John, Actually i tried combinations like "d", "ck", "cdk" but nothing worked. Actually while importing the task at termainal using "do" did not worked for me. Then i used "obj=##class" then it worked.
go to post Veerraju Grandhi · Jun 17 When i import the same file from TaskManager in Management Portal it is perfectly working and no errors. I need some solution to this problem. i got stuck due to this error.
go to post Veerraju Grandhi · Jun 17 This is the error i am getting imptask = dbnative.classMethodValue('%SYS.Task','ImportTasks',"F:\\ZBackup\\LISBackupTask.xml","ck")RuntimeError: server error 1217 <THROW> [ERROR_GENERAL_SERVER]
go to post Veerraju Grandhi · Jun 17 I gave the statement like this and the corresponding error as below – imptask = dbnative.classMethodValue('%SYS.Task','ImportTasks',"F:\Zbackup\LISBackupTask.xml","ck") RuntimeError: server error 1217 <THROW> [ERROR_GENERAL_SERVER] I gave the statement like this and the corresponding error as below – imptask = dbnative.classMethodValue('%SYS.Task','ImportTasks',"F\:\\Zbackup\\LISBackupTask\.xml","ck") RuntimeError: * [ERROR_SHARED_CON_ERROR] I am using IRIS Version as below - IRIS for Windows (x86-64) 2023.1.2 (Build 450_0_23065U) Thu Dec 28 2023 14:31:25 EST [Health:5.1.0-1.m1] and Native driver - i have downloaded the whl file "irisnative-1.0.0-cp34.cp35.cp36.cp37.cp38.cp39-none-win_amd64.whl" from GitHub
go to post Veerraju Grandhi · Jun 16 Hi Enrico, print("Importing LIS Backup Task") imptask = dbnative.classMethodValue('%SYS.Task','ImportTasks(FileName = "F:\ZBackup\LISBackupTask.xml",qspec = "d")') print("After Import LIS Backup Task: ",imptask) The Python iterpreter is not executing the print statement after ImportTasks statement. MEans, the execution is not moving further and program is just coming out. Could be some method usage might be wrong. Plese let me know if i am doing any mistake or any other way i should provide the task details.
go to post Veerraju Grandhi · Jun 16 Hi Enrico, Yes, through SQL i am getting but i am not finding suitable class/method for getting the task status. My task is just a backup task and i just want to see the task schedule status.
go to post Veerraju Grandhi · Jun 16 Hi Jon, I am using IRIS Version as below - IRIS for Windows (x86-64) 2023.1.2 (Build 450_0_23065U) Thu Dec 28 2023 14:31:25 EST [Health:5.1.0-1.m1] and Native driver - i have downloaded the whl file "irisnative-1.0.0-cp34.cp35.cp36.cp37.cp38.cp39-none-win_amd64.whl"
go to post Veerraju Grandhi · Jun 14 Hi, I tried updating the python script like below - import irisnative hostname = "127.0.0.1"port = 1972namespace = "%SYS" #change the namespace based on situationusername = "_SYSTEM"password = "xxxxxxxx"connection = irisnative.createConnection(hostname, port, namespace, username, password)dbnative = irisnative.createIris(connection) cfg=dbnative.classMethodValue('Config.config', 'Open')print(cfg.get('gmheap')) connection.close() and i am getting the below error when i attempting to run python - print(cfg.get('gmheap'))AttributeError: 'str' object has no attribute 'get' i tried methog gmheapGet() for the property gmheap but i am not getting any output. This Config.config is persistent class and SQL table. is that is the reason 'classmethovalue' not working? the same code worked for getting %system.config.sharedmemoryheap.recommendedsize.