hannes / MonetDBLite

MonetDB reconfigured as a library
108 stars 11 forks source link

watch censo's new builtin error and create MRE if necessary #166

Closed ajdamico closed 7 years ago

ajdamico commented 7 years ago
2017-06-30 08:19:36 
2017-06-30 08:19:36 
2017-06-30 08:19:36 lodown is now exiting unexpectedly.
2017-06-30 08:19:36 websites that host publicly-downloadable microdata change often and sometimes those changes cause this software to break.
2017-06-30 08:19:36 if the error call stack below appears to be a hiccup in your internet connection, then please verify your connectivity and retry the download.
2017-06-30 08:19:36 otherwise, please open a new issue at `https://github.com/ajdamico/asdfree/issues` with the contents of this error call stack and also the output of your `sessionInfo()`.
2017-06-30 08:19:36 
2017-06-30 08:19:36 
2017-06-30 08:19:36 [[1]]
2017-06-30 08:19:36 source(lodown::syntaxtractor("censo", replacements = machine_specific_replacements, 
2017-06-30 08:19:36     setup_test = "setup"), echo = TRUE)
2017-06-30 08:19:36 
2017-06-30 08:19:36 [[2]]
2017-06-30 08:19:36 withVisible(eval(ei, envir))
2017-06-30 08:19:36 
2017-06-30 08:19:36 [[3]]
2017-06-30 08:19:36 eval(ei, envir)
2017-06-30 08:19:36 
2017-06-30 08:19:36 [[4]]
2017-06-30 08:19:36 eval(ei, envir)
2017-06-30 08:19:36 
2017-06-30 08:19:36 [[5]]
2017-06-30 08:19:36 lodown("censo", output_dir = file.path("e:/eanthony/r-wd/censo-1498827929"))
2017-06-30 08:19:36 
2017-06-30 08:19:36 [[6]]
2017-06-30 08:19:36 withCallingHandlers(catalog <- load_fun(data_name = data_name, 
2017-06-30 08:19:36     catalog, ...), error = function(e) {
2017-06-30 08:19:36     if (grepl("cannot allocate vector of size", e)) 
2017-06-30 08:19:36         message(memory_note)
2017-06-30 08:19:36     else if (grepl("parameter must be specified", e)) 
2017-06-30 08:19:36         message(parameter_note)
2017-06-30 08:19:36     else if (grepl("to install", e)) 
2017-06-30 08:19:36         message(installation_note)
2017-06-30 08:19:36     else {
2017-06-30 08:19:36         message(unknown_error_note)
2017-06-30 08:19:36         print(sys.calls())
2017-06-30 08:19:36     }
2017-06-30 08:19:36 })
2017-06-30 08:19:36 
2017-06-30 08:19:36 [[7]]
2017-06-30 08:19:36 load_fun(data_name = data_name, catalog, ...)
2017-06-30 08:19:36 
2017-06-30 08:19:36 [[8]]
2017-06-30 08:19:36 read_SAScii_monetdb(this_dom, sas_ri = censo_sas(catalog[i, "dom_sas"]), 
2017-06-30 08:19:36     zipped = FALSE, tl = TRUE, tablename = paste0(catalog[i, 
2017-06-30 08:19:36         "db_table_prefix"], "_dom"), connection = db)
2017-06-30 08:19:36 
2017-06-30 08:19:36 [[9]]
2017-06-30 08:19:36 tablename %in% DBI::dbListTables(connection)
2017-06-30 08:19:36 
2017-06-30 08:19:36 [[10]]
2017-06-30 08:19:36 DBI::dbListTables(connection)
2017-06-30 08:19:36 
2017-06-30 08:19:36 [[11]]
2017-06-30 08:19:36 DBI::dbListTables(connection)
2017-06-30 08:19:36 
2017-06-30 08:19:36 [[12]]
2017-06-30 08:19:36 .local(conn, ...)
2017-06-30 08:19:36 
2017-06-30 08:19:36 [[13]]
2017-06-30 08:19:36 quoteIfNeeded(conn, df$tn, warn = F)
2017-06-30 08:19:36 
2017-06-30 08:19:36 [[14]]
2017-06-30 08:19:36 .handleSimpleError(function (e) 
2017-06-30 08:19:36 {
2017-06-30 08:19:36     if (grepl("cannot allocate vector of size", e)) 
2017-06-30 08:19:36         message(memory_note)
2017-06-30 08:19:36     else if (grepl("parameter must be specified", e)) 
2017-06-30 08:19:36         message(parameter_note)
2017-06-30 08:19:36     else if (grepl("to install", e)) 
2017-06-30 08:19:36         message(installation_note)
2017-06-30 08:19:36     else {
2017-06-30 08:19:36         message(unknown_error_note)
2017-06-30 08:19:36         print(sys.calls())
2017-06-30 08:19:36     }
2017-06-30 08:19:36 }, "cannot coerce type 'builtin' to vector of type 'character'", 
2017-06-30 08:19:36     quote(as.character(x)))
2017-06-30 08:19:36 
2017-06-30 08:19:36 [[15]]
2017-06-30 08:19:36 h(simpleError(msg, call))
2017-06-30 08:19:36 
2017-06-30 08:19:36 Error in as.character(x) : 
2017-06-30 08:19:36   cannot coerce type 'builtin' to vector of type 'character'
2017-06-30 08:19:36 Calls: source ... <Anonymous> -> <Anonymous> -> .local -> quoteIfNeeded
2017-06-30 08:19:36 In addition: Warning messages:
2017-06-30 08:19:36 1: In if (!.identC(class(class2Def), "classRepresentation") && isClassUnion(class2Def)) any(c(class1,  :
2017-06-30 08:19:36   closing unused connection 4 (E:\eanthony\r-tmp\censo\RtmpC4N9k4\file49001d194cfc)
2017-06-30 08:19:36 2: In if (!.identC(class(class2Def), "classRepresentation") && isClassUnion(class2Def)) any(c(class1,  :
2017-06-30 08:19:36   closing unused connection 3 (e:/eanthony/r-packages-3.4.0/lodown/extdata/censo/SASinputDom.txt)
2017-06-30 08:19:36 Execution halted
ajdamico commented 7 years ago

green