NVIDIA-Omniverse / kit-extension-sample-airoomgenerator

A tool used to create 3D content for rooms by calling OpenAI's API
Apache License 2.0
150 stars 55 forks source link

using AIroomgenerator fail to generate objects #4

Open jakoaltrd opened 1 year ago

jakoaltrd commented 1 year ago

I use the extension but it threw some errors in the console: https://global.discourse-cdn.com/nvidia/optimized/3X/e/d/ed344a9dd8da4f0f90ee0497eec833b3d13203c0_2_1380x604.jpeg

jakoaltrd commented 1 year ago

error: 2023-04-14 15:04:29 [Error] [omni.ui.python] ArgumentError: Python argument types in 2023-04-14 15:04:29 [Error] [omni.ui.python] None.GetPrimAtPath(Stage, NoneType) 2023-04-14 15:04:29 [Error] [omni.ui.python] did not match C++ signature: 2023-04-14 15:04:29 [Error] [omni.ui.python] GetPrimAtPath(class pxrInternal_v0_20pxrReserved::UsdStage {lvalue}, class pxrInternal_v0_20pxrReserved::SdfPath path) 2023-04-14 15:04:29 [Error] [omni.ui.python] 2023-04-14 15:04:29 [Error] [omni.ui.python] At: 2023-04-14 15:04:29 [Error] [omni.ui.python] d:\omniverse\kit-extension-sample-airoomgenerator-main\kit-extension-sample-airoomgenerator-main\exts\omni.example.airoomgenerator\omni\example\airoomgenerator\window.py(212): get_prim 2023-04-14 15:04:29 [Error] [omni.ui.python] d:\omniverse\kit-extension-sample-airoomgenerator-main\kit-extension-sample-airoomgenerator-main\exts\omni.example.airoomgenerator\omni\example\airoomgenerator\window.py(157): _generate 2023-04-14 15:04:29 [Error] [omni.ui.python] d:\omniverse\kit-extension-sample-airoomgenerator-main\kit-extension-sample-airoomgenerator-main\exts\omni.example.airoomgenerator\omni\example\airoomgenerator\window.py(120): 2023-04-14 15:04:29 [Error] [omni.ui.python]

jakoaltrd commented 1 year ago

does anybody knows how to fix this error?

TTTRF commented 1 year ago

I have exactly the same problem as you, hope anyone has some idea to fix this.

hasalams commented 1 year ago

error: 2023-04-14 15:04:29 [Error] [omni.ui.python] ArgumentError: Python argument types in 2023-04-14 15:04:29 [Error] [omni.ui.python] None.GetPrimAtPath(Stage, NoneType) 2023-04-14 15:04:29 [Error] [omni.ui.python] did not match C++ signature: 2023-04-14 15:04:29 [Error] [omni.ui.python] GetPrimAtPath(class pxrInternal_v0_20pxrReserved::UsdStage {lvalue}, class pxrInternal_v0_20pxrReserved::SdfPath path) 2023-04-14 15:04:29 [Error] [omni.ui.python] 2023-04-14 15:04:29 [Error] [omni.ui.python] At: 2023-04-14 15:04:29 [Error] [omni.ui.python] d:\omniverse\kit-extension-sample-airoomgenerator-main\kit-extension-sample-airoomgenerator-main\exts\omni.example.airoomgenerator\omni\example\airoomgenerator\window.py(212): get_prim 2023-04-14 15:04:29 [Error] [omni.ui.python] d:\omniverse\kit-extension-sample-airoomgenerator-main\kit-extension-sample-airoomgenerator-main\exts\omni.example.airoomgenerator\omni\example\airoomgenerator\window.py(157): _generate 2023-04-14 15:04:29 [Error] [omni.ui.python] d:\omniverse\kit-extension-sample-airoomgenerator-main\kit-extension-sample-airoomgenerator-main\exts\omni.example.airoomgenerator\omni\example\airoomgenerator\window.py(120): 2023-04-14 15:04:29 [Error] [omni.ui.python]

I had the similar issue. I used NVIDIA create then this error did not occur.

marisancans commented 1 year ago

Getting the same issue on linux To fix it, make sure you create a floor first: image

rafism1997 commented 1 year ago

How to set the nucleus path here ?