Skip to content

maximum recursion depth exceeded #2

@num3ri

Description

@num3ri

During the execution of your Crawler on my ResearchGate account I got the error

"RuntimeError: maximum recursion depth exceeded while calling a Python object"

I have a few pubblications, but I have links to profiles with over 500 publications and a number of authors higher than 10/12.
I think that this fact is the cause of a large number of recursion and generate the error.

According to the python documentation the maximum number of recursive iterations is equal to 900.
I tried to increase this value inserting the following instructions in file " main.py":

Import sys

and

*def get_options (* args, * kwds):
     # input
     sys.setrecursionlimit (10000)
     # End insertion
     parser = ArgumentParser ()

......."

However, the problem occurs again.

Where did I go wrong ?
How can I correct this?

Tanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions