Skip to content

Maximum recursion depth exceeded while calling a Python object #10

@nassermarafi

Description

@nassermarafi

I noticed this error occurring in python 3.7 but not in python 3.6. The error occurs when all the soil layers are added (i.e., when I execute this: "pysra.site.Profile(layers)"). Below is some information on where this error occurs.

File "/home1/04482/marafi/anaconda3/lib/python3.7/site-packages/pysra/site.py", line 833, in init
self.update_layers()
File "/home1/04482/marafi/anaconda3/lib/python3.7/site-packages/pysra/site.py", line 845, in update_layers
for layer in self[start_layer:]:
File "/home1/04482/marafi/anaconda3/lib/python3.7/collections/init.py", line 1096, in getitem
return self.class(self.data[i])
RecursionError: maximum recursion depth exceeded while calling a Python object
self.update_layers()

Let me know if you need more information. If you are unable to recreate this error, try using a large number of soil layers (>100).

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