nptscot / npt

Data processing code, also use this repo for issue tracking for the Network Planning Tool. See https://nptscot.github.io for development version
https://www.npt.scot/
GNU Affero General Public License v3.0
5 stars 0 forks source link

regional build error #475

Closed wangzhao0217 closed 1 month ago

wangzhao0217 commented 1 month ago

Hi @Robinlovelace , I hit the error for Glasgow and Strathclyde ▶ dispatched target rs_commute_ebike ✖ errored target rs_commute_ebike ✖ errored pipeline [11.324 minutes] Warning message: 10 targets produced warnings. Run targets::tar_meta(fields = warnings, complete_only = TRUE) for the messages. Error encountered in region Glasgow and Strathclyde . Error details: Error running targets::tar_make() Error messages: targets::tar_meta(fields = error, complete_only = TRUE) Debugging guide: https://books.ropensci.org/targets/debugging.html How to ask for help: https://books.ropensci.org/targets/help.html Last error message: error reading from connection Last error traceback: get_routes(od = od_commute_subset, plans = "ebike", purpose = "commute",... readRDS(savename_f) .handleSimpleError(function (condition) { state$error <- build_mess... h(simpleError(msg, call)) [1] "Adding Glasgow and Strathclyde to failed_regions"

targets::tar_meta(fields = error, complete_only = TRUE)

A tibble: 1 × 2

name error

1 rs_commute_ebike error reading from connection
Robinlovelace commented 1 month ago

Hi @wangzhao0217 it's due to hardisk being full an not related to the code I think so closing for now.

wangzhao0217 commented 1 month ago

sorry @Robinlovelace , you can tell I have 1 TB left on drive: image but still have this error and only for Glasgow and Strathclyde ✔ skipped target region_names ✖ errored target rs_commute_ebike ✖ errored pipeline [34.723 seconds] Error encountered in region Glasgow and Strathclyde . Error details: Error running targets::tar_make() Error messages: targets::tar_meta(fields = error, complete_only = TRUE) Debugging guide: https://books.ropensci.org/targets/debugging.html How to ask for help: https://books.ropensci.org/targets/help.html Last error message: error reading from connection Last error traceback: get_routes(od = od_commute_subset, plans = "ebike", purpose = "commute",... readRDS(savename_f) .handleSimpleError(function (condition) { state$error <- build_mess... h(simpleError(msg, call)) [1] "Adding Glasgow and Strathclyde to failed_regions"

targets::tar_meta(fields = error, complete_only = TRUE)

A tibble: 1 × 2

name error

1 rs_commute_ebike error reading from connection
Robinlovelace commented 1 month ago

Hi Zhao, no problem. I can see there is an error. However, it's unlikely to be due to code in this repo. I'll test on another machine and happy to re-open if we can reproduce with reference to a bit of code that could be causing it.