OTL Help and Icons Don't Work

   9255   5   1
User Avatar
Member
11 posts
Joined: March 2008
Offline
I finished up a digital asset mainly following the tutorial [sidefx.com], but when it comes to adding the help text and adding icons to the asset, things seem to differ from the video in Houdini 9.5. In 9.5 there isn't the icon folder noted in the video (or anywhere else it seems for those specific icons) and clicking on the help button of the asset gives me the below error. I was hoping to work it all out my self using the help pages, but alas! I can't seem to figure it out. Can someone point me in the right direction to get the help and icons working in asset (a VOP by the way) for Houdini 9.5?

URL: http://localhost:48626/nodes/vop/myAsset [localhost]
Module paste.evalexception.middleware:306 in respond
<<try:
__traceback_supplement__ = errormiddleware.Supplement, self, environ
app_iter = self.application(environ, detect_start_response)
try:
return_iter = list(app_iter)>> app_iter = self.application(environ, detect_start_response)
Module houdinihelp.wsgi:366 in dispatcher
<<#environ = path

return app(environ, start_response)

if static:>> return app(environ, start_response)
Module houdinihelp.wsgi:75 in wikiapp
<<sourcepage = provider

html_path = sourcepage.filepath + “.html”
if os.path.exists(html_path):
start_response(“200 OK”, )>> html_path = sourcepage.filepath + “.html”
AttributeError: ‘StringPage’ object has no attribute ‘filepath’
Edited by - Dec. 14, 2008 17:03:43
User Avatar
Member
2624 posts
Joined: Aug. 2006
Offline
I reported this not working some time ago. Fingers crossed its being worked on …..

Rob
Gone fishing
User Avatar
Member
11 posts
Joined: March 2008
Offline
Cool - I'm glad it's not just me!
User Avatar
Member
2624 posts
Joined: Aug. 2006
Offline
I will say though you can still inject your own icon for the otl.
Gone fishing
User Avatar
Member
320 posts
Joined: Aug. 2007
Offline
If you've embedded gif or jpg's in your asset you can display them in your help like this.

<td class=“o”><img src=“opdefObject/aw_envlight?colorbleed.gif” width=“13” height=“12”/></td>

You can also use images in CSS like this.

<style type=“text/css”>
.mid {
margin:0;
height:25px;
background-color:#FFF;
background: #FFF url(“opdefObject/aw_envlight?tl_middle.jpg”) repeat-x top left;
}
</style>


-Alan
www.alan-warren.com
User Avatar
Member
11 posts
Joined: March 2008
Offline
@circusmonkey
I figured that would still work - thanks for confirming. I suppose I didn't go that route since I don't think I could come up with a better icon than those available from Houdini

@Alanw
Thanks for the tip!
  • Quick Links