-
Notifications
You must be signed in to change notification settings - Fork 2
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
AttributeError in livestock #40
Comments
Could the error be possibly due to pyshp being version 2.x instead 1.x? File "H:\Anaconda\envs\livestock_env\lib\site-packages\livestock\hydrology.py", line 606, in run_model |
Hi @HerrHansDampf |
Hi @ocni-dtu , |
@Martin-TUM it says in the traceback that the area of the cell is less than 0. Can you check that your geometry is correct? |
I unfortunately doesn't have the environment anymore. |
I checked the geometry and it is a valid .obj file with all geometry included. Downgrading CMF to 1.1.1 (or lower) results in the following error: Traceback (most recent call last): |
I installed livestock and anaconda according to the following tutorial https://kongsgaard.eu/install-livestock.html. However, I cannot get the example files to work as I get the following error.
from livestock.hydrology import run_model
File "H:\Anaconda\envs\livestock_env\lib\site-packages\livestock\hydrology.py", line 22, in
from livestock import geometry as lg
File "H:\Anaconda\envs\livestock_env\lib\site-packages\livestock\geometry.py", line 261, in
-> shapefile._Shape:
AttributeError: module 'shapefile' has no attribute '_Shape'
The text was updated successfully, but these errors were encountered: