go to post Dmitry Maslennikov · Aug 1, 2019 $SYSTEM.Util.Decompress() and $SYSTEM.Util.Compress() can help you to decompress and compress any data from/to gzip just from string
go to post Dmitry Maslennikov · Aug 1, 2019 That's strange, then. Maybe, somebody from InterSystems, can say, what's wrong.
go to post Dmitry Maslennikov · Aug 1, 2019 How many files did you try to sync?Could you try to sync less files?
go to post Dmitry Maslennikov · Aug 1, 2019 As you getting <STORE> error, it is related to the process's memory. So, I think you can solve it easily by increasing the value of maximum memory per process.It should be by default 256Mb, but, maybe you have too much CSP files. Just temporarily increase maximum memory per process may solve the issue.
go to post Dmitry Maslennikov · Jul 26, 2019 You can use any newest version of Studio with older versions of Caché. Or you can even use Studio for IRIS, which now you can download and install separately.The other way I would recommend is to migrate to VSCode ObjectScript. You can contact me directly so, I can help you with this process.
go to post Dmitry Maslennikov · Jul 23, 2019 You just have to enable Ensemble in the installer <Namespace Name="${NAMESPACE}" Code="${DBNAME}-CODE" Data="${DBNAME}-DATA" Create="yes" Ensemble="1">
go to post Dmitry Maslennikov · Jul 22, 2019 I think it would be good to add screenshot like this, to show how to configure memory limits in macOS. In Windows should be quite similar I think.
go to post Dmitry Maslennikov · Jul 17, 2019 Did you try to set it as is?There is no way to get duplication as you describe. You can check If there is already the same value with $DATA function. Write $Data(^Data("Athens"))
go to post Dmitry Maslennikov · Jul 8, 2019 you can delete all .DS_Store folders and repeat install. This command will delete these folders, which not supposed to be there. find /Users/Downloads/cache-2018.1.2.309.0su-macx64/ -name '.DS_Store' -delete There are some reasons why you have those folders, but it is safe to just delete them.
go to post Dmitry Maslennikov · Jul 4, 2019 Good to hear that you solved it. Unfortunately, development workflow guide is on the way, yet. But I'm going to do it this month.First of all, any logging related to this extension goes to Output ObjectScript, so, you maybe can find there errors, or compile log.Actually, it should compile class and notify about success or errors, just after change and save any class/routine.Import and compile from explorer, good to use when you have changed many files in the sources folder, by Source Control System for example.You can also trigger compile from command pallete and with a shortcut Cmd +F7/ Cmd + F7
go to post Dmitry Maslennikov · Jul 4, 2019 Could you please create a new issue here. I'll try to help to solve it. I don't have AIX system, but not sure if it could be a problem.If you see something unexpected, you can try to look at Output for ObjectScript and just main Log, maybe some errors there, which may help to diagnose.
go to post Dmitry Maslennikov · Jul 1, 2019 I would not agree with the way of using "in-memory global" instead for logging. It would be easier to have one ClassMethod Log, which would log everything needed to be logged, it can do it with objects, which would have indexes for future usage, to get faster access. But it can temporarily switch off journalling at all, or just suspend the transaction. In any normal application, any logging should already be centralized. So, it would not add any complexity for an application. But in some cases quite difficult to debug some issues, when you lost some logging because they were rollbacked.
go to post Dmitry Maslennikov · Jul 1, 2019 Atom, yes, forgot to add it in the poll.VSCode can do a lot already, not yet as powerful as Studio in some cases, but has some other features which do not has Studio.And compile of course one of the first features which was implemented there.
go to post Dmitry Maslennikov · Jul 1, 2019 So, you don't see your exported file by the path logged in Output, looks quite strange? Could you report this issue?
go to post Dmitry Maslennikov · Jul 1, 2019 Yes, it should save it locally, if you opened VSCode with folder, so, it should be in src. And it is configurable. You should be able to find log in the Output view, where you have to select ObjectScript in drop-down. Compile logs, you will find there too.
go to post Dmitry Maslennikov · Jul 1, 2019 David, thanks for the feedback.Nothing wrong, explorer does not support editing, and opens files in read-only. You should export it to have local copy, and you'll be able to edit and compile.But, with the next release I already have editing mode, so your way would work. But this way anyway not recommended.
go to post Dmitry Maslennikov · Jun 27, 2019 CSP Gateway has backward compatibility with older versions, but it can have unexpected behavior with newer versions. So, it's recommended to use oldest version, even possible to use version newer.Versions interoperability table
go to post Dmitry Maslennikov · Jun 25, 2019 Yes, it is, but in this case, it exceeded connections limit for one license unit and it is even just only 4 in comparing with 25 for ordinary versions.And I think this message in the log should be changed to be more clear. Another issue, here USER> Write $SYSTEM.License.MaxConnections() 25 25 connections for ordinary version, but Community Edition, has only 4 connections and fails to start more. And another problem is that reaching connections limit for just one user, changes state of the instance as with warn root@d5eaa844235c:/# iris list Configuration 'IRIS' (default) directory: /usr/irissys versionid: 2019.2.0.107.0com datadir: /dur/config conf file: iris.cpf (SuperServer port = 51773, WebServer = 52773) status: running, since Tue Jun 25 13:00:11 2019 state: warn product: InterSystems IRIS And this state used for HEALTHCHECK of the container, so, this container became as Unhealthy, which means in production such container should be killed, even it is actually in good condition. $ docker-compose ps Name Command State --------------------------------------------------------------- jdbc-jpa-rest_iris_1 /iris-main Up (unhealthy)
go to post Dmitry Maslennikov · Jun 25, 2019 so, my application.propertiesin this case, I have only 4 connections on the server, without any issues with licenses spring.datasource.driverClassName = com.intersystems.jdbc.IRISDriver spring.datasource.url = jdbc:IRIS://127.0.0.1:9091/USER spring.datasource.username = _SYSTEM spring.datasource.password = 1234 spring.datasource.testOnBorrow = true spring.datasource.testWhileIdle = true spring.datasource.timeBetweenEvictionRunsMillis = 60000 spring.datasource.minEvictableIdleTimeMillis = 30000 spring.datasource.validationQuery = SELECT 1 spring.datasource.max-wait = 8000 spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.InterSystemsIRISDialect spring.jpa.hibernate.ddl-auto = create spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults=false = false spring.datasource.hikari.maximumPoolSize = 4