Skip to content
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

[v1.7.0][Bug] Fix error with SandyFluid #8382

Closed
jim19930609 opened this issue Oct 24, 2023 · 1 comment
Closed

[v1.7.0][Bug] Fix error with SandyFluid #8382

jim19930609 opened this issue Oct 24, 2023 · 1 comment
Milestone

Comments

@jim19930609
Copy link
Contributor

Reproduce

cd SandyFluid
python3 src/main.py

Log

[Taichi] version 1.7.0, llvm 15.0.4, commit fd46a563, linux, python 3.10.12
[Taichi] Starting on arch=cuda
[W 10/24/23 18:03:45.101 4114418] 
Assign may lose precision: unknown <- i32
39936
/home/taichigraphics/workspace/TaichiRepos/Release/taichi/python/taichi/ui/scene.py:443: DeprecationWarning: Instantiating ti.ui.Scene directly is deprecated, use the get_scene() function from a taichi.ui.Window object instead.
  warnings.warn(
Traceback (most recent call last):
  File "/home/taichigraphics/workspace/TaichiRepos/Release/SandyFluid/src/main.py", line 17, in <module>
    gui = SimulationGUI(sim, output_img=OUTPUT)
  File "/home/taichigraphics/workspace/TaichiRepos/Release/SandyFluid/src/gui.py", line 27, in __init__
    self.camera = ti.ui.make_camera()
AttributeError: module 'taichi.ui.ui' has no attribute 'make_camera'
@jim19930609 jim19930609 added this to the v1.7.0 milestone Oct 24, 2023
@github-project-automation github-project-automation bot moved this to Untriaged in Taichi Lang Oct 24, 2023
@jim19930609
Copy link
Contributor Author

Fixed by #8397

@github-project-automation github-project-automation bot moved this from Untriaged to Done in Taichi Lang Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant