trouble deleting patient

  • Hi,

    when trying to delete patient I get following in PacsTrouble.log:


    Wed Jun 17 14:13:12 2020 *** lua run error [string "s=newdicomobject();s.PatientID=[[PAT000002]..."]:1: attempt to get length of global 'a' (a nil value) in 's=newdicomobject();s.PatientID=[[PAT000002]];s.StudyInstanceUID="1.2.840.113564.96.69.203.169.25.73.20171219101508958.10010";s.SeriesInstanceUID="";s.SOPInstanceUID="";s.QueryRetrieveLevel="IMAGE";a=dicomquery("CONQUESTSRV1", "IMAGE", s);return #a'


    All I can see wrong is that AE is not CONQUESTSRV1 any more, it is TestServer (working ok)

  • DICOM server 'TestServer' (version 1.5.0a, port 4006, bits 64) was started on Thu Jun 18 10:45:24 2020

    Old JPEG decoder=0, JPEGLIB jpeg codec=1, LIBJASPER jpeg2000 codec=1

    Run time (s) total 0, query 0, load 0, save 0, compress 0, process 0, gpps 0

    Associations=0; Threads=2 (1 open); Images sent=0, recieved=0, forwarded=0

    Images printed=0, in color=0

    Activity: Echo:0, Find:0, Move:0, Unknown:0, gpps:2628

    Images (de)compressed: NKI 0, JPEG 0, JPEG2000 0, RLE 0, Planes removed 0, Palettes removed 0, Downsize 0

    Space on MAG0 : 248986 MByte

    Database type: native MySQL connection




    and when I press delete for a patient:


    *** lua run error listpatients.lua:200: attempt to concatenate local 'n' (a nil value) in 'dofile('listpatients.lua')'

  • this is my dicom.ini


    [sscscp]

    MicroPACS = sscscp


    # Network configuration: server name and TCP/IP port#

    MyACRNema = TestServer

    TCPPort = 4006


    # Host for postgres or mysql only, name, username and password for database

    SQLHost = localhost

    SQLServer = conquest

    Username = xxxxx

    Password = xxxxx

    PostGres = 0

    MySQL = 1

    SQLite = 0

    UseEscapeStringConstants = 0

    DoubleBackSlashToDB = 1


    # Configure server

    ImportExportDragAndDrop = 1

    ZipTime = 05:

    UIDPrefix = 99999.99999

    EnableComputedFields = 1


    FileNameSyntax = 4


    # Configuration of compression for incoming images and archival

    DroppedFileCompression = un

    IncomingCompression = un

    ArchiveCompression = as


    # For debug information

    PACSName = CONQUESTSRV1

    OperatorConsole = 127.0.0.1

    DebugLevel = 0


    # Configuration of disk(s) to store images

    MAGDeviceFullThreshold = 30

    MAGDevices = 1

    MAGDevice0 = /home/r3/Conquest-DICOM-Server/data/

    #MAGDevice0 = /media/dicom_images/


    [lua]

    association = package.path=package.path..';'..Global.basedir..'lua/?.lua'

  • Ah,


    this is from the web interface. I did not get that. This is indeed a bug. The name for the server is hardcoded as 'CONQUESTSRV1' in the listpatients.lua. A short term solution is to add:


    CONQUESTSRV1 127.0.0.1 5678 un


    to acrnema.map, where 5678 should be the actual port. I will add this toi the buglist.



    Marcel

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!