Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to complete queries #39

Open
hoffenbauer opened this issue Sep 19, 2023 · 4 comments
Open

Unable to complete queries #39

hoffenbauer opened this issue Sep 19, 2023 · 4 comments

Comments

@hoffenbauer
Copy link

hoffenbauer commented Sep 19, 2023

When trying to execute queries on BIEN, the following error message is shown:
There was a problem with the query. This is most often due to internet connection issues, but may also be due other factors such as an outdated version of the package.

The error is reproducible in different systems (Windows and Linux), connections (both cable and wireless) and environments (both RStudio and pure R console). Network connection was monitored during the execution and no instabilities or poor connection were detected. The error affects different functions, the following were tested:
BIEN_occurrence_country()
BIEN_occurrence_state()
BIEN_plot_sf()
all of which with different parameters.

The relevant versions are:
RBIEN 1.2.6
R 4.3.1
RStudio 2023.06.2+561 "Mountain Hydrangea"

@hoffenbauer hoffenbauer changed the title Unable to complete querries Unable to complete queries Sep 19, 2023
@bmaitner
Copy link
Owner

When the package returns these errors, are they returned immediately (within a minute or so), or does the function run a long time and then throw the error?

@hoffenbauer
Copy link
Author

They take a long time, hours. As an update, I tested with very small countries, e.g. Monaco, and it works just fine. Maybe it could be a time-out because of the size? Specifically, I'm trying to retrieve occurrence data for Brazil.

@bmaitner
Copy link
Owner

Thanks for the info! I think you're spot on about the time-out error due to size. This normally shouldn't be a problem, but we've recently switched from a physical server to a cloud-based server and the new server seems to be running slower than expected (we're working on trying to figure out why and address this). Are you looking to pull all occurrences from Brazil or just a subset of species/clades?

@hoffenbauer
Copy link
Author

Thanks for the follow-up. I'm trying to get all the occurrences from Brazil.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants