Closed andrepist closed 2 years ago
Would it possible to share your log files?
• COVID19SubjectsAesiIncidenceRate_log.txt
• COVID19SubjectsAesiIncidenceRate_ErrorReportR.txt
• ErrorReportSql.txt (this is typically found a level up)
If you rather not share on GitHub, you can send them to evoss3 (AT) its.jnj.com.
Hi Erica, I attach the files. The ErrorReportSql was not available. Thanks, Andrea Covid19SubjectsAesiIncidenceRate_log.txt Covid19SubjectsAesiIncidenceRate_ErrorReportR.txt
@andrepist - this is very odd to have gotten through creating all the cohorts but bomb on the union step. I'm wondering if something wasn't set properly in the variables needed to run. Do you mind emailing me so we could set up some time to meet? I'd like to see how you are kicking it off. evoss3 (AT) its.jnj.com
I am closing this issue, I think the issue happened because cohortTable was not specified.
cohortTable <- "aesi_cohort"
We are seeing a similar issue at UCSF. However it is hitting the issue at this place in CD: https://github.com/OHDSI/CohortDiagnostics/blob/692c97c54f555f1e2a3e2e851abfc042596cd5d1/R/CohortLevelDiagnostics.R#L91
I've asked them to check the specified variables first.
This has now been resolved
Hi, I'm trying to run the package but the following error is thrown, after instanciating the cohorts:
Thread: Main Message: Error in lapply(list(...), function(x) { : object 'cohortTable' not found Level: FATAL Time: 2022-01-13 10:35:57
Stack trace: 7: logFatal(gsub("\n", " ", geterrmessage())) 6: Main.R#68: (function () { logFatal(gsub("\n", " ", geterrmessage())) if (!is.null(previousErrorHandler)) { eval(previousErrorHa 5: lapply(list(...), function(x) { paste(x, collapse = ",") }) 4: render(sql = parameterizedSql[1], warnOnMissingParameters = warnOnMissingParameters, ...) 3: createCohortsAndRef.R#175: SqlRender::loadRenderTranslateSql(sqlFilename = "CreateCohortTableUnion.sql", packageName = "Covid19SubjectsAesiIncid 2: Main.R#68: createCohortsAndRef(connectionDetails = connectionDetails, cdmDatabaseSchema = cdmDatabaseSchema, cohortDatabaseSchema = cohortDataba 1: Covid19SubjectsAesiIncidenceRate::execute(connectionDetails = connectionDetails, outputFolder = outputFolder, cdmDatabaseSchema = cdmDatabaseSch