Closed tms-gvd closed 1 year ago
Hello, it seems you are correct, this change slipped through but did not work on all platforms. Thankyou for catching it, please pull main and I hope this resolves your issue.
Thanks for the fix. FYI, I have now a new line in the logs, at each step of the helloworld tutorial (running inside a docker container with opengl and no gpu). Yet, I get the expected outputs when generating GT with OpenGL
Blender 3.3.1 (hash b292cfe5a936 built 2022-10-05 00:14:35)
COULD NOT LOAD RichDEM ENGINE! NOTHING WILL WORK!
...
Describe the bug Deprecated numpy types after moving to v1.0.1
Steps to Reproduce
What version of the code were you using? Tell us the output of
git log -n 1
''' commit aa22d4d1d4cb30de12f6aac453e6f49b87b787db (HEAD -> main, origin/main, origin/HEAD) Author: Lahav Lipson llipson@princeton.edu Date: Mon Jul 3 01:22:06 2023 -0400 ... '''What command did you run?
What are your output logs?
Blender quit
Blender 3.3.1 (hash b292cfe5a936 built 2022-10-05 00:14:35) Error: Python: Traceback (most recent call last): File "/opt/infinigen/worldgen/generate.py", line 27, in
from terrain import Terrain
File "/opt/infinigen/worldgen/terrain/init.py", line 7, in
from .core import Terrain
File "/opt/infinigen/worldgen/terrain/core.py", line 16, in
from terrain.scene import scene, transfer_scene_info
File "/opt/infinigen/worldgen/terrain/scene.py", line 10, in
from terrain.elements.landtiles import LandTiles, Volcanos, FloatingIce
File "/opt/infinigen/worldgen/terrain/elements/landtiles.py", line 12, in
from terrain.assets.landtiles import assets_to_data, landtile_asset
File "/opt/infinigen/worldgen/terrain/assets/landtiles/init.py", line 7, in
from .core import assets_to_data, landtile_asset
File "/opt/infinigen/worldgen/terrain/assets/landtiles/core.py", line 15, in
from .ant_landscape import ant_landscape_asset
File "/opt/infinigen/worldgen/terrain/assets/landtiles/ant_landscape.py", line 13, in
from terrain.land_process.snowfall import run_snowfall
File "/opt/infinigen/worldgen/terrain/land_process/snowfall.py", line 11, in
from landlab.components import FlowDirectorSteepest, TransportLengthHillslopeDiffuser
File "/opt/infinigen/blender/3.3/python/lib/python3.10/site-packages/landlab/components/init.py", line 1, in
from .bedrock_landslider import BedrockLandslider
File "/opt/infinigen/blender/3.3/python/lib/python3.10/site-packages/landlab/components/bedrock_landslider/init.py", line 1, in
from .bedrock_landslider import BedrockLandslider
File "/opt/infinigen/blender/3.3/python/lib/python3.10/site-packages/landlab/components/bedrock_landslider/bedrock_landslider.py", line 13, in
from .cfuncs import _landslide_runout
File "landlab/components/bedrock_landslider/cfuncs.pyx", line 5, in init landlab.components.bedrock_landslider.cfuncs
File "/opt/infinigen/blender/3.3/python/lib/python3.10/site-packages/numpy/init.py", line 305, in getattr
raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'int'.
np.int
was a deprecated alias for the builtinint
. To avoid this error in existing code, useint
by itself. Doing this will not modify any behavior and is safe. When replacingnp.int
, you may wish to use e.g.np.int64
ornp.int32
to specify the precision. If you wish to review your current use, check the release note link for additional in formation. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecationsBlender quit