go to post Evgeny Shvarov · Oct 21, 2022 @John Murray , when I restarted the container it worked. The solution is to install the extension into the devcontainer.
go to post Evgeny Shvarov · Oct 21, 2022 75! I'm so surprised by how many bright ideas community kept in secret that were revealed now! Thanks, Ideas Portal team @Anastasia Dyubaylo @Vadim Aniskin and @Raj Singh for running the idea-a-thon! It looks like the next step is the implementation marathon ;)
go to post Evgeny Shvarov · Oct 21, 2022 Thanks for sharing the snippet, @Stephen Canzano ! @John Murray , @Dmitry Maslennikov , @Brett Saviano - do we have an idea how we could collect such snippets to be chosen and described? An additional repo? A tag? I know that there was the idea-a-thon with the idea amongst the winning contributions, but what will we do?
go to post Evgeny Shvarov · Oct 21, 2022 It does, but if you are talking about the ObjectScript extension it hangs for me.
go to post Evgeny Shvarov · Oct 21, 2022 Thanks, @Danny Wijnschenk ! Yes, but what if I already have it?
go to post Evgeny Shvarov · Oct 21, 2022 Cool stuff! Is it possible to export production elements to files with the plugin?
go to post Evgeny Shvarov · Oct 21, 2022 That’s a bit confusing with “%” method names like %New() and %Save() that are supposed to called as _New() and _Save() via python , but makes sense. Thank you @Jolyon Smith!
go to post Evgeny Shvarov · Oct 21, 2022 I think docker is ideal for upgrading - just change the line of the docker image or just use the latest. It may not be the case for production, but for development, docker is a no-brainer IMHO.
go to post Evgeny Shvarov · Oct 21, 2022 Thank you, @Bob Kuszewski ! Indeed it's there, but was not obvious for me for some reason :)
go to post Evgeny Shvarov · Oct 21, 2022 After turning ann CallIns and providing env variables it worked! There are a few more, the whole set: ## Embedded Python environment ENV IRISUSERNAME "_SYSTEM" ENV IRISPASSWORD "SYS" ENV IRISNAMESPACE "USER" ENV PYTHON_PATH=/usr/irissys/bin/ ENV PATH "/usr/irissys/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/irisowner/bin" @Guillaume Rongier , correct me if I'm wrong (tooked from your code). We need a oneliner or zpm to start callins ) It becomes important!
go to post Evgeny Shvarov · Oct 21, 2022 Thank you, @Guillaume Rongier ! Do we have this very valuable info in Documentation? Couldn't find it from scratch.
go to post Evgeny Shvarov · Oct 21, 2022 So, every time I need to use embedded python with IRIS I need to turn CallIn on?
go to post Evgeny Shvarov · Oct 20, 2022 @Guillaume Rongier , just curious, why do you need CallIn service enabled?
go to post Evgeny Shvarov · Oct 17, 2022 I'm getting 403 when I do a Post request on localhost:5000/persons/. What am I doing wrong?
go to post Evgeny Shvarov · Oct 16, 2022 Hi @Daniel Aguilar ! Do you want to publish your repo on Open Exchange?
go to post Evgeny Shvarov · Oct 15, 2022 There were a good article on the topic a few years ago by @Olga Phomina
go to post Evgeny Shvarov · Oct 15, 2022 Docker gives you the freedom of IRIS version during development: you can switch to ANY IRIS version just by changing one line code in a Dockerfile. E.g. here the lowest before FROM $IMAGE is the one that will be used to work with your solution: ARG IMAGE=intersystemsdc/irishealth-community:2020.3.0.200.0-zpm ARG IMAGE=intersystemsdc/iris-community:2020.4.0.547.0-zpm ARG IMAGE=containers.intersystems.com/intersystems/iris:2021.1.0.215.0 ARG IMAGE=intersystemsdc/iris-community ARG IMAGE=intersystemsdc/irishealth-community FROM $IMAGE