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

Transpiler output functionality #350

Open
abolfazl-sh opened this issue Oct 10, 2024 · 1 comment
Open

Transpiler output functionality #350

abolfazl-sh opened this issue Oct 10, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@abolfazl-sh
Copy link

Describe the bug

I get some procedural assets from blenderkit.com and I just tried to use the transpiler_dev_script.py to generated python code of the these assets. In most cases, the generated script dose not work at all (for example this one : https://www.blenderkit.com/get-blenderkit/de2a7bf5-98ff-4f58-8892-659ecc5ad3d9/), sometime the generated code body is empty (you can find an example here: https://www.blenderkit.com/get-blenderkit/17b47e98-a078-4655-88e4-71d53232b539/), and in few cases it works like a charm (https://www.blenderkit.com/get-blenderkit/e0ac6738-85e9-462f-b61b-675bf56d9db2/).

Do have any idea what is happening, and what is wrong with my examples?

What version of the code were you using?

Date:   Mon Sep 23 16:24:55 2024 -0400

    add config to disable landlab

commit f033891e1405bb8cdd021dae3753b98003de4bc3
Author: Alexander Raistrick <araistrick@princeton.edu>
Date:   Sun Sep 22 12:23:48 2024 -0400

    Fix misleading CPU-only warning message (#325), remove screen from example commands

commit b3ab846052eec7139d1e95f97890d06a2d74ac44
Author: Alexander Raistrick <araistrick@princeton.edu>
Date:   Sat Sep 21 17:04:20 2024 -0400

    Add more specific error message for trycatch landlab ImportError

What are your FULL output logs?

No error reported(the it logs everything run)

Platform

  • OS & OS Version: mac os Sonoma 14.5
  • GPU (?) : M1
  • GPU Driver Version (?) : -
  • RAM (GB): 8 Gig

Thanks in advance

@abolfazl-sh abolfazl-sh added the bug Something isn't working label Oct 10, 2024
@araistrick
Copy link
Contributor

Could you provide the output logs for each case? I believe the transpiler should say at least what nodegroups and functions it is attempting to tackle. If the codebody is empty that would indicate to me it is somehow just not finding any targets to transpile.

I will not dive into downloading and debugging these particular blend files, but if you can provide more details from your executions of the transpiler on these examples then I may be able to advise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants