zenustech / zeno_addon_wizard

quick start for developing zeno-based projects
MIT License
5 stars 1 forks source link

solved! FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'assets/sky_box' #2

Open pengguanjun opened 2 years ago

pengguanjun commented 2 years ago

from : ns = os.listdir('assets/sky_box') to : ns = os.listdir('C:/zeno/zeno_learn/external/zeno/assets/sky_box')

archibate commented 2 years ago

@zhouhang95, I believe we should bundle the assets into cpp, like qt resource files does, to prevent runtime path troubles.

无法顺畅的大口呼吸,是活着的最好证明

---原始邮件--- 发件人: @.> 发送时间: 2022年4月12日(周二) 凌晨0:25 收件人: @.>; 抄送: @.***>; 主题: [zenustech/zeno_addon_wizard] solved! FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'assets/sky_box' (Issue #2)

from : ns = os.listdir('assets/sky_box') to : ns = os.listdir('C:/zeno/zeno_learn/external/zeno/assets/sky_box')

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

zhouhang95 commented 2 years ago

1.他这个bug哪来的 为什么会找不到呢 2.rel2abs能不能解决这个问题 我看blender c4d 也没有把资源文件打包进软件啊

pengguanjun commented 2 years ago

@archibate , @zhouhang95 I fix it, refer to : https://github.com/zenustech/zeno/pull/372

zhouhang95 commented 2 years ago

懂了 这个人可能并没有从zeno根目录文件夹启动 然后就这样了

zhouhang95 commented 2 years ago

@archibate , @zhouhang95 I fix it, refer to : zenustech/zeno#372

感谢

pengguanjun commented 2 years ago

客气啦