Posts by nisalsadmin

    Hi Marcel,


    using MYSQL I had no more lock errors, which is great.


    PACS -> CQ1 (clear name) <-> CQ2 (pseudonym) -> CQ3 (research repository) works now.


    Now I only have a last task which may be possible using 1.4.19b:


    PACS -> CQ1 (clear name) <-> CQ2 (pseudonym) -> CQ4 (export)


    I have added a forth instance CQ4 in the research system which should only save series as pseudonym_seriesdesc.zip in a project folder and not keep local dicoms. Can CQ4 have different names/aliases which control the target project folder the series are exported to ?


    Background: I want to be able to move particular sets of series from CQ2 (pseudonym) to a project specific export folder using batch operations on CQ2 while CQ4 is on a machine with also provides a chroot environment for project analysts.


    Thanks again for your great work,


    Julian

    Hi Marcel,


    I found this old thread http://beets.io/blog/sqlite-nightmare.html which may be related.


    Yes, it is 1.4.19b. Also, I noted that by corporate enforcement of SOPHOS antivirus suite, ALL file access is screened by the online scanner, severely slowing database operations.


    Now running it with MYSQL it is slow but so far no errors. I noted in the serverstatus.log that there seem to be up to 4 images processed simultaneously.


    I do not run multiple batches in parallel, no.


    Thanks so far


    Julian

    Hi Marcel,


    the SQLLITE errors occurred with 1.4.19b (see below). I am worried because my batch files definitely do not try to assign the same subject to two different pseudonyms. The database lock problem has been described years ago, with a 1 s wait for each lock error quickly building up to the 5 s time out of SQLLITE, so I don't know if this applies here.


    I am regenerating MAG0 in a new instance using MYSQL INNDB with my.ini set to "huge" and 4 GB RAM allocation and will run my modify batch scripts. Actually there are 3200 batch scripts, for each series separately -> maybe that is a mistake ? Are the new study ids being used for the sereis even if I choose reversible =false ?
    Example:
    f:\dicom\1.4.19b\dgate64.exe "--modifyseries:0012345678,1.3.12.2.1107.5.2.12.21228.30000014081305203421800007465,lua/anonymize_script.lua(zz00)"


    Regards



    Julian


    --- PacsTrouble.log ---
    ...
    20160401 05:01:18 ***Refused to enter inconsistent link PatientID into DICOMStudies: PatientID = 'am02' StudyInsta = '1.2.826.0.1.3680043.2.135.736046.54881188.7.1459461006.87.1', Old='ed63', Refused='am02'
    20160401 05:01:18 ***Error saving to SQL: am02\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459466241.60.77_0004_000335_1459479678ea28.dcm
    20160401 05:01:18 ***Error entering object into server: f:\dicom\1.4.19b\data\0010492141\1.3.12.2.1107.5.2.12.21228.30000014012406284323400008010_0004_000335_14591690118c94.dcm
    20160401 05:01:40 ***SQLITEExec error: database is locked
    20160401 05:01:40 ***Error saving to SQL: ed63\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459466241.60.77_0004_000328_1459479633ea13.dcm
    20160401 05:01:40 ***Error entering object into server: f:\dicom\1.4.19b\data\0010492141\1.3.12.2.1107.5.2.12.21228.30000014012406284323400008010_0004_000328_14591690208fab.dcm
    20160401 05:01:45 ***SQLITEExec error: database is locked
    20160401 05:01:50 ***SQLITEExec error: database is locked
    20160401 05:01:50 ***SQLITEExec error: database is locked
    ...


    --- serverstatus.log ---
    [P140904B] 20160401 05:01:15 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:15 Deleting database entry for image: f:\dicom\1.4.19b\data\0010492141\1.3.12.2.1107.5.2.12.21228.30000014012413450140600000097_0006_000742_145916899286e0.dcm
    [P140904B] 20160401 05:01:15 Modified image: f:\dicom\1.4.19b\data\na26\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459451441.182.19_0004_000544_1459479675ea25.dcm
    [P140904B] 20160401 05:01:15 Deleting file: f:\dicom\1.4.19b\data\0010478126\1.3.12.2.1107.5.2.12.21228.30000015012906232282800008373_0004_000544_14591688165bdb.dcm
    [P140904B] 20160401 05:01:15 ***SQLITEExec error: database is locked
    [P140904B] 20160401 05:01:15 ***Error saving to SQL: am02\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459466241.60.77_0004_000333_1459479606ea0d.dcm
    [P140904B] 20160401 05:01:15 ***Error entering object into server: f:\dicom\1.4.19b\data\0010492141\1.3.12.2.1107.5.2.12.21228.30000014012406284323400008010_0004_000333_14591690118c73.dcm
    [P140904B] 20160401 05:01:16 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:16 Deleting database entry for image: f:\dicom\1.4.19b\data\0010478126\1.3.12.2.1107.5.2.12.21228.30000015012906232282800008373_0004_000545_14591688125af3.dcm
    [P140904B] 20160401 05:01:17 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:17 Deleting database entry for image: f:\dicom\1.4.19b\data\0010492141\1.3.12.2.1107.5.2.12.21228.30000014012406284323400008010_0004_000334_1459169021900f.dcm
    [P140904B] 20160401 05:01:17 ***Refused to enter inconsistent link PatientID into DICOMStudies: PatientID = 'am02' StudyInsta = '1.2.826.0.1.3680043.2.135.736046.54881188.7.1459461006.87.1', Old='ed63', Refused='am02'
    [P140904B] 20160401 05:01:17 ***Error saving to SQL: am02\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459466241.60.77_0004_000334_1459479677ea26.dcm
    [P140904B] 20160401 05:01:17 ***Error entering object into server: f:\dicom\1.4.19b\data\0010492141\1.3.12.2.1107.5.2.12.21228.30000014012406284323400008010_0004_000334_1459169021900f.dcm
    [P140904B] 20160401 05:01:18 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:18 Deleting database entry for image: f:\dicom\1.4.19b\data\0010492141\1.3.12.2.1107.5.2.12.21228.30000014012406284323400008010_0004_000335_14591690118c94.dcm
    [P140904B] 20160401 05:01:18 ***Refused to enter inconsistent link PatientID into DICOMStudies: PatientID = 'am02' StudyInsta = '1.2.826.0.1.3680043.2.135.736046.54881188.7.1459461006.87.1', Old='ed63', Refused='am02'
    [P140904B] 20160401 05:01:18 ***Error saving to SQL: am02\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459466241.60.77_0004_000335_1459479678ea28.dcm
    [P140904B] 20160401 05:01:18 ***Error entering object into server: f:\dicom\1.4.19b\data\0010492141\1.3.12.2.1107.5.2.12.21228.30000014012406284323400008010_0004_000335_14591690118c94.dcm
    [P140904B] 20160401 05:01:18 Modified image: f:\dicom\1.4.19b\data\vg11\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459446889.948.13_0005_000900_1459479669ea21.dcm
    [P140904B] 20160401 05:01:18 Deleting file: f:\dicom\1.4.19b\data\0010472483\1.3.12.2.1107.5.2.12.21228.30000014052105160614000009671_0005_000900_145916879255e3.dcm
    [P140904B] 20160401 05:01:20 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:20 Deleting database entry for image: f:\dicom\1.4.19b\data\0010492141\1.3.12.2.1107.5.2.12.21228.30000014012406284323400008010_0004_000336_14591690219030.dcm
    [P140904B] 20160401 05:01:21 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:21 Deleting database entry for image: f:\dicom\1.4.19b\data\0010472483\1.3.12.2.1107.5.2.12.21228.30000014052105160614000009671_0005_000901_145916878452c7.dcm
    [P140904B] 20160401 05:01:21 Modified image: f:\dicom\1.4.19b\data\vg11\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459446889.948.13_0005_000901_1459479681ea29.dcm
    [P140904B] 20160401 05:01:21 Deleting file: f:\dicom\1.4.19b\data\0010472483\1.3.12.2.1107.5.2.12.21228.30000014052105160614000009671_0005_000901_145916878452c7.dcm
    [P140904B] 20160401 05:01:22 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:22 Deleting database entry for image: f:\dicom\1.4.19b\data\0010472483\1.3.12.2.1107.5.2.12.21228.30000014052105160614000009671_0005_000902_14591687935601.dcm
    [P140904B] 20160401 05:01:22 Modified image: f:\dicom\1.4.19b\data\vg11\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459449035.413.9_0004_000611_1459479682ea2b.dcm
    [P140904B] 20160401 05:01:22 Deleting file: f:\dicom\1.4.19b\data\0010472483\1.3.12.2.1107.5.2.12.21228.30000013112106380340600006397_0004_000611_14591686953673.dcm
    [P140904B] 20160401 05:01:22 Modified image: f:\dicom\1.4.19b\data\lj84\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459472694.135.98_0011_000124_1459479682ea2c.dcm
    [P140904B] 20160401 05:01:22 Deleting file: f:\dicom\1.4.19b\data\0010503141\1.3.12.2.1107.5.2.12.21228.30000014030606231656200013432_0011_000124_1459169212b8e0.dcm
    [P140904B] 20160401 05:01:24 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:24 Deleting database entry for image: f:\dicom\1.4.19b\data\0010472483\1.3.12.2.1107.5.2.12.21228.30000013112106380340600006397_0004_000612_145916866632f8.dcm
    [P140904B] 20160401 05:01:24 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:24 Deleting database entry for image: f:\dicom\1.4.19b\data\0010503141\1.3.12.2.1107.5.2.12.21228.30000014030606231656200013432_0011_000125_1459169211b8b7.dcm
    [P140904B] 20160401 05:01:24 Modified image: f:\dicom\1.4.19b\data\mo54\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459479027.650.22_0008_000015_1459479677ea27.dcm
    [P140904B] 20160401 05:01:24 Deleting file: f:\dicom\1.4.19b\data\0010513860\1.3.12.2.1107.5.2.12.21228.30000013082705164823400005270_0008_000015_1459169252c303.dcm
    [P140904B] 20160401 05:01:25 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:25 Deleting database entry for image: f:\dicom\1.4.19b\data\0010513860\1.3.12.2.1107.5.2.12.21228.30000013082705164823400005270_0008_000016_1459169252c304.dcm
    [P140904B] 20160401 05:01:25 Modified image: f:\dicom\1.4.19b\data\mo54\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459479027.650.22_0008_000016_1459479685ea2e.dcm
    [P140904B] 20160401 05:01:25 Deleting file: f:\dicom\1.4.19b\data\0010513860\1.3.12.2.1107.5.2.12.21228.30000013082705164823400005270_0008_000016_1459169252c304.dcm
    [P140904B] 20160401 05:01:26 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:26 Deleting database entry for image: f:\dicom\1.4.19b\data\0010513860\1.3.12.2.1107.5.2.12.21228.30000013082705164823400005270_0008_000017_1459169252c305.dcm
    [P140904B] 20160401 05:01:27 Modified image: f:\dicom\1.4.19b\data\vg11\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459449035.413.9_0004_000612_1459479687ea31.dcm
    [P140904B] 20160401 05:01:27 Deleting file: f:\dicom\1.4.19b\data\0010472483\1.3.12.2.1107.5.2.12.21228.30000013112106380340600006397_0004_000612_145916866632f8.dcm
    [P140904B] 20160401 05:01:28 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:28 Deleting database entry for image: f:\dicom\1.4.19b\data\0010472483\1.3.12.2.1107.5.2.12.21228.30000013112106380340600006397_0004_000613_14591686963694.dcm
    [P140904B] 20160401 05:01:28 Modified image: f:\dicom\1.4.19b\data\vg11\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459449035.413.9_0004_000613_1459479688ea32.dcm
    [P140904B] 20160401 05:01:28 Deleting file: f:\dicom\1.4.19b\data\0010472483\1.3.12.2.1107.5.2.12.21228.30000013112106380340600006397_0004_000613_14591686963694.dcm
    [P140904B] 20160401 05:01:28 Modified image: f:\dicom\1.4.19b\data\mo54\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459477503.99.65_0006_000070_1459479673ea23.dcm
    [P140904B] 20160401 05:01:28 Deleting file: f:\dicom\1.4.19b\data\0010513860\1.3.12.2.1107.5.2.12.21228.30000013082708253295300000000_0006_000070_1459169258c44c.dcm
    [P140904B] 20160401 05:01:30 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:30 Deleting database entry for image: f:\dicom\1.4.19b\data\0010472483\1.3.12.2.1107.5.2.12.21228.30000013112106380340600006397_0004_000614_14591686673319.dcm
    [P140904B] 20160401 05:01:31 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:31 Deleting database entry for image: f:\dicom\1.4.19b\data\0010513860\1.3.12.2.1107.5.2.12.21228.30000013082708253295300000000_0006_000071_1459169258c44d.dcm
    [P140904B] 20160401 05:01:31 Modified image: f:\dicom\1.4.19b\data\lj84\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459472093.375.18_0005_000122_1459479691ea34.dcm
    [P140904B] 20160401 05:01:31 Deleting file: f:\dicom\1.4.19b\data\0010503141\1.3.12.2.1107.5.2.12.21228.30000014030606231656200009562_0005_000122_1459169109acc5.dcm
    [P140904B] 20160401 05:01:32 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:32 Deleting database entry for image: f:\dicom\1.4.19b\data\0010503141\1.3.12.2.1107.5.2.12.21228.30000014030606231656200009562_0005_000123_1459169109acc6.dcm
    [P140904B] 20160401 05:01:32 Modified image: f:\dicom\1.4.19b\data\lj84\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459472093.375.18_0005_000123_1459479692ea35.dcm
    [P140904B] 20160401 05:01:32 Deleting file: f:\dicom\1.4.19b\data\0010503141\1.3.12.2.1107.5.2.12.21228.30000014030606231656200009562_0005_000123_1459169109acc6.dcm
    [P140904B] 20160401 05:01:33 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:33 Deleting database entry for image: f:\dicom\1.4.19b\data\0010503141\1.3.12.2.1107.5.2.12.21228.30000014030606231656200009562_0005_000124_1459169109acc7.dcm
    [P140904B] 20160401 05:01:33 Modified image: f:\dicom\1.4.19b\data\lj84\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459472093.375.18_0005_000124_1459479693ea37.dcm
    [P140904B] 20160401 05:01:33 Deleting file: f:\dicom\1.4.19b\data\0010503141\1.3.12.2.1107.5.2.12.21228.30000014030606231656200009562_0005_000124_1459169109acc7.dcm
    [P140904B] 20160401 05:01:34 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:34 Deleting database entry for image: f:\dicom\1.4.19b\data\0010503141\1.3.12.2.1107.5.2.12.21228.30000014030606231656200009562_0005_000125_1459169109acc8.dcm
    [P140904B] 20160401 05:01:34 Modified image: f:\dicom\1.4.19b\data\lj84\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459472093.375.18_0005_000125_1459479694ea38.dcm
    [P140904B] 20160401 05:01:34 Deleting file: f:\dicom\1.4.19b\data\0010503141\1.3.12.2.1107.5.2.12.21228.30000014030606231656200009562_0005_000125_1459169109acc8.dcm
    [P140904B] 20160401 05:01:36 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:36 Deleting database entry for image: f:\dicom\1.4.19b\data\0010503141\1.3.12.2.1107.5.2.12.21228.30000014030606231656200009562_0005_000126_1459169109acc9.dcm
    [P140904B] 20160401 05:01:36 Modified image: f:\dicom\1.4.19b\data\lj84\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459472093.375.18_0005_000126_1459479696ea39.dcm
    [P140904B] 20160401 05:01:36 Deleting file: f:\dicom\1.4.19b\data\0010503141\1.3.12.2.1107.5.2.12.21228.30000014030606231656200009562_0005_000126_1459169109acc9.dcm
    [P140904B] 20160401 05:01:37 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:37 Deleting database entry for image: f:\dicom\1.4.19b\data\0010503141\1.3.12.2.1107.5.2.12.21228.30000014030606231656200009562_0005_000127_1459169109acca.dcm
    [P140904B] 20160401 05:01:37 Modified image: f:\dicom\1.4.19b\data\lj84\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459472093.375.18_0005_000127_1459479697ea3b.dcm
    [P140904B] 20160401 05:01:37 Deleting file: f:\dicom\1.4.19b\data\0010503141\1.3.12.2.1107.5.2.12.21228.30000014030606231656200009562_0005_000127_1459169109acca.dcm
    [P140904B] 20160401 05:01:38 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:38 Deleting database entry for image: f:\dicom\1.4.19b\data\0010503141\1.3.12.2.1107.5.2.12.21228.30000014030606231656200009562_0005_000128_1459169109accb.dcm
    [P140904B] 20160401 05:01:38 Modified image: f:\dicom\1.4.19b\data\lj84\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459472093.375.18_0005_000128_1459479698ea3c.dcm
    [P140904B] 20160401 05:01:38 Deleting file: f:\dicom\1.4.19b\data\0010503141\1.3.12.2.1107.5.2.12.21228.30000014030606231656200009562_0005_000128_1459169109accb.dcm
    [P140904B] 20160401 05:01:39 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:39 Deleting database entry for image: f:\dicom\1.4.19b\data\0010503141\1.3.12.2.1107.5.2.12.21228.30000014030606231656200009562_0005_000129_1459169109accc.dcm
    [P140904B] 20160401 05:01:39 Modified image: f:\dicom\1.4.19b\data\lj84\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459472093.375.18_0005_000129_1459479699ea3d.dcm
    [P140904B] 20160401 05:01:39 Deleting file: f:\dicom\1.4.19b\data\0010503141\1.3.12.2.1107.5.2.12.21228.30000014030606231656200009562_0005_000129_1459169109accc.dcm
    [P140904B] 20160401 05:01:40 ***SQLITEExec error: database is locked
    [P140904B] 20160401 05:01:40 ***Error saving to SQL: ed63\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459466241.60.77_0004_000328_1459479633ea13.dcm
    [P140904B] 20160401 05:01:40 ***Error entering object into server: f:\dicom\1.4.19b\data\0010492141\1.3.12.2.1107.5.2.12.21228.30000014012406284323400008010_0004_000328_14591690208fab.dcm
    [P140904B] 20160401 05:01:41 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:41 Deleting database entry for image: f:\dicom\1.4.19b\data\0010503141\1.3.12.2.1107.5.2.12.21228.30000014030606231656200009562_0005_000130_1459169109accd.dcm
    [P140904B] 20160401 05:01:41 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:41 Deleting database entry for image: f:\dicom\1.4.19b\data\0010492141\1.3.12.2.1107.5.2.12.21228.30000014012406284323400008010_0004_000329_14591690309347.dcm
    [P140904B] 20160401 05:01:41 Modified image: f:\dicom\1.4.19b\data\ed63\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459466241.60.77_0004_000329_1459479701ea3e.dcm
    [P140904B] 20160401 05:01:41 Deleting file: f:\dicom\1.4.19b\data\0010492141\1.3.12.2.1107.5.2.12.21228.30000014012406284323400008010_0004_000329_14591690309347.dcm
    [P140904B] 20160401 05:01:43 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:43 Deleting database entry for image: f:\dicom\1.4.19b\data\0010492141\1.3.12.2.1107.5.2.12.21228.30000014012406284323400008010_0004_000330_14591690208fcc.dcm
    [P140904B] 20160401 05:01:43 Modified image: f:\dicom\1.4.19b\data\wh57\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459460394.828.80_0006_000399_1459479703ea40.dcm
    [P140904B] 20160401 05:01:43 Deleting file: f:\dicom\1.4.19b\data\0010482848\1.3.12.2.1107.5.2.12.21228.30000010072205231315600007287_0006_000399_14591689327457.dcm
    [P140904B] 20160401 05:01:44 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:44 Deleting database entry for image: f:\dicom\1.4.19b\data\0010482848\1.3.12.2.1107.5.2.12.21228.30000010072205231315600007287_0006_000400_145916892270dc.dcm
    [P140904B] 20160401 05:01:44 Modified image: f:\dicom\1.4.19b\data\wh57\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459460394.828.80_0006_000400_1459479704ea41.dcm
    [P140904B] 20160401 05:01:44 Deleting file: f:\dicom\1.4.19b\data\0010482848\1.3.12.2.1107.5.2.12.21228.30000010072205231315600007287_0006_000400_145916892270dc.dcm
    [P140904B] 20160401 05:01:44 Modified image: f:\dicom\1.4.19b\data\na26\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459451441.182.19_0004_000545_1459479704ea42.dcm
    [P140904B] 20160401 05:01:44 Deleting file: f:\dicom\1.4.19b\data\0010478126\1.3.12.2.1107.5.2.12.21228.30000015012906232282800008373_0004_000545_14591688125af3.dcm
    [P140904B] 20160401 05:01:45 ***SQLITEExec error: database is locked
    [P140904B] 20160401 05:01:46 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:46 Deleting database entry for image: f:\dicom\1.4.19b\data\0010482848\1.3.12.2.1107.5.2.12.21228.30000010072205231315600007287_0006_000401_14591689327478.dcm
    [P140904B] 20160401 05:01:46 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:46 Deleting database entry for image: f:\dicom\1.4.19b\data\0010478126\1.3.12.2.1107.5.2.12.21228.30000015012906232282800008373_0004_000546_14591688316016.dcm
    [P140904B] 20160401 05:01:46 Modified image: f:\dicom\1.4.19b\data\ck90\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459436750.991.74_0006_001156_1459479692ea36.dcm
    [P140904B] 20160401 05:01:46 Deleting file: f:\dicom\1.4.19b\data\0010450667\1.3.12.2.1107.5.2.12.21228.30000011042812013809300001928_0006_001156_145916838512c4.dcm
    [P140904B] 20160401 05:01:46 Modified image: f:\dicom\1.4.19b\data\na26\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459451441.182.19_0004_000546_1459479706ea44.dcm
    [P140904B] 20160401 05:01:46 Deleting file: f:\dicom\1.4.19b\data\0010478126\1.3.12.2.1107.5.2.12.21228.30000015012906232282800008373_0004_000546_14591688316016.dcm
    [P140904B] 20160401 05:01:46 Modified image: f:\dicom\1.4.19b\data\lj84\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459472093.375.18_0005_000130_1459479706ea45.dcm
    [P140904B] 20160401 05:01:46 Deleting file: f:\dicom\1.4.19b\data\0010503141\1.3.12.2.1107.5.2.12.21228.30000014030606231656200009562_0005_000130_1459169109accd.dcm
    [P140904B] 20160401 05:01:49 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:49 Deleting database entry for image: f:\dicom\1.4.19b\data\0010450667\1.3.12.2.1107.5.2.12.21228.30000011042812013809300001928_0006_001157_14591683951660.dcm
    [P140904B] 20160401 05:01:49 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:49 Deleting database entry for image: f:\dicom\1.4.19b\data\0010478126\1.3.12.2.1107.5.2.12.21228.30000015012906232282800008373_0004_000547_14591688245e72.dcm
    [P140904B] 20160401 05:01:50 Importconverter-1.0 executes: newuids
    [P140904B] 20160401 05:01:50 Deleting database entry for image: f:\dicom\1.4.19b\data\0010503141\1.3.12.2.1107.5.2.12.21228.30000014030606231656200009562_0005_000131_1459169109acce.dcm
    [P140904B] 20160401 05:01:50 Modified image: f:\dicom\1.4.19b\data\ed63\1.2.826.0.1.3680043.2.135.736046.54881188.7.1459466241.60.77_0004_000330_1459479703ea3f.dcm
    [P140904B] 20160401 05:01:50 Deleting file: f:\dicom\1.4.19b\data\0010492141\1.3.12.2.1107.5.2.12.21228.30000014012406284323400008010_0004_000330_14591690208fcc.dcm
    [P140904B] 20160401 05:01:50 ***SQLITEExec error: database is locked
    [P140904B] 20160401 05:01:50 ***SQLITEExec error: database is locked

    Dear Marcel,


    I have used the conquest suite on many different machines for over 10 years now, very successfully, and I cannot thank You enough for all the fantastic work.
    As I got more familiar with conquest I have extended my demands on it in parallel, and now ran into a few issues for which I hope you will be able to recommend a good strategy:


    I have now 400 persons in our research system with 3000-1000 images from 1-3 studies and 7-12 series each; this is expected to increase to 4-5000 persons once we go multicenter.
    1. The series needed for research are automatically retrieved using research database-generated batch files from our hospital PACS (or in the future from our global repository) once a patient has consented to using the series.
    2. In a second step I am using batch files which move the data to a pseudonymization instance, where they are modified using the anonymize_script.lua generating newuids.
    3. In a third step series are sent to the instance in our research system where series are stored and backed up and converted to nifti formatted files for later use in whole brain analyses tools. One batch file handles one command on one series.


    So I have PACS -> CQ1_CLEARNAME -> CQ2_PSEUDO -> CQ3_RESEARCH (CQ1 and CQ2 reside on the same Windows 7 Pro 64 bit machine with 32GB RAM CPU E5 with SSD as System Drive and 4 TB external USB3 HD).


    Everything went well moving the series from CQ1 to CQ2. The Pseudonymization step went well for the initial 1 mio or so then the SQLLITE started throwing errors of not being able to delete images from the database. Rerunning my batch scripts picked up remaining images but allocated different newuids to studies and series so that I now have a huge amount of split studies and series.


    I found the reason why SQLLITE threw the errors, even on a SSD drive above 1 GB SQLLITE in multithread simply was not fast enough to modify the entries because the entries were still locked by the previous step. I have since moved CQ2_PSEUDO to MYSQL with slightly less initial performance which picked up significantly as it went into > 1 mio entries and nicely, so far no errors.


    Now to reduce error sources I would like to change the anonymize_script.lua to a pseudonymize_script.lua which can lookup up patient_id and patient_pseudonym in a list file and still maintain de_pseudonymization capability so any series that is sent to CQ2_PSEUDO using --moveseries/--movestudy/--movepatient gets automatically pseudomyzed correctly by an import filter but can also be retrieved back.


    I just cannot get my head around how to change the scripting to do this in 1.4.19b.


    If you find the time I appreciate Your help,


    Regards


    Julian