We’ve had a couple similar reports recently - I think it’s due to some incompatibility between ParallelLogger and running R in a notebook. See:
opened 10:13AM - 02 Jul 23 UTC
closed 01:55PM - 04 Jul 23 UTC
I encountered an error while using the executeDqChecks function from the DataQua… lityDashboard package. When I called the function, the following error (with traceback) occurred:
```
Error in globalCallingHandlers(condition = conditionHandler) :
should not be called with handlers on the stack
5.
globalCallingHandlers(condition = conditionHandler)
4.
registerDefaultHandlers()
3.
getLoggerSettings()
2.
ParallelLogger::registerLogger(logger = logger)
1.
DataQualityDashboard::executeDqChecks(connectionDetails, cdmDatabaseSchema = "main",
resultsDatabaseSchema = "quality_checks", cdmSourceName = "Synthea synthetic health database",
outputFolder = "qc_results", cdmVersion = "5.3", sqlOnly = TRUE,
sqlOnlyIncrementalInsert = TRUE)
```
I am using:
R version 4.3.1 (2023-06-16 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)
DatabaseConnector_6.2.3
Hello, Guys.
We are applying DataQualityDashboard for omop CDM 5.4 data. The DatabaseConnector works fine to connect Snowflake by using the JDBC driver V3.13.22 and can run querySql to display the data.
But when I run DataQualityDashboard::executeDqChecks, it shows
‘Connecting using Snowflake driverError in globalCallingHandlers(condition = conditionHandler) :
should not be called with handlers on the stack’
Can someone help with the error? Thanks
@schuemie these errors all seem to be getting thrown at this line when people try to run DQD in a notebook/markdown cell - is this a known thing with ParallelLogger / any way we can work around this?