Giter Site home page Giter Site logo

frequent JSONDecodeError's about gbif-dl HOT 3 OPEN

plantnet avatar plantnet commented on May 21, 2024
frequent JSONDecodeError's

from gbif-dl.

Comments (3)

waddington avatar waddington commented on May 21, 2024

That particular query has stopped producing the error now, but the following queries produced the same error at least once:

{'familyKey': [9701], 'offset': 69150, 'pageLimit': 1}
{'familyKey': [9701], 'offset': 47401, 'pageLimit': 1}
{'familyKey': [5307], 'offset': 33851, 'pageLimit': 1}
{'familyKey': [5307], 'offset': 27383, 'pageLimit': 1}
{'speciesKey': [2487879], 'offset': 25808, 'pageLimit': 1}
{'speciesKey': [2487879], 'offset': 6911, 'pageLimit': 1}
{'speciesKey': [2495414], 'offset': 32347, 'pageLimit': 1}
{'speciesKey': [2495414], 'offset': 6470, 'pageLimit': 1}
{'speciesKey': [2495414], 'offset': 46655, 'pageLimit': 1}
{'speciesKey': [2495414], 'offset': 29423, 'pageLimit': 1}
{'familyKey': [9456], 'offset': 86539, 'pageLimit': 1}
{'familyKey': [9456], 'offset': 89060, 'pageLimit': 1}
{'familyKey': [9456], 'offset': 92449, 'pageLimit': 1}
{'familyKey': [9456], 'offset': 79364, 'pageLimit': 1}
{'familyKey': [9701], 'offset': 21715, 'pageLimit': 1}
{'familyKey': [9701], 'offset': 69251, 'pageLimit': 1}
{'familyKey': [9701], 'offset': 72938, 'pageLimit': 1}
{'familyKey': [5307], 'offset': 10217, 'pageLimit': 1}
{'familyKey': [5307], 'offset': 2583, 'pageLimit': 1}
{'familyKey': [5307], 'offset': 35089, 'pageLimit': 1}
{'familyKey': [5307], 'offset': 26944, 'pageLimit': 1}
{'familyKey': [5307], 'offset': 44730, 'pageLimit': 1}
{'speciesKey': [2487879], 'offset': 27540, 'pageLimit': 1}
{'speciesKey': [2487879], 'offset': 25808, 'pageLimit': 1}
{'speciesKey': [2487879], 'offset': 20702, 'pageLimit': 1}
{'speciesKey': [2487879], 'offset': 15509, 'pageLimit': 1}
{'speciesKey': [2487879], 'offset': 19531, 'pageLimit': 1}
{'speciesKey': [2487879], 'offset': 24352, 'pageLimit': 1}
{'speciesKey': [2487879], 'offset': 22307, 'pageLimit': 1}
{'speciesKey': [2487879], 'offset': 7501, 'pageLimit': 1}
{'speciesKey': [2487879], 'offset': 7918, 'pageLimit': 1}
{'speciesKey': [2487879], 'offset': 14137, 'pageLimit': 1}
{'speciesKey': [2495414], 'offset': 5339, 'pageLimit': 1}
{'speciesKey': [2495414], 'offset': 13989, 'pageLimit': 1}
{'speciesKey': [2495414], 'offset': 36507, 'pageLimit': 1}
{'speciesKey': [2495414], 'offset': 31474, 'pageLimit': 1}
{'speciesKey': [2495414], 'offset': 51212, 'pageLimit': 1}
{'speciesKey': [2495414], 'offset': 48009, 'pageLimit': 1}

from gbif-dl.

faroit avatar faroit commented on May 21, 2024

@waddington thanks. I think I found a bunch of errors that I am going to address soon. It may be connected to the maximum amount of threads. Have you tried reducing tcp_connections?

from gbif-dl.

waddington avatar waddington commented on May 21, 2024

@faroit Thanks for the reply. I'm unsure what you mean by tcp_connections here. Is it an parameter that I can set in the generate_urls function call? For reference I use all of these queries individually in their own generate_urls function calls.

from gbif-dl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.