Sometimes it logs this during cooking:
Exception in thread Thread-2:
Traceback (most recent call last):
File “C:\Program Files\Side Effects Software\Houdini 18.0.391\python27\lib\threading.py”, line 801, in __bootstrap_inner
self.run()
File “C:/Program Files/Side Effects Software/Houdini 18.0.391/houdini/python2.7libs\houdinihelp\api.py”, line 593, in run
w.delete_by_term(“library_path”, kw)
File “C:/Program Files/Side Effects Software/Houdini 18.0.391/houdini/python2.7libs\whoosh\writing.py”, line 210, in __exit__
self.commit()
File “C:/Program Files/Side Effects Software/Houdini 18.0.391/houdini/python2.7libs\whoosh\writing.py”, line 930, in commit
self._close_segment()
File “C:/Program Files/Side Effects Software/Houdini 18.0.391/houdini/python2.7libs\whoosh\writing.py”, line 843, in _close_segment
self.perdocwriter.close()
File “C:/Program Files/Side Effects Software/Houdini 18.0.391/houdini/python2.7libs\whoosh\codec\whoosh3.py”, line 267, in close
self._cols.save_as_files(self._storage, self._column_filename)
File “C:/Program Files/Side Effects Software/Houdini 18.0.391/houdini/python2.7libs\whoosh\filedb\compound.py”, line 297, in save_as_files
for name, blocks in self._readback():
File “C:/Program Files/Side Effects Software/Houdini 18.0.391/houdini/python2.7libs\whoosh\filedb\compound.py”, line 279, in _readback
self._tempstorage.delete_file(self._tempname)
File “C:/Program Files/Side Effects Software/Houdini 18.0.391/houdini/python2.7libs\whoosh\filedb\filestore.py”, line 544, in delete_file
os.remove(self._fpath(name))
WindowsError: : ‘C:\\Users\\user\\Documents\\houdini18.0\\config\\Help\\index2.7\\MAIN.tmp\\ufmca3s6wvb5hopg4enxsx3wqqhb.ctmp’
But Houdini is not crashed and the result is right.
Found 159 posts.
Search results Show results as topic list.
PDG/TOPs » Exception in thread Thread-2
- EricSheng
- 159 posts
- Offline
PDG/TOPs » Cache mechanism per-workitem
- EricSheng
- 159 posts
- Offline
Ostapdelete the cache file manually or with script. PDG node will check the cache file before onPrepareTask(work_item)EricSheng
set pdg_cachemode to “Write File”
Maybe SideFX has a more elegant way?
Technical Discussion » Ref for rpyc version to 4.1.4
- EricSheng
- 159 posts
- Offline
The new version of rpyc is much more stable and easy to use than the builtin version (3.0.7)
Please consider to update it.
If I use PDG node to start a ThreadedServer on a new process(each work item holds a connection), and the server will be shut down. I've changed some code of the rpyc 4.1.4 to make it work with Houdini, and it works fine now.
Please consider to update it.
If I use PDG node to start a ThreadedServer on a new process(each work item holds a connection), and the server will be shut down. I've changed some code of the rpyc 4.1.4 to make it work with Houdini, and it works fine now.
Edited by EricSheng - 2020年4月8日 03:52:37
PDG/TOPs » Cache mechanism per-workitem
- EricSheng
- 159 posts
- Offline
PDG/TOPs » Can I using python API to work with Geometry Attribute?
- EricSheng
- 159 posts
- Offline
The Geometry Attribute feature can reduce the amount of file cache and make it runs faster for Top node, but how can I work with this attribute with Python node. Is it just for the Invoke node and the Geometry Import node?
Thank you.
Thank you.
PDG/TOPs » Merge Geometry
- EricSheng
- 159 posts
- Offline
Thank you for the example, but I wonder how to visualize SOP result geometry property in pure Top network. We can visualize geometry results with a file node and set the file path to `@pdg_result` but not work with geometry property.
Houdini Engine for Unreal » Houdini Engine for Unreal - Version 2
- EricSheng
- 159 posts
- Offline
PDG/TOPs » Difference between work item attribute and environment vars?
- EricSheng
- 159 posts
- Offline
Is there any advantage to create attributes with the Environment Edit node instead of using Attribute nodes? I can see a flag in the variables created by the Environment Edit node, any use with it?
PDG/TOPs » python processor vs. python script - execution time
- EricSheng
- 159 posts
- Offline
fabriciochamonThank you for the correction, I've edited the answer for convenient.
Eric, that's exactly what I need. thanks a lot for the reply!
A small correction: the argument name is “inProcess” and not “isInProcess”, for anybody else reading it.
thanks.
PDG/TOPs » python processor vs. python script - execution time
- EricSheng
- 159 posts
- Offline
As far as I understand, the Python Script node is just the onCookTask callback in the Python Processor node. You can set the file path onGenerate(set isInprocess=True inProcess=True to perform an in-process cook) and load it onCookTask.
Edited by EricSheng - 2020年3月15日 10:34:51
PDG/TOPs » Where is the new in-process scheduler's code?
- EricSheng
- 159 posts
- Offline
Under houdini/pdg/types/schedulers I can find many schedulers' implementation code, but no in-process scheduler. I wonder if it is implemented by C++?
Also, I can't find any code of the Geometry Import Top and the Invoke Top nodes.
Also, I can't find any code of the Geometry Import Top and the Invoke Top nodes.
PDG/TOPs » Can I cook a list of Top networks with another "Main" Top network?
- EricSheng
- 159 posts
- Offline
chrisgrebHi, Chris:
That's probably the best way. We do have an existing RFE to support in-process top fetches.
Thanks for your reply, I've made a node to do this but it'll crash Houdini instantly when it comes to complex node graphs. I guess I do it wrong, and it has many works to do than I thought.
PDG/TOPs » Can I cook a list of Top networks with another "Main" Top network?
- EricSheng
- 159 posts
- Offline
I want to cook several Top network one by one. Can I use another Top network to manage other Top networks?
Actually I've made a node to do this job, it works but I wonder is it the right way to do this or there's any better solution.
I know there's a Top Fetch node, but it run Hython background and I can't really see what's going on inside that Top network.
If you need the node I'm willing to share it, Thank you.
Actually I've made a node to do this job, it works but I wonder is it the right way to do this or there's any better solution.
I know there's a Top Fetch node, but it run Hython background and I can't really see what's going on inside that Top network.
If you need the node I'm willing to share it, Thank you.
Edited by EricSheng - 2020年3月2日 04:00:25
PDG/TOPs » What's new PDG/TOPs in Production Build 18.0.391
- EricSheng
- 159 posts
- Offline
In-Process Scheduler
Finally, great updates make it more robust for PDG.
Thank you, can't wait to update.
Finally, great updates make it more robust for PDG.
Thank you, can't wait to update.
PDG/TOPs » Load Geometry with Geometry Import node during cook
- EricSheng
- 159 posts
- Offline
Can I load primitives with Geometry Import node during cook?
I want to perform a static cook but limited by the Geometry Import node.
PDG/TOPs » How to visualize gemetry attribute in H18?
- EricSheng
- 159 posts
- Offline
Also, I realize, if I use geometry data in Geometry Import Top node, there's no “Merge Input Geometry” toggle. How can I merge the upstream work item's geometry with this feature?
PDG/TOPs » How to visualize gemetry attribute in H18?
- EricSheng
- 159 posts
- Offline
In H18, we can store geometry on PDG's work item. It's convenient for small tasks, but how to visualize the geometry? I create a file node as before with the file path set to `pdg_output`. It won't work as there's actually no such a file path exist.
Technical Discussion » Invalid Source while match HDA definition.
- EricSheng
- 159 posts
- Offline
It looks like multiparm block with ramp parameter is buggy in Houdini. Especially with compiled block will cause Houdini to crash instantly.
I've attached the hip file if someone interest.
I personally with go on use chramp() with VEX later, but hopefully, this problem may be fixed years later.
I've attached the hip file if someone interest.
I personally with go on use chramp() with VEX later, but hopefully, this problem may be fixed years later.
Edited by EricSheng - 2019年12月22日 20:23:45
Technical Discussion » Invalid Source while match HDA definition.
- EricSheng
- 159 posts
- Offline
I'm trying to link multi parm ramp to a for loop. all the other parameter is ok with detail(-1,“ivalue”,0) as the index except for the ramp parameter itself. It works well if I unlock the hda but raise errors(Invalid Source) when match the definition. It isn't the problem of permission and seems a bug of Houdini.
Technical Discussion » Multiple ramp parameter link inside Multiparm Block, how?
- EricSheng
- 159 posts
- Offline
I want to link the multiparm block parameters into a for loop. All the parameters are work well with chs(“../parm_”+detail(-1, “ivalue”, 0)) expression except for ramp.
Image Not Found
I've upload the hda, thank you.
Edited by EricSheng - 2019年12月17日 03:45:13
-
- Quick Links