Does H22 change how 456.py works?

   1877   11   3
User Avatar
Member
747 posts
Joined: 8月 2019
オフライン
I have both 123.py and 456.py under scripts/. In H21 both run, but in H22 only 123.py runs? Is something changed? The doc (https://www.sidefx.com/docs/houdini/hom/locations.html) still says 456.py is a thing.
User Avatar
Member
8 posts
Joined: 5月 2023
オフライン
I have had the same issue, did you make a bug report? I'm thinking I'll make one.
User Avatar
Member
6 posts
Joined: 12月 2014
オフライン
I heard from SideFX Support that this problem was solved in Houdini22.0.386.
User Avatar
Member
1 posts
Joined: 8月 2025
オフライン
I had the same issue, turned out the 456.py of the Labs was taking over.

Check if there is a file in here (for Windows), if so rename it and maybe copy its contents to your own file:

C:\Program Files\Side Effects Software\sidefx_packages\SideFXLabs22.0\scripts/456.py
User Avatar
Member
7 posts
Joined: 5月 2018
オフライン
akihito20x0
I heard from SideFX Support that this problem was solved in Houdini22.0.386.
No it doesn't
User Avatar
Member
6 posts
Joined: 12月 2014
オフライン
jim707jim707jim
akihito20x0
I heard from SideFX Support that this problem was solved in Houdini22.0.386.
No it doesn't

Oh. I reported a bug and received so from SideFX Support.
But I haven't tested it yet because I don't use daily builds.

If so, we should report the bug again.
User Avatar
Member
6 posts
Joined: 12月 2014
オフライン
It also doesn't work with 456.py in Houdini 22.0.429.
So I made a bug report again and it was submitted.
Edited by akihito20x0 - 2026年9月3日 13:33:58
User Avatar
Member
6 posts
Joined: 12月 2014
オフライン
I could figure it out.

If you have a package that has 456.py, your local 456.py is ignored.
And the latest production build of SideFX Labs have 456.py.

If you update it to the latest daily build that don't have 456.py, it works well with your 456.py.
User Avatar
Member
669 posts
Joined: 8月 2014
オフライン
akihito20x0
I could figure it out.
If you have a package that has 456.py, your local 456.py is ignored.
Can we control the order of loaded packages?
User Avatar
Member
6 posts
Joined: 12月 2014
オフライン
ajz3d
akihito20x0
I could figure it out.
If you have a package that has 456.py, your local 456.py is ignored.
Can we control the order of loaded packages?

What do you mean?
Do you have two or more packages that have 456.py?
User Avatar
Member
669 posts
Joined: 8月 2014
オフライン
akihito20x0
Do you have two or more packages that have 456.py?
No, but I was wondering about a scenario where two packages had the same file (in the same path of the package's directory structure), like 456.pyfor example. In other words - which package would overwrite such file belonging to another package. I checked the docs, and it turns out that by default, packages are processed in alphabetical order, but we can alter this order by manually inserting process_orderkeyword in JSON files of each package:

https://www.sidefx.com/docs/houdini/ref/plugins.html#package_order [www.sidefx.com]

So it's good to know that we have some means of resolving this kind of conflicts, which are silent, because we're not notified about which package overwrites the content from another package when it's loaded.
Edited by ajz3d - 2026年9月12日 14:31:11
User Avatar
Member
6 posts
Joined: 12月 2014
オフライン
ajz3d
akihito20x0
Do you have two or more packages that have 456.py?
No, but I was wondering about a scenario where two packages had the same file (in the same path of the package's directory structure), like 456.pyfor example. In other words - which package would overwrite such file belonging to another package. I checked the docs, and it turns out that by default packages are processed in alphabetical order, but we can alter this order by manually inserting process_orderkeyword in JSON files of each package:

https://www.sidefx.com/docs/houdini/ref/plugins.html#package_order [www.sidefx.com]

So it's good to know that we have some means of resolving this kind of conflicts, which are silent, because we're not notified about which package overwrites the content from another package when it's loaded.

I think the user 456.py is overwritten by packages, then packages usually should be designed not to have 456.py.
Houdini SideFX Labs 22 initially have 456.py. It is the bug. It hasn't had it before. And doesn't have it now.
Edited by akihito20x0 - 2026年9月12日 14:42:37
  • Quick Links