Error in --preparebunchforburning (1.4.13/Linux/Postgresql)

  • Essential lines from my config file:


    Code
    CACHEDevices = 1CACHEDevice0 = ./cache/cd%02d_%04d/JUKEBOXDevices = 1JUKEBOXDevice0 = ./jukebox/cd00_%04d/


    1) I run 'dgate -v' then 'dgate -v --selectlruforarchival:15000,MAG0'. Output was as follows:

    Code
    ...Total Size = 12581 KBArchival: 12581 KB will be written for patient: 19288_06Query Tables: DICOMImagesColumns : DicomImages.DeviceName, DicomImages.ObjectFileWhere : DICOMImages.ImagePat = '0009703828' and DICOMImages.DeviceName = 'MAG0.Archiving'Order : (null)./data/HEAD_EXP_00097038/0001_002000_892665661.v2 = 204 KB./data/HEAD_EXP_00097038/0001_003000_892665662.v2 = 204 KBTotal Size = 409 KBArchival: 409 KB will be written for patient: 0009703828Archival: total archive amount: 12990 KB


    2) I run 'dgate -v --preparebunchforburning' and got:

    Code
    ...
    Total Size = 12581 KB
    ***Error getting free store for device ./cache/cd-1075671448_779314537/
    Archival: *** could not find cache drive with enough space (22990 KB)
  • Quote from marcelvanherk

    ...
    Could you please run "dgate -v -d" for me? It shows if the free disk size is correctly calculated.
    Marcel


    Code
    ** MAG DEVICE CHECK
    Free space on MAG Device 0 := 57890 MByte
    Free space on CACHE Device 0 := 0 MByte


    MAGDevice0 points to ./data/

  • Hi,


    it is a linux only problem: The %02d items are not filled in and linux then does not understand the cachedevice string (in windows only the drive letter is used, and that part of the string is dumped). A temporary patch: just return a large number in CheckFreeStoreOnCACHEDevice in device.cpp (line 706) like "return 5000000".


    Marcel

  • Quote from marcelvanherk

    ...
    A temporary patch: just return a large number in CheckFreeStoreOnCACHEDevice in device.cpp (line 706) like "return 5000000".
    ...


    I modified CheckFreeStoreOnCACHEDevice function as follows:



    Thanks for your support, Marcel.

Participate now!

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