Hi Community,
My IRIS.DAT file is corrupted on one of my Edge productions in the development environment and as a result, I cannot start production.
I would like to recover it if there is a way to do so, please assist.
Regards,
InterSystems IRIS is a Complete Data Platform
InterSystems IRIS gives you everything you need to capture, share, understand, and act upon your organization’s most valuable asset – your data.
As a complete platform, InterSystems IRIS eliminates the need to integrate multiple development technologies. Applications require less code, fewer system resources, and less maintenance.
Hi Community,
My IRIS.DAT file is corrupted on one of my Edge productions in the development environment and as a result, I cannot start production.
I would like to recover it if there is a way to do so, please assist.
Regards,
Date range queries going too slow for you? SQL Performance got you down? I have one weird trick that might just help you out! (SQL Developers hate this!)*
If you have a class that records timestamps when the data is added, then that data will be in sequence with your IDKEY values - that is, TimeStamp1 < TimeStamp2 if and only if ID1 < ID2 for all IDs and TimeStamp values in table - then you can use this knowledge to increase performance for queries against TimeStamp ranges. Consider the following table:
Class User.TSOrder extends %Persistent
{
Property TS as %TimeStamp;
Property Data as %String (MAXLEN=100, MINLEN=200);
Index TSIdx on TS;
Index Extent [type=bitmap, extent];
}This is a demo of the OCR functionality of the pero-ocr library.
It used in the iris application server in python.
This is an example of input data :

This is the result of the OCR :
In this example you have the following information:
TextEquiv tagconf attribute of the TextEquiv tagCoords tag<PcGts xmlns="http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15/pagecontent.xsd">
<Metadata>
<Creator>Pero OCR</Creator>
<Created>2022-12-13T08:47:12.207893+00:00</Created>
<LastChange>2022-12-13T08:47:12.207893+00:00</LastChange>
</Metadata>
<Page imageFilename="/irisdev/app/misc/in/United_States_Declaration_of_Independence.jpg" imageWidth="3923" imageHeight="4656">
<TextRegion id="r004">
<Coords points="977,121 932,121 932,283 1189,277 1178,114 977,121"/>
<TextLine id="r004-l002" index="0" custom="heights_v2:[123.7,39.0]">
<Coords points="932,121 932,283 1189,277 1178,114 1130,118 1100,117 1048,121 1019,121 977,121 932,121"/>
<Baseline points="932,244 977,244 1019,244 1058,244 1100,241 1138,241 1186,238"/>
<TextEquiv conf="1.000">
<Unicode>IN</Unicode>
</TextEquiv>
</TextLine>
</TextRegion>
<TextRegion id="r008">
<Coords points="1461,107 1241,107 1241,287 2116,290 2549,281 2986,287 3211,277 3203,98 2978,107 2552,101 2114,111 1461,107"/>
<TextLine id="r008-l001" index="0" custom="heights_v2:[133.8,45.8]">
<Coords points="1241,107 1241,287 1464,287 1681,284 1896,287 2116,290 2549,281 2986,287 3211,277 3203,98 2978,107 2552,101 2327,107 2114,111 1461,107 1241,107"/>
<Baseline points="1241,241 1463,241 1682,238 1897,241 2116,244 2331,241 2550,235 2765,238 2984,241 3209,231"/>
<TextEquiv conf="0.910">
<Unicode>CONGRESS, JULY 4, 1776.</Unicode>
</TextEquiv>
</TextLine>
</TextRegion>
<TextRegion id="r001">
<Coords points="591,452 208,455 209,611 1723,602 2100,608 2855,595 3617,598 3618,442 2855,439 2098,452 1725,446 591,452"/>
<TextLine id="r001-l003" index="0" custom="heights_v2:[113.8,42.1]">
<Coords points="208,455 209,611 592,608 968,605 1218,605 1723,602 2100,608 2855,595 3231,595 3617,598 3618,442 2855,439 2477,446 2098,452 1725,446 1346,449 1159,449 591,452 208,455"/>
<Baseline points="209,569 592,566 968,563 1347,563 1723,559 2100,566 2479,559 2855,553 3231,553 3617,556"/>
<TextEquiv conf="0.289">
<Unicode>Dhe unaniwons Declaratton of te Heten maiss States of TNmerica</Unicode>
</TextEquiv>
</TextLine>
</TextRegion>
<TextRegion id="r000">
<Coords points="161,3474 161,3539 423,3539 633,3536 958,3468 1354,3472 1764,3581 1944,3571 2246,3730 2653,3718 2718,3633 2855,3608 3238,3557 3514,3554 3739,3462 3762,3397 3761,3333 3735,3139 3743,2696 3730,2177 3735,1920 3723,1727 3736,1341 3717,1014 3724,943 3719,818 3697,693 1012,712 795,776 421,776 183,786 173,848 168,1032 173,2392 160,2713 161,3474"/>
<TextLine id="r000-l004" index="0" custom="heights_v2:[40.2,18.4]">
<Coords points="2796,699 2501,703 2205,706 1909,709 1611,709 1460,709 1012,712 1013,771 1315,768 1611,768 1910,768 2206,764 2502,761 2800,758 3096,758 3392,755 3698,752 3697,693 3392,696 3096,699 2802,699 2796,699"/>
<Baseline points="1013,752 1315,749 1611,749 1910,749 2206,746 2501,743 2800,739 3096,739 3392,736 3697,733"/>
<TextEquiv conf="0.281">
<Unicode>hen n lí loune z human venl, i kemu nematy k mpeopě toíohohhehttcal bandí uhích have connechdí tem vith ancthet, andíl</Unicode>
</TextEquiv>
</TextLine>
<TextLine id="r000-l005" index="1" custom="heights_v2:[40.4,19.2]">
<Coords points="421,776 421,836 794,836 1157,839 1521,839 1884,836 2244,833 2608,829 2971,826 3335,823 3704,813 3703,754 3333,763 2970,767 2607,770 2244,773 1884,776 1520,779 1157,779 795,776 421,776"/>
<Baseline points="421,817 794,817 1157,820 1521,820 1884,817 2244,813 2608,810 2971,807 3334,804 3704,794"/>
<TextEquiv conf="0.211">
<Unicode>o hi ſhwes f he eail, fie rehatal andequal flohon & ufch lhe laav . kalut and Aloil ped entilt ttem, a dant rafech to the ofunin o manknd tequies fhat thep</Unicode>
</TextEquiv>
</TextLine>
<!-- Truncated for readme-->
<TextLine id="r019-l105" index="9" custom="heights_v2:[47.5,21.7]">
<Coords points="3209,4269 3214,4336 3257,4333 3296,4333 3332,4333 3373,4337 3411,4337 3452,4336 3488,4333 3527,4333 3575,4333 3575,4264 3527,4264 3488,4264 3446,4267 3411,4267 3373,4267 3338,4264 3296,4264 3257,4264 3209,4267 3209,4269"/>
<Baseline points="3212,4315 3257,4312 3296,4312 3334,4312 3373,4315 3411,4315 3450,4315 3488,4312 3527,4312 3575,4312"/>
<TextEquiv conf="0.283">
<Unicode>imuiaa</Unicode>
</TextEquiv>
</TextLine>
<TextLine id="r019-l108" index="10" custom="heights_v2:[40.9,20.2]">
<Coords points="3198,4406 3251,4409 3294,4409 3339,4412 3394,4415 3398,4354 3343,4351 3298,4348 3251,4348 3202,4345 3198,4406"/>
<Baseline points="3199,4386 3251,4389 3296,4389 3341,4392 3395,4395"/>
<TextEquiv conf="0.370">
<Unicode>Qlver</Unicode>
</TextEquiv>
</TextLine>
<TextLine id="r019-l114" index="11" custom="heights_v2:[39.2,19.1]">
<Coords points="3181,4469 3225,4466 3263,4466 3305,4466 3327,4466 3352,4465 3386,4462 3424,4462 3472,4462 3472,4404 3424,4404 3386,4404 3341,4407 3305,4407 3263,4407 3225,4407 3177,4411 3181,4469"/>
<Baseline points="3180,4450 3225,4447 3263,4447 3305,4447 3344,4447 3386,4443 3424,4443 3472,4443"/>
<TextEquiv conf="0.312">
<Unicode>Vbalřew/</Unicode>
</TextEquiv>
</TextLine>
</TextRegion>
<TextRegion id="r020">
<Coords points="3685,4399 3607,4399 3607,4465 3685,4465 3685,4399"/>
<TextLine id="r020-l112" index="0" custom="heights_v2:[44.3,21.4]">
<Coords points="3607,4399 3607,4465 3685,4465 3685,4399 3607,4399"/>
<Baseline points="3607,4443 3685,4443"/>
<TextEquiv conf="0.486">
<Unicode>17.</Unicode>
</TextEquiv>
</TextLine>
</TextRegion>
</Page>
</PcGts>
Is there a way I can call %Save() on a %Persistent object and at the same time prevent indices from being built?
I've disabled TLS v1.0 and 1.1 within Healthshare setting, but still seeing these error messages when running a security scan. We do have apache being used. What else can I try?
Error messages:
| The remote host supports the use of SSL ciphers that offer medium strength encryption. Nessus regards medium strength as any encryption that uses key lengths at least 64 bits and less than 112 bits, or else that uses the 3DES encryption suite. Note that it is considerably easier to circumvent medium strength encryption if the attacker is on the same physical network. |
Has anybody ever enabled the standard CSP login page for a web application with REST dispatch class? Any ideas how to do this?
(Context: I'm using %CSP.REST with other stuff behind it, not actually a REST API.)
Hey guys!!!
I finally got some time to organize a set of classes that I've been using for a few years to make it easier and kill the repetitive work of developing intragrations using XDBC.
Access the project repository at https://github.com/cristianojs/interopway
I've already registered on the Open Exchange. I'm wait for approval.
The idea is to increase the project with more components, I already have one that the "dough is rising and is already going to the oven".
Any questions post here.
Big hug.
Hi Developers,
Enjoy watching the new video on InterSystems Developers YouTube:
Hello,
Hi
Just looking to tighten up a new application
As an example, the application may have a path such as;
Omniata.au/csp/SomeApp/ListIndex.csp
on a Windows server in the path of ;
C:\InterSystems\IRIS\CSP\SomeApp
and display images from a path such as;
C:\InterSystems\IRIS\CSP\SomeApp\images\Pic1.jpg
If a user wishes to browse through the website, they could point their browser at the path ;
Omniata.au/csp/SomeApp/images
and guesses some file names, they could view the images
If I do something similar on commercial web sites, I get an error that I'm not authorised to view, I get .
Hello, good afternoon! (or good morning or good evening)
I was doing some very basic tests, based on the documentation, using Python in Studio.
I decided to call a python method through the Studio's own terminal as a demonstration, but the result was different from the terminal result:
Code:
Class// Write ##class(User.EmbeddedPython).Test()/// DescriptionYesterday I downloaded and attempted to install the newest version of the Community Edition of IRIS but not the preview, and attempted to update an older version, but each time I tried to install it, I would get an error, and then an antivirus program would indicate that it had identified and blocked a threat (McAfee identified it as GenericRXAA-FA!EAEEF9B8457F with a location of C:\Users\jivey\AppData\Local\Temp\pbt3FDD840C\IRIS_x64.msi). I tried the installation again this morning and this time a threat was identified by Malwarebytes as Malware.AI.
%%iris magic for IPython, can run ObjectScript command in Notebooks
It can be run in any Notebook and does not require any special setup on IRIS or the Notebook.

While you don't need to take your exam before the end of 2022, the vouchers provided to the UK&I Summit 2022 must be redeemed before January 1, 2023. Please register for an exam before time runs out.
You can find additional information about the InterSystems Certification Program here.
Hello,
I tested the query on the Config.ConfigFile table of the Namespace %SYS, it returned 3 lines and a fatal error:
SELECTFROM.png)
I tested the same query on other IRIS instances (including a 2021.1 instance) and got the same error.
Is it a bug in IRIS or is there something wrong with the installations?
Anyone who can test and leave in the answers if they got the same result, I would be grateful.
Thank you for your attention.
Hi,
I know json does not impose any order, but for readability I would like to insert a json property at a specific location at the start of a %DynamicObject, not at the end.
Is there a known way to do that (other than string manipulation)?
Hi! 've installed a fresh IRIS on Windows 10: "InterSystems IRIS Version 2022.2.0.368 xDBC Protocol Version 65"
I've tried to create an older demo database that I've build some days ago... it didn't work anymore :-(
If I execute this SQL:
LOADDATA
Hey Developers,
Enjoy watching the new video on InterSystems Developers YouTube:
I initialize a HS.SDA3.Container from a XML stream and I need to iterate over it twice. What is a correct way of doing it? Is it enough to adjust StreamPos/StreamOref?
The optimal solution would be to use one loop, but it's not possible to combine the processing logic.
set##class%NewHi Friends ,
I have created inbound DB adapter business service. Now my requirement to trigger this service at 10am daily.
I used scheduler , but I don't know when should i configure for stop. this not suits for my requirement.
Is there any other way , where I need to trigger service only once , in configured times.
Thanks,
Prashanth
So, the next year will bring us a new way of installing IRIS. Always keep in mind that you have to bring your own web server. No matter how many instances of IRIS you have on your local machine. Or if you work in Docker, always keep in mind a bit more complicated configuration.
And I now want to understand the costs of this decision for end-developers like most of here.
Let's have a look, at what we got out of the box in Web Applications, obviously do not forget about System Management Portal.
.png)
A good writer is supposed to draw you in with the title and bury the answer somewhere in the article. I suppose this makes me a bad writer – don’t think less of me, my whole feeling of self-worth comes from the opinions of internet strangers!
IAM 3.0 Release
InterSystems API Manager (IAM) version 3.0.2 is now Generally Available. IAM 3.
If you would like to try the new installation process for the NoPWS project, you can get access to the Early Access Program (EAP) here. (https://evaluation.intersystems.com/Eval/)
Once you have registered, please send InterSystems the email address you used to register for the EAP to nopws@intersystems.com.
Look here for background: Original Post
Hello everybody,
In the documentation I read the following:
Alerts are messages generated by production components. InterSystems IRIS automatically writes the alerts to a log file and sends then to the production component named Ens.Alert. If your production does not have a component named Ens.Alert, then InterSystems IRIS writes alerts to the log file but does not send them to any component. The component named Ens.Alert can be of any class. The most frequently used classes for Ens.Alert are:
I am not able to find the log file where the alerts are stored.
I have table
CREATE TABLE nodes (
name VARCHAR(50) NOT NULL,
parent VARCHAR(50),
PRIMARY KEY (name),
FOREIGN KEY(parent) REFERENCES nodes (name) ON UPDATE cascade
);
I put some data
INSERT INTO nodes (name, parent) VALUES ('n1', NULL);
INSERT INTO nodes (name, parent) VALUES ('n11', 'n1');
INSERT INTO nodes (name, parent) VALUES ('n12', 'n1');
INSERT INTO nodes (name, parent) VALUES ('n13', 'n1');
Let's delete all
DELETE FROM nodes;Nope, no way.
SQL Error [124] [S1000]: [SQLCODE: <-124>:<FOREIGN KEY constraint failed referential check upon DELETE of row in referenced table>] [Location: <ServerLoop>] [%msg: <At least 1 Row exists in table 'SQLUser.nodes' which references key 'NODESPKey2' - Foreign Key Constraint 'NODESFKey3', Field(s) 'parent' failed on referential action of NO ACTION>]
Hey Community,
Join this session to learn more about security-related topics, starting with the change to the OpenSSL libraries and the general distribution of third-party libraries with InterSystems products (e.g., Web Server):
Hi Community,
Let's meet virtually at our Third Community Roundtable! This will be a 60-min discussion on a given topic: Developing with Python.
Register through >> this Global Masters challenge <<
UPDATE: the roundtable recording is available here.
Hi Community,
Watch this video to get an introduction to data types in InterSystems ObjectScript, and see how to use three common data types: strings, lists, and objects:
Some time ago GitHub, has announced the new feature, GitHub Codespaces. It gives an ability to run VSCode in the browser, with almost the same power as it would run locally on your machine, but also with a power of clouds, so, you are able to choose the machine type with up to 32 CPU cores and 64 GB of RAM.
.png)
Looks impressive, is not it? But how it could help us, to work with projects driven by InterSystems IRIS? Let's have a look, how to configure it for us.