esri2sf icon indicating copy to clipboard operation
esri2sf copied to clipboard

Error in R_decompress1

Open bholtdwyer opened this issue 2 years ago • 1 comments

Hi! I'm trying to run a request on a table that I've manually queried before, but esri2df is telling me that it's not a valid URL and then throwing an error.

rezz = esri2df('https://arc.indiawris.gov.in/server/rest/services/SubInfoSysLCC/WaterResourceProject/MapServer/41', objectIds = paste(1:50, collapse = ","))
Error in value[[3L]](cond) : Url is not a valid ESRI Service Url.
Could not access url with {httr}.
In addition: Warning messages:
1: In request_perform(req, hu$handle$handle) :
  restarting interrupted promise evaluation
2: In request_perform(req, hu$handle$handle) :
  internal error -3 in R_decompress1

bholtdwyer avatar Feb 21 '23 08:02 bholtdwyer

Huh. I was not able to replicate this error.

Incidentally, I have a fork for esri2sf that I wholly rebuilt around httr2. The maintainers for this repo haven't had the bandwidth to respond to inquiries about reviewing a pull request so it is pretty much a hard fork at this point just waiting on me finding the time to set up a new repo where folks can submit issues. I've heard there is also a new ESRI-supported R package under development which is likely going to be much faster than either my fork or this original version.

elipousson avatar Mar 16 '23 16:03 elipousson