Adding apps to Houdini from github

Hello there,
I am new to working with Shotgun and have 0 coding experience I have been looking into Advanced Pipeline configuration and following the tutorial from Siggraf 2019 video on how to create and deploy the Bug report app hoping to learn how to integrate some of the goodies from GitHub other members of community posted. I managed to create my own sandbox and get Hello world with the empty app (it showed in my Houdini) I tried to do an analogous process of downloading code for the different app and I didnā€™t manage to integrate itā€¦

the above one worked for me:

And the below one is notā€¦

I am just probably missing something very basicā€¦ just have no ide what.

1 Like

Making progressā€¦

found this in logā€¦

2020-08-14 12:49:04,614 [14856 ERROR sgtk.env.asset_step.tk-houdini] App configuration Error for tk-houdini-arnoldnode (configured in environment ā€˜XXX\Workflow\shotgun\Anton Pipeline dev\env\asset_step.ymlā€™). It will not be loaded: Could not determine value for key ā€˜work_file_templateā€™ in settings! No specified value and no default value.

1 Like

Is that something to do with the fact that the multi app has no requriements in Configuration section of its info.yml and lets say the Arnold app has quite list of configurations?

1 Like

Ok little progress :D, tried to implement this one:

this time without errorsā€¦

like this: in (tk-houdini.yml)

the only thing is i canā€™t seem to figure out how to test it in Houdini since I am not sure how it worksā€¦

Moving onā€¦

1 Like

I tried next this one :smiley:

since its info.yml configurations are empty, looks like something i could handleā€¦

very simple by this time of the dayā€¦

and no errors from missing config which is awesome but this instead:

which seems like a new kind of animal.

Freaking success!!! I added my firs node into houdini.
I am not sure if i done it right but it was this one:

      tk-houdini-geometrynode:
  location:
    type: dev
    path: /Users/anton/development/tk-houdini-geometrynode
  work_file_template: houdini_asset_work
  default_node_name: sg_geometry_out
  output_profiles:
  - name: Asset Work Cache
    settings: {}
    color: []
    output_cache_template: houdini_asset_work_geo_cache
    output_cache_shared_template: houdini_asset_work_geo_cache
1 Like

I also had to edit the templates fileā€¦

1 Like

So the solution for implementing the shotgun app is:

  • create sandbox

  • download new app from git hub

  • point the target engine to the app

  • look at the info.yml and see if it needs configuration.

  • add configuration

  • periodically check the log for errors and solve one by one

  • once working repoint the config to git repo

  • submit the new config to git

  • upload new zip config file to shotgun

  • have a cold beer

This was a trip. I still dont know how to make these nice posts with code snippets but that is for next time.

1 Like

Hi Anton! Welcome to the forums and to Shotgun development!

Thanks so much for sharing your process with us ā€“ I think thisā€™ll be helpful for other people who are getting started with Shotgun dev. And good on you for digging through the logs to debug. They can be hard to read, but thereā€™s a lot of good info in there.

Was there anything in the SIGGRAPH demo that was inaccurate? We can at least note it in the description.

Iā€™ll mention a few useful docs:

And finally, Iā€™ll tag @mbrainerd and @nozongabriel in case their ears are burning. :blush:

Keep the good questions coming!

cheers! :beers:
-tannaz

1 Like

Hello Tannaz,

Thank you for all the helpful links, I can not seem to be able to open the first one. It says"You are not authorized to access this page." The second and third ones were great. I dug deeper on the second one and found an article: Adding an app which was very nice and also mentioned the setting in info.yml
The Siggraph demo from 2019 was spot on I managed to replicate it in a few minutes. It was just what I needed to find the confidence to try it. The absolute step by step made me feel: I can do ā€œthatā€. The fun started when I tried the same steps and used different appsā€¦ the leap to realize what was different about tk-multi-app and tk-houdini appā€¦
I know it is a small step for mankind but it was a huge leap for me. Also because it was my first time trying to add a new app to the pipeline configā€¦ I can imagine for a person who can code the whole app, merging it comes second nature. For me, it was the most lines of code I wrote in my life and it was yml so I donā€™t know if that counts at all. One thing you are not showing step by step is resolving the settings. I know that there are none needed for the app you are building in the Siggraph tutorial and mentioning it there could just confuse people moreā€¦ And in Adding an app it is mentioned but I was missing this ā€œcopy these three lines in here and point this template hereā€ bit settings for dummies partā€¦ I know I am attempting semi-advanced things with very little technical knowledgeā€¦

2 Likes

Hey @Anton_Corba ā€” can you give this link a try?

1 Like

This one works! Thanks

2 Likes