検索

Announcement
· Aug 4, 2024

Key Questions of the Month: July 2024

Hi Community,

It's time for the new batch of #KeyQuestions from the previous month.

Here are the Key Questions of July chosen by InterSystems Experts within all Communities:

📌 Error: Invalid Community Edition license, may have exceeded core limit. - Shutting down the system : $zu(56,2)= 0 (Probléme avec : irishealth-community:2024.1) by @Moussa SAMB (FR)

📌 Error iniciar Docker IRIS Community by @Daniel Aguilar (ES)

📌 OnInit() Question - Ens.BusinessOperation (HTTP.OutboundAdapter) by @Scott Roth (EN)

These questions will be highlighted with the #Key Question tag, and their authors will get the Key Question badge on Global Masters (when it's back).

If you find the key question(s) from other communities interesting, just drop us a line in the comments and we will translate the question(s) and the accepted answer(s).

Congrats, and thank you all for your interesting questions. Keep them coming!

See you next month😉

Discussion (0)1
Log in or sign up to continue
Question
· Aug 4, 2024

Convert IRIS DynamicArray to Python list

Hello Community,

How to convert the IRIS %DynamicArray into python list. I got " <THROW>TestDyncArray+1^MyLearn.Pyth.NewClass1.1 *%Exception.PythonException <PYTHON EXCEPTION> 246 <class 'AttributeError'>: <unknown exception data>" error when passing array values to python class.

ClassMethod TestDyncArray()
{
	Do ..DyncArrayInPy([1,2,3,4])
}

ClassMethod DyncArrayInPy(numbers) [ Language = python ]
{
	import iris
	print(type(numbers)) ;<class 'iris.%Library.DynamicArray'> need to be a <class 'list'>
	for num in numbers:
		print(num)
}

Thanks!

3 Comments
Discussion (3)1
Log in or sign up to continue
Announcement
· Aug 3, 2024

Top Videos for InterSystems Developers in July 2024

Discussion (0)1
Log in or sign up to continue
Discussion (1)2
Log in or sign up to continue
Question
· Aug 2, 2024

Using .Net to call the GetStateBySystem function from SYS.DataCheck in IRIS 2022.1

I'm fairly new to InterSystems and I've been tasked with building a portal that can show DataCheck States among other details, the GetStateBySystem seems to be fit the bill but I don't see a why to call directly from the .Net SDK. I tried sql and can get data from the table but does include "state" information ("starting, stopping, running etc..."). I did find github example around .Net but none fit the bill. If anyone can point me to the right example or documentation it would be greatly appreciated.

 

Thank you,

Discussion (0)1
Log in or sign up to continue