Pesquisar

Anúncio
· Set. 4, 2024

Kick-off Webinar for InterSystems Developer Tools Contest 2024

Hey Community,

We're pleased to invite you all to the upcoming kick-off webinar for the InterSystems Developer Tools Contest 2024!

During the webinar, you will discover the exciting challenges and opportunities that await IRIS enthusiasts in this contest. We'll discuss the topics we expect from participants and show you how to develop, build, and deploy applications using the InterSystems IRIS data platform.

Date & Time: Tuesday, September 10 – 12:30 pm EDT | 6:30 pm CEST  

Speakers:  
🗣 ​​​@Dean Andrews, Head of Developer Relations
🗣 ​​​@Evgeny Shvarov, Senior Manager of Developer and Startup Programs
🗣 @Raj Singh, Product Manager  

✅ Register for the kick-off today!

Discussão (0)2
Entre ou crie uma conta para continuar
Artigo
· Set. 4, 2024 2min de leitura

NGINX Configuration (Container)

If you plan on using the nginx server to front end you IRIS instance (as opposed to the standard apache web gateway install) you will need to add a few configuration options into the CSP.conf file in order for all urls to work. It took me a little bit to figure this out but this seems to be the configuration that works.

If you are using the container version of nginx from the Intersystems Container Registry you should use the %SYS persistent volume to store your CSP configuration and then utilize the ISC_CSP_CONF_FILE and ISC_CSP_INI_FILE environment variables to merge them into the running nginx instance.

location /csp/bin/Systems {
    CSPFileTypes cxw;
    CSPNSD_pass 127.0.0.1:7038;
    CSPNSD_response_headers_maxsize 8k;
    CSPNSD_connect_timeout 300s;
    CSPNSD_send_timeout 300s;
    CSPNSD_read_timeout 300s;
}
location /csp/bin/RunTime {
    CSPFileTypes cxw;
    CSPNSD_pass 127.0.0.1:7038;
    CSPNSD_response_headers_maxsize 8k;
    CSPNSD_connect_timeout 300s;
    CSPNSD_send_timeout 300s;
    CSPNSD_read_timeout 300s;
}
location /api {
    CSP ON;
    CSPNSD_pass 127.0.0.1:7038;
    CSPNSD_response_headers_maxsize 8k;
    CSPNSD_connect_timeout 300s;
    CSPNSD_send_timeout 300s;
    CSPNSD_read_timeout 300s;
}
location /csp/sys {
    CSP ON;
    CSPNSD_pass 127.0.0.1:7038;
    CSPNSD_response_headers_maxsize 8k;
    CSPNSD_connect_timeout 300s;
    CSPNSD_send_timeout 300s;
    CSPNSD_read_timeout 300s;
}
location /csp/healthshare {
    CSP ON;
    CSPNSD_pass 127.0.0.1:7038;
    CSPNSD_response_headers_maxsize 8k;
    CSPNSD_connect_timeout 300s;
    CSPNSD_send_timeout 300s;
    CSPNSD_read_timeout 300s;
}
Discussão (0)1
Entre ou crie uma conta para continuar
Artigo
· Set. 4, 2024 2min de leitura

Configuration de la fonctionnalité d'exécution flexible de Python dans IRIS 2024.2

Bonjour à tous,

Cet article a pour but de vous guider dans le processus de configuration et d'utilisation de la fonctionnalité d'exécution flexible de Python pour Embedded Python. Avant la version 2024.2, le programme d'installation d'Intersystems IRIS incluait une version préinstallée de Python. Vous pouvez trouver les bibliothèques Python et les fichiers d'application situés dans le répertoire \lib\python de votre dossier d'installation IRIS (par exemple, C:\InterSystems\IRIS20242\lib\python).

Cependant, à partir de la version 2024.2, le programme d'installation d'IRIS n'inclut plus l'installation de Python par défaut. Par conséquent, vous ne trouverez pas ces fichiers dans le répertoire susmentionné. Il est nécessaire que vous installiez la version requise de Python pour travailler efficacement avec Embedded Python dans IRIS.

Passons maintenant à la configuration de la fonctionnalité d'exécution flexible dans mon environnement IRIS.

J'ai installé la version communautaire 2024.2 sur ma machine et j'ai essayé de connecter immédiatement le shell Python dans le terminal IRIS.

USER>Write $ZV
IRIS for Windows (x86-64) 2024.2 (Build 247U) Tue Jul 16 2024 09:57:03 EDT
USER>Do $SYSTEM.Python.Shell()
ERROR #5002: ObjectScript error: <OBJECT DISPATCH>Shell+16^%SYS.Python.1 *Failed to Load Python: Check documentation and messages.log, Check CPF parameters:[PythonRuntimeLibrary,PythonRuntimeLibraryVersion], Check sys.path setup in: $INSTANCE/lib/python/iris_site.py.

Il génère une erreur en raison de la configuration manquante de PythonRuntimeLibrary et les valeurs PythonRuntimeLibraryVersion sont vides (remarque : j'ai déjà défini la version PythonRuntimeLibraryVersion)

J’ai déjà installé Python 3.12.5 sur mon système et configuré les valeurs dans les paramètres.

PythonRuntimeLibrary  - “C:\Program Files\Python312\python3.dll”
PythonRuntimeLibraryVersion - 3.12

Une fois configuré, j'ai exécuté à nouveau Do $SYSTEM.Python.Shell() et il est entré avec succès dans le shell Python

Remarque : la documentation sur les fonctionnalités d'exécution flexibles de Python est conforme à la documentation ou il dit que cette fonctionnalité n'est pas prise en charge par tous les systèmes d'exploitation.

Discussão (0)1
Entre ou crie uma conta para continuar
Pergunta
· Set. 4, 2024

Erro na compilação de classesiris

Ao compilar minha classe Utils.Persistence.Menu no Studio ele apresenta a seguinte mensagem

ERROR #5356: Compiled storage class '%Storage.SQL doesnot exist

ERROR #5030: An error occurred while compiling class 'Utils.Persistence.Menu'

essa classe foi alterada no IRIS 2024 e após essa alteração começou a apresentar esse erro no CACHE 2018

no IRIS ela compila sem erros.

Alguém sabe como resolver?

2 Comments
Discussão (2)2
Entre ou crie uma conta para continuar
Anúncio
· Set. 4, 2024

★勝者発表★ InterSystems 開発者コミュニティ AI を試して賞品ゲット!

コミュニティの皆さん、こんにちは!

開発者コミュニティ AI 懸賞企画 お楽しみいただけましたか? まだまだ改良の必要がありそうですが、DC AIを利用して何か新しい回答が得られていることを願っています。

この投稿では、優勝者を発表します!🎊(抽選の様子を動画でご紹介しています。ぜひご覧ください!)

DC AI 懸賞企画の勝者は、日本の開発者コミュニティメンバーである @Akio Hashimoto さんです!おめでとうございます!🎊🎊🎊 

賞品の発送については近日中にご連絡いたします。

@Akio Hashimoto さん、おめでとうございます!!(もしよろしければ・・・、賞品が到着されましたら賞品の写真を投稿いただけるととてもうれしいです!!

そして、参加された皆様、ご参加いただきありがとうございました!次回もありましたら是非またチャレンジしてください!

4 Comments
Discussão (4)1
Entre ou crie uma conta para continuar