medizininformatik-initiative / Projectathon6-miracum1

5 stars 4 forks source link

Error in if (max_bundles < Inf) #15

Closed GeorgFette closed 1 year ago

GeorgFette commented 1 year ago

Hello, I get this error:

2023-02-03 09:12:37 Loading required package: pacman 2023-02-03 09:12:37 [1] "Installation done" 2023-02-03 09:12:38 Error in if (max_bundles < Inf) { : argument is of length zero 2023-02-03 09:12:38 Calls: source ... eval -> fhir_search -> message -> .makeMessage -> lapply 2023-02-03 09:12:38 In addition: Warning messages: 2023-02-03 09:12:38 1: In readLines(con, warn = readLines.warn) : 2023-02-03 09:12:38 incomplete final line found on '/config.yml' 2023-02-03 09:12:38 2: fhir_style() was deprecated in fhircrackr 2.0.0. 2023-02-03 09:12:38 ℹ Please code style elements directly in fhir_table_description(). 2023-02-03 09:12:38 3: The style argument of fhir_table_description() is deprecated as of 2023-02-03 09:12:38 fhircrackr 2.0.0. 2023-02-03 09:12:38 ℹ Please code style elements directly in the table description. Overwriting 2023-02-03 09:12:38 fhir_table_descriptions arguments for now. 2023-02-03 09:12:38 Execution halted

NandhiniS08 commented 1 year ago

Do you have an error files (encounters.xml) generated in the errors folder? What details does it have? I think you are running the code with max_bundles as 50 right ?

GeorgFette commented 1 year ago

No, the errors-folder ist empty. I don't know what further details to provide, what could give more information ? I haven't set any max_bundles parameter. Where can I set that ? In the config.yml or in the docker_compose ?

NandhiniS08 commented 1 year ago

May I ask are you pulling the latest version of the code from git? max_bundles is added as a config paramter (see config_default.yml). The default value is set as 50. For some sites it is expected to be lesser value.

GeorgFette commented 1 year ago

I get the same error again

GeorgFette commented 1 year ago

oh, wait, I copied the wrong config.yml file

GeorgFette commented 1 year ago

now it works, thank you

NandhiniS08 commented 1 year ago

Thats good. Thank you for the quick update. If you happen to get HTTP code 500 while downloading FHIR resources, you can set it to lesser value.